加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby – 指南针宝石投掷错误

发布时间:2020-12-17 03:54:00 所属栏目:百科 来源:网络整理
导读:我正在尝试使用Compass amp;萨斯.我已经安装了三个版本的 ruby(1.9.1,1.9.2,1.9.3)的指南针宝石,每次我得到同样的错误: martin@crunchbang:~$compass/home/martin/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/shared_helpers.rb:22:i
我正在尝试使用Compass& amp;萨斯.我已经安装了三个版本的 ruby(1.9.1,1.9.2,1.9.3)的指南针宝石,每次我得到同样的错误:

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

我该如何解决这个问题?

任何帮助深表感谢.

解决方法

我找到了答案 here,指南针宝石和新版本的捆绑包似乎存在某种问题.

要解决刚刚运行:

rubygems-bundler-uninstaller

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读