开发者

Trouble launching active_record

开发者 https://www.devze.com 2023-03-30 20:44 出处:网络
I\'m having a hard time launching active_record from my ruby script. I get : Unable to activate activemodel-3.0.9, because i18n-开发者_StackOverflow社区0.6.0 conflicts with i18n (~> 0.5.0) (Gem::Load

I'm having a hard time launching active_record from my ruby script. I get :

Unable to activate activemodel-3.0.9, because i18n-开发者_StackOverflow社区0.6.0 conflicts with i18n (~> 0.5.0) (Gem::LoadError)

I'm using RVM on ruby-1.9.2-p180


remove all versions of i18n. gem uninstall i18n

now write gem 'rails', '3.0.9' in your gemfile. Delete gemfile.lock

run bundle install

0

精彩评论

暂无评论...
验证码 换一张
取 消