我正在尝试安装Solidus gem,它是spree的一个分支,在运行bundle install时,它显示了
Installing solidus_core 1.1.0
Gem::InstallError: solidus_core requires Ruby version >= 2.1.0.
An error occurred while installing solidus_core (1.1.0), and Bundler cannot
continue.即使我运行的是ruby版本2.2.3
ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]我在OS Capitan上使用rbenv来控制ruby版本。有没有ruby版本控制的问题或者其他问题?
发布于 2016-01-21 05:31:31
尝试在Gemfile中设置ruby '2.2.3',然后执行bundle install。
如果没有解析,请检查捆绑包路径,执行以下命令:
$ which bundle
/usr/bin/bundle # global
$ gem install bundler
$ bundle install --path vendor/bundlehttps://stackoverflow.com/questions/34909995
复制相似问题