What's making my rake task source different libraries?

时间:2015-07-29 00:01:50

标签: ruby-on-rails rspec rake rvm

When I'm on com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of ...Status from String value 'ready': value not one of declared Enum instance names: ... and I run master from command line Rake executes the following command:

rake

However, if I switch to another branch and run $ rake /Users/meltemi/.rvm/rubies/ruby-2.1.4/bin/ruby -S rspec ./spec/models/factories_spec.rb I get:

rake

Why has $ rake /Users/meltemi/.rvm/rubies/ruby-2.1.4/bin/ruby -I/Users/meltemi/.rvm/gems/ruby-2.1.4@myapp/gems/rspec-core-3.3.2/lib:/Users/meltemi/.rvm/gems/ruby-2.1.4@myapp/gems/rspec-support-3.3.0/lib /Users/meltemi/.rvm/gems/ruby-2.1.4@myapp/gems/rspec-core-3.3.2/exe/rspec ./spec/models/factories_spec.rb in the first example been replaced with -S?

RVM is my Ruby manager...

0 个答案:

没有答案