mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Remove rubygems-bundler to address issues executing vagrant ruby
Executing the `vagrant` in the path was yielding an error: > Could not locate Gemfile or .bundle/ directory Traced it back to this gem making every ruby binary into a bundler shim
This commit is contained in:
parent
98385bd1c0
commit
9d553412ee
1 changed files with 6 additions and 2 deletions
|
|
@ -11,8 +11,12 @@ go version
|
|||
curl -sSL https://rvm.io/pkuczynski.asc | sudo gpg --import -
|
||||
curl -sSL https://get.rvm.io | bash -s stable
|
||||
source /usr/local/rvm/scripts/rvm
|
||||
rvm install ruby-2.7
|
||||
rvm --default use ruby-2.7
|
||||
rvm install ruby-2.7.2
|
||||
rvm --default use ruby-2.7.2
|
||||
|
||||
# Remove RVM's automatically installed bundler integration, which messes w/
|
||||
# Vagrant's ruby binary invocation
|
||||
gem uninstall -i /usr/local/rvm/rubies/ruby-2.7.2/lib/ruby/gems/2.7.0 rubygems-bundler
|
||||
|
||||
pushd /vagrant
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue