Saturday, 10 August 2013

Library not loaded error -- wrong ruby

Library not loaded error -- wrong ruby

I'm using RVM with Ruby 1.9.3 p448, but when I try to run my rails server,
I get this error (plus some other stuff)
9): Library not loaded:
/Users/sashafklein/.rvm/rubies/ruby-1.9.3-p327/lib/libruby.1.9.1.dylib
(LoadError)
Referenced from:
/Users/sashafklein/rails/<appname>/vendor/bundle/ruby/1.9.1/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle
Reason: image not found -
/Users/sashafklein/rails/<appname>/vendor/bundle/ruby/1.9.1/gems/posix-spawn-0.3.6/lib/posix_spawn_ext.bundle
The weird thing is, it's referencing ruby-1.9.3-p327, which isn't even one
of my RVM installs. Should I delete that Ruby folder it's not finding
libruby in? Or what else might be wrong?

No comments:

Post a Comment