Can't install ruby 2.6.6 via rvm, error running '__rvm_make -10' on macbook pro m1
rvm install 2.6.6 --with-out-ext=fiddle
worked for me
Unable to install any ruby version using rvm in Mac catalina 10.15.2
Based on your PATH
, it looks like you're trying to build Ruby 2.3.x with OpenSSL 1.1, which is not compatible with Rubies < 2.4.x. I suspect that RVM would be happy to build the latest Ruby version, though you should confirm this given the title says "any" Ruby version. If there's an issue with that, then check the logs and see if the failure is similar or for a different reason.
I'd suggest getting the latest Ruby to build as a way to rule out other factors, then deal with the SSL version problem for your 2.3 install.
See Installing ruby-2.1.2: Cannot load such file -- openssl (LoadError) among other recent questions about Ruby and OpenSSL 1.1
Error installing any ruby version with RVM on OSX
I ran into the same issue, you need to manually install all the required packages using Brew. For me I had to run the following installs:
brew install autoconf
brew install automake
brew install libtool
brew install apple-gcc42
brew install libyaml
brew install libxslt
brew install libksba
brew install openssl
You just need to keep running "rvm requirements" and reading the log and installing the packages needed until there are no more errors.
Error when trying to install Ruby 3.0.0 through RVM
Try doing it using homebrew by running 'brew upgrade ruby'. That should upgrade it to the latest Ruby version.
Error when installing Ruby 2.1.3 with RVM
I had the same problem
rvm reinstall 2.1.3 --disable-binary
worked for me
(based on Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error).
Error installing Ruby on a Mac using RVM
First, you'll need to install the Apple Developers Toolkit (XCode
) from the Mac App Store (it's free)
Once that's installed, you'll need to install the CLI command line utilities by running:
xcode-select --install
Then try your install again, and it should work for you.
Additionally, you may want to install the latest version of Ruby, which at the time of this writing is 2.1.0
(via rvm install 2.1.0
)
Finally, if you haven't already, I would recommend installing homebrew
as well, as this has the added benefit of checking your runtime environment for errors (via brew doctor
). You can find instructions here: http://brew.sh/
Good luck!
Related Topics
Sorting: Sort Array Based on Multiple Conditions in Ruby
How to Introspect Things in Ruby
How to Reflect in the Database a New Belongs_To and Has_Many Relationship in Ruby on Rails
Can't Convert Fixnum to String During Rake Db:Create
How to Specify Post Params in a Rails Test
Cucumber Not Showing Coloured Output in Windows
How to Get a List of All Tags While Using the Gem 'Acts-As-Taggable-On' in Rails (Not the Counts)
How to Convert an Existing Rails 3 Application into an Engine
Generating Unique Token on the Fly with Rails
How to Render a Partial in Sinatra View (Haml in Haml)
Deleting Table from Schema - Rails
How to Read a Barcode from an Image
Multiple Robots.Txt for Subdomains in Rails
Run Ruby Script in the Background