Error installing ruby-1.9.3-p547 with RVM on osx 10.9.3
Was running in to the same issue. Just ran these commands sorted everything out...
$ xcode-select --install
- this seems to be the key.
$ rvm cleanup all
- may need to run sudo
on this one.
$ rvm get latest
$ rvm install ruby-1.9.3
- with whatever patch.
Hope this works for you!
Trouble installing ruby 1.9.3 because of a configuration issue
First goal should be to get the app back up running.
Therefore I would suggest to reset your app's configuration to the last working stand.
If this is not possible, please install ruby using rvm with the --with-gg=clang-option like this:
rvm install 1.9.3 --with-gcc=clang
Then use the installed ruby version by listing all installed rubies (running rvm list
) and choosing the 1.9.3 version provided (e.g. 1.9.3-p448) with the following command:
rvm --default use 1.9.3-p484
Please update your Gemfile with the ruby '1.9.3-p484'
line and make sure, you're in the login shell (to change to it, use /bin/bash --login
). After that your rvm commands should work again.
error installing ruby 1.9.3 on linux server
I think your issue is that, since RVM is trying to compile ruby with the command __rvm_make -j48
(which tells the compiler to try to parallelize the compilation across 48 different jobs), your host system is running out of space to do so. Before I get to a possible solution, here are some high-level thoughts:
Production systems generally shouldn't be compiling their own Ruby versions. Instead, ship the compiled binaries to the node (e.g., as a Debian package) and don't even install RVM.
rvm
does a lot of magic to try and hide the details of what its doing from the end-user, but in my experience that's more trouble than it's worth. Use chruby or rbenv and build Ruby only when you need to.
Anyway, for your current issue, I think your best bet is to try to override the -j
flag to a smaller value. There are a few methods, but first try this:
rvm install 1.9.3 -j 1 # from http://cheat.errtheblog.com/s/rvm
If that doesn't help, double-check that the -j
argument in __rvm_make -j 48
actually changed to 1 in the log. If it did, try a smaller number. If it didn't, then try this:
MAKEFLAGS=-j1 rvm install ruby-1.9.3 # from https://twitter.com/avdi/status/130720270733410305
Hopefully one of those works!
Having problems installing ruby 1.9.3
This cleared for me after I ran xcode-select --install
. Prior to that I also ran rvm get head
which may have contributed (but didn't fix the problem by itself.)
Error while installing ruby ruby-1.9.3-p551
Try this:
rvm install 1.9.3 --with-gcc=clang
Reference: https://stackoverflow.com/a/14072970/5515449
error while installing ruby 1.9.3 using rvm
you are using version of RVM broken by packaging for Ubuntu, use this answer to fix: https://stackoverflow.com/a/9056395/497756
Related Topics
How to Share Worker Among Two Different Applications on Heroku
Implicit Argument Passing of Super from Method Defined by Define_Method() Is Not Supported
Why Is Foreman Gem Ignoring the Port Environment Variable
How to Best Create a Random Float in a Range Between Two Floats
How to Send a Parameter to a Before Filter
Get Table Name from Activerecord
How to Assert That No Route Matches in a Rails Integration Test
Ruby Cannot Find SQLite3 Driver on Windows
Simulating Race Conditions in Rspec Unit Tests
How to Combine a Series of PDFs into One Using Ruby
Which Ruby Rest API Client for Neo4J
How to Make a Method Available to Both My Controller and Model in Rails
Rails Elasticsearch Aggregation
Standalone Ruby -- How to Load Different Environments from Database.Yml