capistrano / capistrano/rbenv

Bundler executable not available

Open
#77 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
217
Forks
59
PR merge metrics
No merged PRs in 30d

Description

I'm having a problem with running bundler. The deploy completes `deploy:symlink:linked_dirs` and then fails on `bundler:install`:

```
01 RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.4.2 $HOME/.rbenv/bin/rbenv exec bundle install --path /home/ubuntu/rails//current/bin/bundle --without development test --deployment --quiet --binstubs
01 rbenv: bundle: command not found
```

I've tried installing it manually with `rbenv exec gem install bundler` and `rbenv rehash`, but the executable `bundle` does not appear.

`capistrano 3.10.0`
`capistrano-rbenv 2.1.3`
`capistrano-bundler 1.3.0`
`capistrano-rails 1.3.0`
`rails 4.2.10`
`rbenv 1.1.1`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the bundler:install deployment step and reproduce the failure with the listed Capistrano, capistrano-rbenv, capistrano-bundler, Rails, and rbenv versions. Check how the rbenv-managed Ruby exposes the bundle executable after installation and rehashing. Done means identifying a reproducible cause and confirming that deployment can complete the bundler:install step.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.