【问题标题】:compass -v fails on CentOS using ruby 1.9.3 installed with rvmcompass -v 在 CentOS 上使用安装了 rvm 的 ruby​​ 1.9.3 失败
【发布时间】:2012-07-23 04:49:23
【问题描述】:

操作系统:Centos 5.8
Ruby 1.9.3 版(通过 RVM 安装)

罗盘 -v 的输出

/home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler/shared_helpers.rb:22:in `default_gemfile': Could not locate Gemfile (Bundler::GemfileNotFound)
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:213:in `default_gemfile'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:164:in `root'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:123:in `load'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:114:in `setup'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:119:in `require'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.13.alpha.0/bin/compass:25:in `<top (required)>'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/compass:19:in `load'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/compass:19:in `<main>'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'

宝石列表报告

bundler (1.1.5)
chunky_png (1.2.5)
compass (0.13.alpha.0)
fssm (0.2.9)
rake (0.9.2.2)
rubygems-bundler (1.0.3)
rvm (1.11.3.5)
sass (3.2.0.alpha.275, 3.1.20)

【问题讨论】:

  • 你有Gemfile$BUNDLE_GEMFILE 吗?
  • 我卸载了 ruby​​gems-bundler 并重新安装了 compass,它工作正常。

标签: ruby centos rvm sass compass-sass


【解决方案1】:

卸载 ruby​​gems-bundler 并重新安装指南针

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-02-22
    • 1970-01-01
    • 1970-01-01
    • 2012-02-21
    • 1970-01-01
    • 2015-05-01
    • 2013-10-31
    • 1970-01-01
    相关资源
    最近更新 更多