You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reproduction steps: probably* run bundle update then deploy to heroku. you should see a net/ssh error, like bellow.
I did that manually by placing the Gemflie.lock from rubysherpas into my repo).
tl;dr - update fog to 1.36.0
When doing the first heroku deploy steps I got a net/ssh error.
using the correct Gemfile, but installing at different times to the book,
resulted in different version of numerous items in the Gemfile.lock
those version differences meant that On git push heroku master the following
deployment error occurred:
remote: Could not detect rake tasks
remote: ensure you can run $ bundle exec rake -P against your app with
no environment variables present
remote: and using the production group of your Gemfile.
remote: rake aborted!
remote: LoadError: cannot load such file -- net/ssh
remote:
/tmp/build_e9fe78a314ac8fb6d1bd3fd9b48ae6af/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
The text was updated successfully, but these errors were encountered:
brettrann
changed the title
heroku deploy failing with net/ssh error due to bundle update
fog 1.36.0 update needed for net/ssh heroku deploy error after bundle update
Jan 29, 2016
brettrann
changed the title
fog 1.36.0 update needed for net/ssh heroku deploy error after bundle update
13.4: fog 1.36.0 update needed for net/ssh heroku deploy error after bundle update
Jan 29, 2016
This makes me so sad, we do everything we can to lock down dependencies so that things like this don't happen, and then dependencies of those dependencies cause problems :(
Cheers for filing this - I'm in the middle of compiling an official errata list and while this isn't an errata in the book itself, it is a problem that we should address. :)
reproduction steps: probably* run bundle update then deploy to heroku. you should see a net/ssh error, like bellow.
tl;dr - update fog to 1.36.0
When doing the first heroku deploy steps I got a net/ssh error.
using the correct Gemfile, but installing at different times to the book,
resulted in different version of numerous items in the Gemfile.lock
those version differences meant that On git push heroku master the following
deployment error occurred:
remote: Could not detect rake tasks
remote: ensure you can run
$ bundle exec rake -P
against your app withno environment variables present
remote: and using the production group of your Gemfile.
remote: rake aborted!
remote: LoadError: cannot load such file -- net/ssh
remote:
/tmp/build_e9fe78a314ac8fb6d1bd3fd9b48ae6af/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
fog/fog#3765
noted net-ssh was removed because of compatability errors, and is fixed in fog 1.36.0
commit where i fixed it:
brettrann/rails4inaction-ticketee@bd16e9e
Commit with difference in Gemfile.lock versus mine, and the one from the rubysherpas checkout at that step:
brettrann/rails4inaction-ticketee@f6b426c
The text was updated successfully, but these errors were encountered: