$ rbenv exec <your_command_here>
# E.g.
$ rbenv exec gem install bundler
$ rbenv exec bundle installThe only adjustments is adding the flag --auto-dotfiles.
$ curl -L get.rvm.io | bash -s stable --auto-dotfiles
$ source ~/.bash_profileThere is issue when running rvm install:
Run this first:
$ rvm pkg install openssl
# $ rvm reinstall 2.6.5 --with-openssl-dir=/home/$(whoami)/.rvm/usr
# $ rvm reinstall 2.6.5 --with-openssl-dir=/usr/lib/ssl
$ rvm reinstall 2.6.5 --with-openssl-dir=/opt/openssl-1.1.1qThen run this (see issue):
$ RUBY_CFLAGS=-DUSE_FFI_CLOSURE_ALLOC rvm install 2.6.5$ bundle exec rspec ./path/to/spec.rb