已经运行的标准程序安装RVM,也会安装红宝石1.9.3,然后耙,指南针,青菜,捆绑和保护安装的宝石,然后再加入我的宝石/ bin目录到我的路径我得到的运行罗盘以下信息:
/home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/dsl.rb:35:in `rescue in eval_gemfile': Gemfile syntax error: (Bundler::GemfileError)
gem "guard", "~> 1.0.1"
^
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/dsl.rb:32:in `eval_gemfile'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/dsl.rb:7:in from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/definition.rb:18:in `build'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler.rb:144:in `definition'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler.rb:112:in `setup'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler.rb:128:in `require'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/gems/compass-0.12.2/bin/compass:26:in `<top (required)>'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/bin/compass:19:in `load'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/bin/compass:19:in `<main>
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `eval'
from /home/m1ke/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `<main>'
所有的宝石都用标准的安装gem install compass
语法,我也跑gem update --system
更多信息!
- 同样的宝石作品在我的Windows安装精细,安装使用Windows RubyInstaller。
- 虽没有回答,我试图消除宝石和安装从红宝石罗盘包
apt-get
。 这工作得很好,但现在另一颗宝石(上不可用apt-get的)报告错误的来自两/home/m1ke/.rvm/gems/ruby-1.9.9-p362/
但也从/usr/share/ruby-1.9.1/
我以为北斗易于得到安装。 所以,现在我可以有两个版本的Ruby的战斗......