Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby lib version (1.8.6) doesn't match executable version

Reply
Thread Tools

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

 
 
Vince W.
Guest
Posts: n/a
 
      10-24-2007
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.
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Vince W.
Guest
Posts: n/a
 
      10-24-2007
Bah,turns out I just needed to reinstall rake and a few other gems.
Sorry for the chatter.

Vince W. wrote:
> 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
>

--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lib/ruby/site_ruby vs lib/ruby/vendor_ruby Sniper Abandon Ruby 2 12-06-2010 05:49 PM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
Perl lib version (v5.6.0) doesn't match executable version (v5.8.0) Francesco Moi Perl Misc 1 07-27-2003 01:45 PM



Advertisments