`bin_path': can't find gem spring (>= 0.a) (Gem::GemNotFoundException)

Rename Model refactor.

/Users/shingo/.rvm/rubies/ruby-2.3.3/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /MyProject/vendor/bundle/ruby/2.3.0/bin/spring rails generate migration renameMenuOptionToMenuOptionItem -s

/Users/shingo/.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem spring (>= 0.a) (Gem::GemNotFoundException)
from /MyProject/vendor/bundle/ruby/2.3.0/bin/spring:22:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'

Process finished with exit code 1

 

Why Use `spring` for generate??

Only use

bin/rails generate migration renameMenuOptionToMenuOptionItem

is OK?

 

How to set up RubyMine migration?

1 comment
Comment actions Permalink

Hello,

sorry for the delay. You can turn Spring off by going to Help | Find Action | Spring pre-loader.

0

Please sign in to leave a comment.