[英]“Missing there required gems” even though they are installed
運行rake db:migrate
時出現此錯誤
Missing these required gems:
asf-soap-adapter
haml
will_paginate = 2.3.16
You're running:
ruby 1.9.2.290 at /home/flynn/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
rubygems 1.8.10 at /home/flynn/.rvm/gems/ruby-1.9.2-p290@rails_2.3.12, /home/flynn/.rvm/gems/ruby-1.9.2-p290@global
Run `rake gems:install` to install the missing gems.
我嘗試過rake gems:install
,並且確實安裝了它們,它們顯示在gem列表中,但是由於某些原因,仍然會出現此錯誤。 我在SO上看到了類似的問題,但是這些解決方案都不適合我。
謝謝!
確保bundle install
運行無誤。
問題是rubygems版本,降級到1.6.2 gem update --system 1.6.2
一切正常。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.