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

alpine latest not working #2

Open
bruzos opened this issue Apr 12, 2018 · 4 comments
Open

alpine latest not working #2

bruzos opened this issue Apr 12, 2018 · 4 comments

Comments

@bruzos
Copy link

bruzos commented Apr 12, 2018

Hi I tried the latest version of the resource to do a capistrano deployment for a sinatra appa, and now it failing with a Error: 'Missing lib'

it works fixing the alpine to:
-FROM alpine:latests
to
+FROM alpine:3.6

@SHyx0rmZ
Copy link
Owner

Sorry, I completely missed the notification for the issue. Having a look at it now.

@SHyx0rmZ
Copy link
Owner

Could you maybe retry with the new Docker image? So far I can't seem to reproduce the issue after updating the image.

@bruzos
Copy link
Author

bruzos commented Apr 30, 2018

Here is the error log.

================================================
bundler: failed to load command: cap (/usr/bin/cap)
LoadError: cannot load such file -- etc
/usr/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh.rb:6:in require' /usr/lib/ruby/gems/2.5.0/gems/net-ssh-4.2.0/lib/net/ssh.rb:6:in <top (required)>'
/usr/lib/ruby/gems/2.5.0/gems/sshkit-1.16.0/lib/sshkit/backends/netssh.rb:4:in require' /usr/lib/ruby/gems/2.5.0/gems/sshkit-1.16.0/lib/sshkit/backends/netssh.rb:4:in <top (required)>'
/usr/lib/ruby/gems/2.5.0/gems/sshkit-1.16.0/lib/sshkit/all.rb:37:in require_relative' /usr/lib/ruby/gems/2.5.0/gems/sshkit-1.16.0/lib/sshkit/all.rb:37:in <top (required)>'
/usr/lib/ruby/gems/2.5.0/gems/sshkit-1.16.0/lib/sshkit.rb:26:in require_relative' /usr/lib/ruby/gems/2.5.0/gems/sshkit-1.16.0/lib/sshkit.rb:26:in <top (required)>'
/usr/lib/ruby/gems/2.5.0/gems/capistrano-3.10.1/lib/capistrano/all.rb:2:in require' /usr/lib/ruby/gems/2.5.0/gems/capistrano-3.10.1/lib/capistrano/all.rb:2:in <top (required)>'
/usr/lib/ruby/gems/2.5.0/gems/capistrano-3.10.1/bin/cap:2:in require' /usr/lib/ruby/gems/2.5.0/gems/capistrano-3.10.1/bin/cap:2:in <top (required)>'
/usr/bin/cap:23:in load' /usr/bin/cap:23:in <top (required)>'

@SHyx0rmZ
Copy link
Owner

SHyx0rmZ commented May 2, 2018

The Docker image now also installs ruby-etc, which contains the missing files. The latest image should resolve your problem.

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