rails g scaffold Error
railsgscaffold
Error:root/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/bundler-1.9.8/lib/bundler/runtime.rb:34:in`blockinsetup':Youhavealreadyactivatedspring1.3.6,butyourGemfilerequiresspring1.3.4.Prepending`bundleexec`toyourcommandmaysolvethis.(Gem::LoadError)
引用
Fix :
1.springstop
2.bundleupdate
Or
http://yehudakatz.com/2011/05/30/gem-versioning-and-bundler-doing-it-right/
Reference:http://stackoverflow.com/questions/29203272/couldnt-run-migration-after-spring-update-in-rails
相关推荐
wl00 2020-10-28
EricNet 2020-07-05
EricNet 2020-05-27
何志文 2020-05-11
JOO 2020-04-26
happyfreeangel 2020-04-09
Poisedflw 2020-03-23
yangliuhbhd 2020-03-06
Ben的程序员生涯 2013-06-01
chenshuixian 2013-06-01
wes0 2014-05-31
mrice00 2019-12-20
EricNet 2019-12-11
89304896 2019-12-08
lihaoningxia 2013-07-09
userguanguan 2015-03-16