-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
LoadError: cannot load such file -- net/ssh after upgrading to fog-1.35.0 #3765
Comments
👍 |
Actually we just removed @geemus You think this might be happening because when you require the provider |
Yeah, this has been fixed on master, just need to follow up with a fog release I think/hope. |
I've just release v1.36.0, which should hopefully help here, sorry for the temporary pain. |
Thanks @geemus for the update. I just faced the same issue with fog '1.23.0' on c9.io 👍 |
@agnel glad to hear that helped. |
Thanks Wesley. :)
|
There's a bug in fog 1.34 and 1.35 where `net/ssh` wasn't removed properly [1] which is causing problems. Bumping the requirement to at least 1.36 fixes the issue. However bumping the version of fog causes our tests to fail with the error: ``` NameError: uninitialized constant Vcloud::Core::Logger # ./lib/vcloud/core.rb:31:in `logger' # ./spec/vcloud/core/config_loader_spec.rb:54:in `block (3 levels) in <top (required)>' ``` I'm not sure why this upgrade has caused that to break, but explicitly requiring the Logger class in that module fixes it. [1]: fog/fog#3765
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
This is the error message:
The
net-ssh
gem was a dependency offog-core
, but as I see that dependency has been removed in version1.33.0
.Adding
gem 'net-ssh'
to myGemfile
solves the problem, but I think this dependency should be infog
somewhere since I'm not using it in my application.Using ruby 2.2.3, Rails 4.2.5, carrierwave-0.10.0.
The text was updated successfully, but these errors were encountered: