rvm can no longer install 1.8.7-p352 on Mac OS X Mountain Lion
it is problem in detecting tcl/tk by ruby 1.8.7, the solution is to disable it:
rvm reinstall 1.8.7 --without-tcl --without-tk
the other solution when tcl/tk is needed: https://stackoverflow.com/a/11666019/497756 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. Getting Ruby 1.8.7 installed on Mountain Lion (10.8)
I just figured it out! Please reference this question on SO
rvm can no longer install 1.8.7-p352 on Mac OS X Mountain Lion
rvm reinstall 1.8.7 --without-tcl --without-tk
Alternatively, try this installation order if you have Homebrew.brew install tcl-tk
rvm reinstall 1.8.7
Can't install ruby 1.8.7 on Mac 10.8 via RVM
Ok, I found the solution.
- Remove Xcode.
- From here I downloaded the package for Mountain Lion.
- Install downloaded osx-gcc-installer.
- Install Xcode (and command-line tools).
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. Trying to Install RVM 1.8.7
If you don't have rvm
on your system, then follow the instructions here: Installing RVM. Basically, you have to download a shell script that will does the job for you (fetch the latest release and install it). Then, just add
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
in your .profile
, .bash_profile
, or whatever you use. Ruby not compiling on mountain lion
From my experience, the best way to avoid any problems with that is
osx-gcc-installer
How can I install Maglev with rvm on Mac OS X Lion?
You need to do "rvm get head" first; I can see it was looking for MagLev-26852.Darwin-i386.tar.gz, which was for an older version both of MagLev and of RVM.
I'd do an "rvm remove maglev; rvm install maglev" It shouldn't take more than a few minutes then to build once it's downloaded.
JRuby stops installing mid-process via RVM
this is proper flow, everything worked as expected, it did not stopped half way - it finished successfully.
Related Topics
Error While Starting Puma Server with Workers
Accessing Microsoft Exchange Server from Ruby
How to Downgrade My Rails Version
What Hash Function Does Ruby Use
Using Ruby with Mechanize to Log into a Website
Obtaining Number of Block Parameters
What's an Example of Ruby Code That's "Too Clever"
How to Print a Multi-Dimensional Array in Ruby
Ruby How to Generate a Tree Structure Form Array
Rails How to Tell If a Sidekiq Worker Is Done with Perform_Async
Ruby: Is It Acceptable to Put More Than One Class in a File
Include Module in All Minitest Tests Like in Rspec
Remove Adjacent Identical Elements in a Ruby Array
Static Page Routing in Sinatra (Ruby)
How to Validate Overlapping Times in Rails with Postgresql