[Tioga-users] Trouble installing
Vincent Fourmond
fourmond at gmail.com
Mon Dec 17 12:35:04 EST 2007
Ken Shen wrote:
> Sorry, you might be confusing me with my officemate Ken Henisey!
Sorry... I must admit I didn't go further than the first name...
> I am running Leopard, and was informed by Bill that the Ruby that comes
> pre-installed on Macs is weird, so I installed a clean version from
> http://rubyosx.rubyforge.org/. When I type "ruby -v" at the prompt, I get
> "ruby 1.8.6 (2007-03-13 patchlevel 0) [universal-darwin8.0]", and "which
> ruby" gives "/usr/local/bin/ruby".
>
> "locate rbconfig.rb" shows 2 rbconfg.rb's, one at
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0/rbconfig.rb
> and one at /usr/local/lib/ruby/1.8/universal-darwin8.0/rbconfig.rb.
> Since I'm using the ruby in /usr/local, here are the contents of
> /usr/local/lib/ruby/1.8/universal-darwin8.0/rbconfig.rb:
>
>
> # This file was created by mkconfig.rb when ruby was built. Any
> # changes made to this file will be lost the next time ruby is built.
>
> module Config
> RUBY_VERSION == "1.8.6" or
> raise "ruby lib version (1.8.6) doesn't match executable version
> (#{RUBY_VERSION})"
> [...]
> CONFIG["ARCH_FLAG"] = " -arch i386"
Could you comment out that line and replace it with
CONFIG["ARCH_FLAG"] = ""
That should let you build correctly - or, at least, let you run to the
next problem ;-). It might actually be a bug in your ruby installation
rather than in mkfm2.rb, which would be a great relief to me.
Hope it helps,
Vincent
More information about the Tioga-users
mailing list