Hey everybody
I just installed RVM. I never had any issues with my OSX’s default Ruby
1.8.7, but for a project I want to work on I need a newer version,
specifically 1.9.3-p0. So I installed it. Sadly, when doing
rails new bla
I get the following error (right after bundle install is run):
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require’:
dlopen(/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle,
9): Symbol not found: _SSL_SESSION_free (LoadError)
Referenced from:
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle
Expected in: flat namespace
in
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle
from
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/openssl.rb:17:in
<top (required)>’
from
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require’
from
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/net/https.rb:22:in
<top (required)>' from /Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require’
from
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/net/http/persistent.rb:447:in
ssl’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/net/http/persistent.rb:216:in
connection_for' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/net/http/persistent.rb:358:in
request’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:145:in
fetch' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:173:in
fetch_dependency_remote_specs’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:132:in
fetch_remote_specs' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/fetcher.rb:70:in
specs’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:234:in
block in remote_specs' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:232:in
each’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:232:in
remote_specs' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:165:in
fetch_specs’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/source.rb:70:in
specs' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:205:in
block (2 levels) in index’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:202:in
each' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:202:in
block in index’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/index.rb:9:in
build' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:198:in
index’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:192:in
resolve' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:127:in
specs’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/definition.rb:122:in
resolve_remotely!' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/installer.rb:48:in
run’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/installer.rb:12:in
install' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/cli.rb:220:in
install’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor/task.rb:22:in
run' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor/invocation.rb:118:in
invoke_task’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor.rb:263:in
dispatch' from /Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/lib/bundler/vendor/thor/base.rb:386:in
start’
from
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.4/bin/bundle:13:in
`’
Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal
error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
I have no idea what to do, I already tried the troubleshooting hints
from the bit.ly link. I also tried to install openssl using macports,
but no success.
Interestingly, I switched back to the system’s default Ruby version
using RVM, and then when I tried to run the rails new command, I was
told that Rails wasn’t installed! But the gem list command showed me
different! After reinstalling the Rails gem, everything worked fine.
Still, in versino 1.9.3-p0 it doesn’t work.
Any idea what to do? At the time being I’m trying other Ruby versions,
maybe this will give us some more clues…
Thanks!
Josh