-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
In ruby_selector's Rbenv class it removes all .rbenv
directories out of the $PATH
and other environment variable cleansing. However, if there is no global system-installed rbenv
command, then this means that it can no longer find any rbenv command to run rbenv versions --bare
$ schema_dev bundle install
...
/home/.../.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/schema_dev-3.5.1/lib/schema_dev/ruby_selector.rb:41:in ``': No such file or directory - rbenv (Errno::ENOENT)
from /home/.../.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/schema_dev-3.5.1/lib/schema_dev/ruby_selector.rb:41:in `initialize'
from /home/.../.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/schema_dev-3.5.1/lib/schema_dev/ruby_selector.rb:8:in `new'
from /home/.../.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/schema_dev-3.5.1/lib/schema_dev/ruby_selector.rb:8:in `command'
...
The user-installed rbenv is:
$ which rbenv
~/.rbenv/bin/rbenv
$ rbenv --version
rbenv 0.4.0-190-gc30e096
$ rbenv versions --bare
1.9.3-p484
2.2.3
Metadata
Metadata
Assignees
Labels
No labels