I have this configuration in my gemfile:
group :test do # ... gem "shoulda-matchers", :git => "git://github.com/watu/shoulda-matchers.git", :branch => "do_not_load_minitest" end
which works fine locally, but when I click on Heroku, when I try to run rake db: migrate, I get this error:
git: //github.com/watu/shoulda-matchers.git (at do_not_load_minitest) is not checked. Run bundle install
In fact, I do not see it in the fact that the output of installing the package is performed on Heroku, maybe because it is in the test group and Heroku does not install the test group. But then, why does he complain when I run rake db: migrate? if it starts in env mode?
I tried switching to http url and all I have is the same error with a different url:
https://github.com/watu/shoulda-matchers.git (at do_not_load_minitest) not verified. Run bundle install
Moving the line outside the test group made the problem harder. What is the right solution?
source share