Skip to content

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

@brettrann

Description

@brettrann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions