rbenv
rbenv copied to clipboard
Bundler doesn't installed
There is bundler in default_gems, but I have got error "The program 'bundle' is currently not installed".
I have faced the same bug
There is stderr from ansible verbose output after install ruby 2.1.2
Downloading ruby-2.1.2.tar.gz...
http://dqw8nmjcqpjn7.cloudfront.net/f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635
Installing ruby-2.1.2...
Installed ruby-2.1.2 to /home/
Then I have changed the repo of rbenv-default-gems from sstephenson/rbenv-default-gems to my fork viatcheslavmogilevsky/rbenv-default-gems, where I made one change ( https://github.com/viatcheslavmogilevsky/rbenv-default-gems/commit/438e585f880bc66f9dc98f2447322caa7749cd64 ), and now bundler gem is successfully installed
@viatcheslavmogilevsky Do you plan to do PR in sstephenson/rbenv-default-gems ?
Not yet, I just commented this line in @sstephenson's commit where he issued 'rbenv-exec ...'.
I used https://github.com/viatcheslavmogilevsky/rbenv-default-gems/commit/438e585f880bc66f9dc98f2447322caa7749cd64 and it did the trick - @viatcheslavmogilevsky any plans to send a PR upstream?
@jakubpawlowicz for now I haven't plans for this
The same problem
Experiencing the same problem
The same problem
Same problem
@Kroid Role variable is not
- { name: "rbenv-default-gems",
repo: "https://github.com/rbenv/rbenv-default-gems.git",
version: "v1.0.0" }
but
- { name: "rbenv-default-gems",
repo: "https://github.com/rbenv/rbenv-default-gems.git",
version: "master" }
rbenv-default-gems v1.0.0 doesn't seems to be imported https://github.com/rbenv/rbenv-default-gems/commit/ead67889c91c53ad967f85f5a89d986fdb98f6fb.
So... this issue will be resolved very nice with https://bugs.ruby-lang.org/issues/12733 :trollface:
Using viatcheslavmogilevsky/rbenv-default-gems@438e585 didn't work for me. I had to add a task to install bundler.
https://stackoverflow.com/a/22121802/721065
- name: Install Bundler
command: bash -lc "gem install bundler"
become: yes
become_user: whatever_user