无法安装Rails 3.0进行Massive Record [英] Can not install rails 3.0 for Massive Record
问题描述
我正在尝试安装Rails 3.0以与 Massive Record Gem一起使用.但是,当我尝试安装时,gem rails -v 3.0.0已成功安装.但是,当我执行rails -v
时,它显示错误:
I am Trying to install rails 3.0 to use with Massive Record Gem. But when I am trying to install, the gem rails -v 3.0.0 is installed successfully. But, When I do rails -v
it shows error :
/home/mayukh/.rvm/gems/ruby-2.1.2@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:84:in
setup': undefined method
rubygems'for Bundler:模块 (NoMethodError)
/home/mayukh/.rvm/gems/ruby-2.1.2@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:84:in
setup': undefined method
rubygems' for Bundler:Module (NoMethodError)
请在下面找到 Ruby,Bundler详细信息和错误详细信息:
Please find the Ruby, Bundler details and error details below:
推荐答案
这是一个非常老的捆绑器版本,既不兼容ruby 2.1,也不兼容它随附的rubygems版本.
That's a really old bundler version that is compatible with neither ruby 2.1 not the version of rubygems that comes with it.
您还应该注意,不再维护rails 3.0.x
You should also be aware that rails 3.0.x is no longer maintained
这篇关于无法安装Rails 3.0进行Massive Record的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!