宝石:没有安装ruby平台

时间:2012-12-05 20:54:54

标签: ruby ruby-on-rails-3 bundler gemfile

我的Gemfile在platforms :ruby块中指定了几个宝石,但是当我尝试在我的Linux服务器上安装捆绑包时,这些宝石没有安装。

有人能指导我吗?我正在尝试在我的Linux服务器上指定我想要的宝石而不是Windows。

platforms :ruby do
    gem 'execjs', '~> 1.4.0'
    gem 'therubyracer', '~> 0.10.1'

    unless RUBY_VERSION.to_f >= 1.9
        gem 'pre-johnson', '~> 2.0'
    end
end

当我运行bundle show therubyracer时,收到消息Could not find gem 'therubyracer' in the current bundle.

0 个答案:

没有答案
相关问题