0
將devise_invitable
添加到我的Gemfile
時,在執行bundle install
時出現此錯誤。Rails 3.1:Devise_invitable需要Rails 3.0.0?
$ bundle install
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "rails":
In Gemfile:
devise_invitable (~> 0.4.0) depends on
rails (~> 3.0.0)
rails (3.1.0)
或者如果你沒有在你的Gemfile中爲devise指定任何版本,只要做一個'bundle update devise' – dexter