我正在使用jruby 1.7.2并设置一个新的rails应用程序。 Bundler似乎无法找到必要的(基于java / jruby的宝石):
> bundle
Could not find gem 'neo4j-core (>= 0) ruby' in the gems available on this machine.
如果我指定路径,我会得到:
> bundle
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Could not find gem 'neo4j-core (>= 0) ruby' in source at ./vendor/gems/neo4j-core.
Source contains 'neo4j-core' at: 2.0.1
也许捆绑者对它的平台感到困惑 - 为什么它会在那里加上ruby
这个词呢?我跑了ruby -e "puts RUBY_PLATFORM"
,它给了我:java