ruby lib version (1.8.6) doesn't match executable version

V

Vince W.

I did a manual install of Ruby 1.8.6 from source. Now I'm getting an
error that says:

/usr/lib/ruby/1.8/x86_64-linux/rbconfig.rb:7: ruby lib version (1.8.6)
doesn't match executable version (1.8.5) (RuntimeError)
from /usr/local/lib/site_ruby/1.8/rubygems.rb:10:in `require'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:10
from /usr/bin/rake:9:in `require'
from /usr/bin/rake:9

The stack trace from Rails (it's a rake task) points to rbconfig line 7:

module Config
RUBY_VERSION == "1.8.6" or
raise "ruby lib version (1.8.6) doesn't match executable version
(#{RUBY_VERSION})"

ruby -v yields:

ruby 1.8.6 (2007-10-21 patchlevel 5000) [x86_64-linux]

Is it the patchlevel that's throwing things off or is there something
else going on? The server in question is Ubuntu Feisty Fawn (7.04)

Thanks in advance.
 
V

Vince W.

Bah,turns out I just needed to reinstall rake and a few other gems.
Sorry for the chatter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top