在Ubuntu 11.10中,我是一个开心又无忧无虑的罗盘用户。我升级到12.04,并得到了这个问题:Compass (ruby) encoding error无法通过rvm安装指南针
我以某种方式设法解决它在我的一台电脑上通过rvm安装红宝石,但现在我得到另一个错误,在我的另一台计算机(它有相同的初始问题)。我安装红宝石和罗盘,并使用全球宝石为默认:
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)
但是当我尝试用指南针做任何事情,我得到这个错误:
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>'
感谢您的帮助。
'RubyGems的打捆-uninstaller'是解决那里:) – Cmorales
这是**指南针的错误**,我已经在这里固定它https://github.com/chriseppstein/compass/拉/ 894 - 等待它被合并,这只是暂时的解决方案。 – mpapis
确认运行'rubygems-bundler-uninstaller'也适用于我。 –