Ero un utente felice e privo di preoccupazioni della bussola in Ubuntu 11.10. Ho aggiornato a 12.04 e ho avuto questo problema: Compass (ruby) encoding errorImpossibile installare la bussola tramite rvm
Sono riuscito in qualche modo a risolverlo installando ruby tramite rvm su uno dei miei computer, ma ora ho un errore diverso nel mio altro computer (che aveva lo stesso problema iniziale). I installare Ruby e bussola e uso il GemSET globale come predefinito:
gem list
*** LOCAL GEMS ***
bundler (1.1.3)
chunky_png (1.2.5)
compass (0.12.1)
fssm (0.2.9)
rake (0.9.2.2)
rubygems-bundler (1.0.0)
rvm (1.11.3.3)
sass (3.1.18)
Ma quando provo a fare qualcosa con la bussola, ottengo questo errore:
compass
/home/mrpotato/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler/shared_helpers.rb:22:in `default_gemfile': Could not locate Gemfile (Bundler::GemfileNotFound)
from /home/mrpotato/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:213:in `default_gemfile'
from /home/mrpotato/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:164:in `root'
from /home/mrpotato/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:123:in `load'
from /home/mrpotato/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:114:in `setup'
from /home/mrpotato/.rvm/gems/[email protected]/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
from /home/mrpotato/.rvm/gems/[email protected]/gems/compass-0.12.1/bin/compass:25:in `<top (required)>'
from /home/mrpotato/.rvm/gems/[email protected]/bin/compass:19:in `load'
from /home/mrpotato/.rvm/gems/[email protected]/bin/compass:19:in `<main>'
from /home/mrpotato/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in `eval'
from /home/mrpotato/.rvm/gems/[email protected]/bin/ruby_noexec_wrapper:14:in `<main>'
Grazie per il vostro aiuto.
'rubygems-Bundler-uninstaller' era la soluzione c'è :) – Cmorales
questo un bug in ** ** bussola, ho fissato qui https://github.com/chriseppstein/compass/ pull/894 - in attesa che venga unito, questa è solo una soluzione temporanea. – mpapis
Confermando che l'esecuzione di 'rubygems-bundler-uninstaller' ha funzionato anche per me. –