rails g scaffold Error

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

引用
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

相关推荐

AllenYoung / 0评论 2014-07-04
jizhename / 0评论 2013-09-03