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

Bundler binstubs not always generated #65

Open
roback opened this issue Mar 7, 2022 · 0 comments
Open

Bundler binstubs not always generated #65

roback opened this issue Mar 7, 2022 · 0 comments
Labels

Comments

@roback
Copy link
Member

roback commented Mar 7, 2022

The fix we did in e099d55 fixed something, but I think it also broke another step of the deploy.

I tried deploying a new application and ran into #63. I added the workaround mentioned in that issue, but the deploy still failed.

Turns out the binstubs weren't generated, and in order to get them to generate I also had to add

set :bundle_binstubs, -> { shared_path.join('bin') }
set :bundle_check_before_install, false # From the issue mentioned above

to the config/deploy.rb file. This to ensure the --binstubs flag gets added to the bundle install command in capistrano-bundler in the followin place (It's linked in the above mentioned issue too).

@roback roback added the bug label Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant