[MacRuby-devel] [macruby] #78: using rake => ./rbconfig.rb:7: ruby lib version (1.9.0) doesn't match executable version (1.8.6) (RuntimeError)

macruby ruby-noreply at macosforge.org
Wed Jun 18 17:51:09 PDT 2008


#78: using rake => ./rbconfig.rb:7: ruby lib version (1.9.0) doesn't match
executable version (1.8.6) (RuntimeError)
----------------------------------------+-----------------------------------
 Reporter:  stephen.bannasch at gmail.com  |        Owner:  lsansonetti at apple.com
     Type:  defect                      |       Status:  new                  
 Priority:  blocker                     |    Milestone:                       
Component:  MacRuby                     |   Resolution:                       
 Keywords:                              |  
----------------------------------------+-----------------------------------
Comment (by stephen.bannasch at gmail.com):

 On a fresh checkout in a new dir rake and rake install work however I get
 the same error when running rake a second time.

 Here are the steps (the dir src does not exist at the start):

 {{{
 svn co http://svn.macosforge.org/repository/ruby/MacRuby/branches/testing
 src
 cd src
 rake
 sudo rake install
 rake
 (in /Users/stephen/dev/macruby/src)
 /usr/bin/ruby -I. tool/compile_prelude.rb prelude.rb miniprelude.c.new
 ./rbconfig.rb:6: ruby lib version (1.9.0) doesn't match executable version
 (1.8.6) (RuntimeError)
         from /Library/Ruby/Site/1.8/rubygems.rb:60:in `require'
         from /Library/Ruby/Site/1.8/rubygems.rb:60
         from /Library/Ruby/Site/1.8/ubygems.rb:10:in `require'
         from /Library/Ruby/Site/1.8/ubygems.rb:10
 rake aborted!
 Command failed with status (1): [/usr/bin/ruby -I. tool/compile_prelude.rb
 ...]
 /Users/stephen/dev/macruby/src/rakefile:215
 (See full trace by running task with --trace)
 }}}

 The same problem exists even if I run {{{rake clean}}} or {{{rake
 clean:ext}}} before running {{{rake}}}.

-- 
Ticket URL: <http://ruby.macosforge.org/trac/ticket/78#comment:3>
macruby <http://ruby.macosforge.org/>


More information about the MacRuby-devel mailing list