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

Discussion in 'Ruby' started by Vince W., Oct 24, 2007.

  1. Vince W.

    Vince W. Guest

    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/.
    Vince W., Oct 24, 2007
    #1
    1. Advertising

  2. Vince W.

    Vince W. Guest

    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/.
    Vince W., Oct 24, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    15
    Views:
    483
    Dave Thompson
    Aug 21, 2006
  2. Volkan Civelek

    Match doesn't match

    Volkan Civelek, Jul 19, 2006, in forum: Ruby
    Replies:
    4
    Views:
    163
  3. Sniper Abandon
    Replies:
    2
    Views:
    114
    Ammar Ali
    Dec 6, 2010
  4. Iñaki Baz Castillo
    Replies:
    1
    Views:
    152
    Iñaki Baz Castillo
    Feb 28, 2011
  5. Francesco Moi
    Replies:
    1
    Views:
    178
    Sisyphus
    Jul 27, 2003
Loading...

Share This Page