0

i am using rvm and my default ruby is the latest Ruby , but i want to swith ruby version to 2.3.8 and after i run rvm use ruby2.3.8 and i want to run bundle install it said bundle not found, and then i tried to install bundle gem install bundler then error i got is:

ERROR:  Loading command: update (LoadError)
        cannot load such file -- openssl
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

i already re install rvm and read some question about that error on this SO to get openssll ( my openssl already installed by brew ) such this question

is there any way to solve this?

jhgju77
  • 1,021
  • 1
  • 6
  • 14
  • Did you install 2.3.8 recently or is it possible that you installed 2.3.8 some time ago and in the meantime updated openssl? Afaik openssl needs to be installed before installing a Ruby version. – spickermann Mar 26 '20 at 08:55
  • install recenly and i already downgrade bundle to version 3.0.6 also – jhgju77 Mar 26 '20 at 09:20

0 Answers0