[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
Tue Jun 17 11:37:12 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):

 It seems that the build script in the Rakefile requires ruby 1.9 to
 operate.

 I was able to build macruby successfully by replacing the three locations
 in the Rakefile where the path to a ruby executable is specified like
 this:

   {{{/usr/bin/ruby}}}

 with the path to a recent (revision 17368) ruby 1.9 binary on my system:

   {{{/Users/stephen/dev/ruby1.9/bin/ruby19}}}

 On my MacOS 10.5.3 system:

   {{{/usr/bin/ruby ->
 ../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby}}}

 It would be nice to be able to build macruby without having 1.9 installed.

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


More information about the MacRuby-devel mailing list