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

This is a discussion on ruby lib version (1.8.6) doesn't match executable version - RUBY ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

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

  1. Default ruby lib version (1.8.6) doesn't match executable version

    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/.


  2. Default Re: ruby lib version (1.8.6) doesn't match executable versio

    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 to Thread

Similar Threads

  1. programmatically get labview project executable version
    By Application Development in forum labview
    Replies: 0
    Last Post: 08-10-2007, 02:10 PM
  2. Re: Copy TRE-files version 8.2 manually with a executable
    By Application Development in forum labview
    Replies: 0
    Last Post: 07-25-2007, 11:10 AM
  3. Python version changes, sys.executable does not
    By Application Development in forum Python
    Replies: 3
    Last Post: 07-22-2007, 02:22 AM
  4. RE: Exposed Com web service WSDL version does not match dll Version
    By Application Development in forum XML SOAP
    Replies: 1
    Last Post: 01-25-2007, 07:09 AM
  5. Replies: 0
    Last Post: 03-04-2005, 11:01 AM