操作系统:Mint Linux 11 64位
关于Ruby,我一无所知,我只想要Compass。
我已安装了rvm和ruby 1.9.3,并设置默认的ruby。
$ rvm list
rvm rubies
=* ruby-1.9.3-p125 [ x86_64 ]
# => - current
# =* - current && default
# * - default
我已经通过gem安装了Compass。
$ gem list
*** LOCAL GEMS ***
bundler (1.1.3)
chunky_png (1.2.5)
compass (0.12.1)
fssm (0.2.8.1)
rake (0.9.2)
rubygems-bundler (0.2.8)
sass (3.1.15)
但是我无法运行compass,因为gem/bin不在$PATH中。
我将其添加到$PATH并再次运行compass:
$ compass
/home/il/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find compass (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4] (Gem::LoadError)
from /home/il/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /home/il/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems.rb:1230:in `gem'
from /home/il/.rvm/gems/ruby-1.9.3-p125/bin/compass:18:in `<main>'
有人可以帮忙吗?