这有点奇怪.无论何时我进行捆绑安装,Bundler都会将所有宝石安装到路径#{RAILS_ROOT} /json_pure/ruby/1.8/gems.我直接从另一个完美运行的应用程序复制了Gemfile,我认为我没有修改任何其他配置.有什么想法可以在这里发生什么?
不确定它是否有帮助,但我的Gemfile.lock如下:
GEM
remote: http://rubygems.org/
specs:
GData (0.0.4)
builder (>= 2.1.2)
hoe (>= 1.2.1)
abstract (1.0.0)
actionmailer (3.0.0.rc)
actionpack (= 3.0.0.rc)
mail (~> 2.2.5)
actionpack (3.0.0.rc)
activemodel (= 3.0.0.rc)
activesupport (= 3.0.0.rc)
builder (~> 2.1.2)
erubis (~> 2.6.6)
i18n (~> 0.4.1)
rack (~> 1.2.1)
rack-mount (~> 0.6.9)
rack-test (~> 0.5.4)
tzinfo (~> 0.3.22)
activemodel (3.0.0.rc)
activesupport (= 3.0.0.rc)
builder (~> 2.1.2)
i18n (~> 0.4.1)
activerecord (3.0.0.rc)
activemodel (= 3.0.0.rc)
activesupport (= 3.0.0.rc)
arel (~> 0.4.0)
tzinfo (~> 0.3.22)
activeresource …Run Code Online (Sandbox Code Playgroud)