OpenSSL error installing ruby 2.0.0-p195 on Mac with rbenv
Try adding OpenSSL to the config options using the --with-openssl-dir option:
$ CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" rbenv install 2.0.0-p195
If you're using Homebrew, you'll need to install OpenSSL before running the above by running:$ brew install openssl
UPDATE (see @JarkkoLaine 's comment below):Just for the record, you should not need to use the config opts
anymore with ruby-build and homebrew. However, I had to reinstall
openssl with homebrew to make it work: brew uninstall openssl; brew
upgrade; brew install openssl; rbenv install 2.0.0-p247. See this for
more info.
Having trouble installing any ruby 1.9.x (with rbenv) on mac osx due to psych YAML parse errors
I've seen errors like this when I had a YAML syntax error in my .gemrc or .irbrc.
Check / remove them and try again.
rbenv install 2.6.1 FAILED on Mac OS Mojave 10.14.3
The error which prevents the build from successful finish is:
/anaconda3/bin/x86_64-apple-darwin13.4.0-ar: illegal option -- n
usage: ar -d [-TLsv] archive file ...
So you are using the acanconda's archiver instead of the macOS provided one. In order to fix this you need to switch to the macOS provided compilation tools.You can do this by removing acanconda from your PATH
and reload your terminal.
I'm not sure about the exact steps, but I think this should work:
- Go to your
/home/<user>/.bashrc
file, remove anaconda from the PATH, save the file - Reload your terminal (by restarting it or executing
source ~/.bashrc
) rbenv install 2.1.6
Mountain Lion rvm install 1.8.7 x11 error
Try to install X11 via http://xquartz.macosforge.org/landing/ set the correct path to the X11 library for the compiler with:
export CPPFLAGS=-I/opt/X11/include
then try to reinstall ruby, passing to the compiler where gcc-4.2 is:CC=/usr/local/bin/gcc-4.2 rvm reinstall 1.8.7
Without CC
I got a lot of segmentation faults.
Related Topics
How to Remove Backslashes from a JSON String
Filtering Sensitive Data with Vcr
Error While Starting Puma Server with Workers
How to Handle 404 Errors with Ruby Http::Net
Issue Installing Gems on Windows 7 with Proxy
Need Help Installing Ruby 2.7.2 on Mac
Cucumber Embed for Screenshots Not Linking to Screenshot
How to (Massively) Reduce The Number of SQL Queries in Rails App
How to Set in a Middleware a Variable Accessible in All My Application
Accessing Microsoft Exchange Server from Ruby
If I Have a Stripe Token from a Charge, How to Get Its Charge Id