If I rvm get head, I run into this issue.
rvm get head
EDIT: @JEG2 - just noticed you're getting having the libffi problem too - any ideas yet?
I'm also unable to install and my log file looks identical. I'm also now getting this error:
Libraries missing for ruby-1.9.3-p286: /opt/sm/pkg/versions/libffi/3.0.10/lib/libffi.5.dylib. Refer to your system manual for installing libraries
Which is something I've never encountered before...
➜ ~ cat ~/.rvm/log/ruby-1.9.3-p286/install.log
[2012-10-18 20:12:13] make install
./miniruby -I./lib -I. -I.ext/common ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc"
installing binary commands: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/bin
installing base libraries: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib
installing arch files: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-darwin12.2.0
installing pkgconfig data: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/pkgconfig
installing command scripts: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/bin
installing library scripts: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1
installing common headers: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/include/ruby-1.9.1
installing manpages: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/share/man/man1
installing extension objects: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-darwin12.2.0
installing extension objects: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/x86_64-darwin12.2.0
installing extension objects: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin12.2.0
installing extension headers: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/include/ruby-1.9.1/x86_64-darwin12.2.0
installing extension scripts: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1
installing extension scripts: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1
installing extension scripts: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/vendor_ruby/1.9.1
installing extension headers: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/include/ruby-1.9.1/ruby
installing default gems: /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/gems/1.9.1 (cache, doc, gems, specifications)
/Users/rjsamson/.rvm/src/ruby-1.9.3-p286/lib/fileutils.rb:244:in `mkdir': File exists - /Users/rjsamson/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/gems/1.9.1 (Errno::EEXIST)
from /Users/rjsamson/.rvm/src/ruby-1.9.3-p286/lib/fileutils.rb:244:in `fu_mkdir'
from /Users/rjsamson/.rvm/src/ruby-1.9.3-p286/lib/fileutils.rb:221:in `block (2 levels) in mkdir_p'
from /Users/rjsamson/.rvm/src/ruby-1.9.3-p286/lib/fileutils.rb:219:in `reverse_each'
from /Users/rjsamson/.rvm/src/ruby-1.9.3-p286/lib/fileutils.rb:219:in `block in mkdir_p'
from /Users/rjsamson/.rvm/src/ruby-1.9.3-p286/lib/fileutils.rb:205:in `each'
from /Users/rjsamson/.rvm/src/ruby-1.9.3-p286/lib/fileutils.rb:205:in `mkdir_p'
from ./tool/rbinstall.rb:183:in `makedirs'
from ./tool/rbinstall.rb:284:in `prepare'
from ./tool/rbinstall.rb:539:in `block in <main>'
from ./tool/rbinstall.rb:597:in `call'
from ./tool/rbinstall.rb:597:in `block (2 levels) in <main>'
from ./tool/rbinstall.rb:594:in `each'
from ./tool/rbinstall.rb:594:in `block in <main>'
from ./tool/rbinstall.rb:590:in `each'
from ./tool/rbinstall.rb:590:in `<main>'
make: *** [do-install-nodoc] Error 1
ah this gives me some background, try this one:
rvm reinstall 1.9.3 --disable-binary
@mpapis yup - that worked - thanks!
which version of osx is this? 10.7 or 10.8 ?
two problems to fix:
extracted 1. to #1248
remove broken OSX binaries, update #1244
rvm reinstall 1.9.3 --disable-binary has fixed this issue for me too. I have the missing libffi issue too, also on OSX 10.8.2
Was also recieving this message: Gemset '' does not exist, 'rvm gemset create ' first, or append '--create'
Any other useful info I can provide?
@Barnacle the Gemset '' does not exist, 'rvm gemset create ' first, or append '--create' is different error, check other issues for it, if it exist comment for updates otherwise open a new issue with full gist of the output so I know to fix it
Gemset '' does not exist, 'rvm gemset create ' first, or append '--create'
scheduled for 1.16.16
I was having the same issue also with Mac OS X 10.8. Reinstalling 1.9.3 with --disable-binary allowed a successful install for me as well. Thanks.
Was troubled by this same issue today. Wasted at least one hour trying to figure out myself. Finally the trick rvm reinstall 1.9.3 --disable-binary worked beautifully.
When I tried to install RVM itself from scratch today, I see both the Libraries missing for ruby-1.9.3-p286: /opt/sm/pkg/versions/libffi/3.0.10/lib/libffi.5.dylib... error from here and then, lower down, the Gemset '' does not exist from #895. The steps I need to take to install from scratch:
Libraries missing for ruby-1.9.3-p286: /opt/sm/pkg/versions/libffi/3.0.10/lib/libffi.5.dylib...
Gemset '' does not exist
curl -L https://get.rvm.io | bash -s stable --ruby
rvm reinstall 1.9.3 --disable-binary
@michael-groble it is fixed on head not in stable yet as noted here: wayneeseguin#1244 (comment) - it will be available in RVM 1.16.16