蓝色未来 2015-05-19
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)
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