I have a rails application running rails 3.0.20 and ruby 1.8.7 i want to upgrade to 1.9.3. the stages i toke in order to start the process are so:
我有一个rails应用程序运行rails 3.0.20和ruby 1.8.7我想升级到1.9.3。为了启动这个过程,我想要的各个阶段是这样的:
rvm user ruby-1.9.3
rvm gemset create upgradegems
rvm use ruby-1.9.3@upgradegems
now... i ran bundle. and i have a conflict with the twitter gem and the omniauth gem so i updated them both. then ran bundle again and it succeeded
现在......我跑了捆绑。我与twitter gem和omniauth gem有冲突,所以我更新了它们。然后再次运行捆绑,它成功了
now what?.. i tried running
现在怎么样?我试着跑步
rails s
and i got this error:
我收到了这个错误:
ruby-1.9.3-p194@amazonto/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:206:in `const_missing_from_s3_library': uninitialized constant Gattica::Auth::VERSION (NameError)
what am i doing wrong? and how do i fix? thanks
我究竟做错了什么?我该如何解决?谢谢
1 个解决方案
#1
3
Its not really your code, but its the library you are using Gattica, it wasn't updated for three years, try to put this on your Gemfile
它不是你的代码,但它是你使用Gattica的库,它没有更新三年,试着把它放在你的Gemfile上
gem "gattica", :git => "https://github.com/chrisle/gattica.git"
That's a fork that works great with ruby 1.9.x
这是一个与ruby 1.9.x配合得很好的分支
#1
3
Its not really your code, but its the library you are using Gattica, it wasn't updated for three years, try to put this on your Gemfile
它不是你的代码,但它是你使用Gattica的库,它没有更新三年,试着把它放在你的Gemfile上
gem "gattica", :git => "https://github.com/chrisle/gattica.git"
That's a fork that works great with ruby 1.9.x
这是一个与ruby 1.9.x配合得很好的分支