Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13.4: fog 1.36.0 update needed for net/ssh heroku deploy error after bundle update #25

Open
brettrann opened this issue Jan 29, 2016 · 1 comment

Comments

@brettrann
Copy link

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'

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

@brettrann 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 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
@sevenseacat
Copy link
Member

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. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants