1.0.1)(Gem:" />

亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Rails 2.3.5 gem update (dependency errors fi

系統 1554 0
I recently updated my rails gem and realised i was getting errors trying to create new rails projects in 2.3.5, below is the error i was getting.

??? /Library/Ruby/Site/1.8/rubygems.rb:827:in `report_activate_error’: RubyGem version error: rack(1.0.0 not ~> 1.0.1) (Gem::LoadError)
??? from /Library/Ruby/Site/1.8/rubygems.rb:261:in `activate’
??? from /Library/Ruby/Site/1.8/rubygems.rb:68:in `gem’
??? from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller.rb:34
??? from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require’
??? from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require’
??? from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require’
??? from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in’
??? from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require’
??? from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:2
??? from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require’
??? from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require’
??? from ./script/server:3

??? /Library/Ruby/Site/1.8/rubygems.rb:827:in `report_activate_error’: RubyGem version error: rack(1.0.0 not ~> 1.0.1) (Gem::LoadError) from /Library/Ruby/Site/1.8/rubygems.rb:261:in `activate’ from /Library/Ruby/Site/1.8/rubygems.rb:68:in `gem’ from /Library/Ruby/Gems/1.8/gems/actionpack-2.3.5/lib/action_controller.rb:34 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require’ from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require’ from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require’ from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in’ from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require’ from /Library/Ruby/Gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:2 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require’ from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require’ from ./script/server:3

I went through a few debug modes checked but came up with no lasting solution. I finally checked for my installed gems “sudo gem list” and realised i had “Rack 1.0.0″ installed and I upgraded my rack version with the command “sudo gem update rack” I rechecked my gem list and realised i now i had Rack 1.0.0 and Rack 1.1.0 installed. Great! right? tried to launch my project again and I saw the same errors again, Uhh! Took another closer look again a realised somehow it depended more or less on Rack 1.0.1 which has been skipped by the update to the lastest version of Rack. So this meant we have to install that particular version of rack. I used the following command

??? sudo gem install -v=1.0.1 rack

Rechecked my rack verisons and now I had all three verisons, tried my project again and behold Rails was booting nicely

Rails 2.3.5 gem update (dependency errors fixed)


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 天天干天天谢 | 888午夜不卡理论久久 | 99国产精品一区二区 | 欧美成人天天综合天天在线 | 国产性色视频 | 亚洲精品久久婷婷爱久久婷婷 | 99热免费在线 | 国产在线91区精品 | 日本在线一卡二卡毛片 | 亚洲午夜在线观看 | 久久久综合九色合综国产 | 香蕉视频在线观看男女 | 91在线欧美 | 免费一级在线 | 国产在线精品成人一区二区三区 | 99国产小视频 | 99精品国产高清一区二区麻豆 | 国产精品青草久久久久婷婷 | 91日韩视频在线观看 | 9966久久精品免费看国产 | 成人a大片高清在线观看 | 欧美一级高清片在线 | 91视频精品| 久久国产a | 热久久免费视频 | 亚洲欧美日产综合一区二区三区 | 看全色黄大色大片免费久黄久 | 免费在线不卡视频 | 九一毛片| 色偷偷在线刺激免费视频 | 久久久久国产精品 | 性一交一乱一视频免费看 | 婷婷免费视频 | 一日本道加勒比高清一二三 | 久久久国产成人精品 | 99热在 | 老司机免费福利视频无毒午夜 | 狠狠色噜噜狠狠狠狠2018 | 亚洲一区二区三区高清视频 | 欧美日韩一区二区高清免费视频 | 日本高清视频www夜色资源 |