http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard
I went through this within the last two days. Might be useful to see my write up here, too: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/37b593be608e2461/1ace7ea9d30ef28a#1ace7ea9d30ef28a On Feb 24, 7:07 pm, Jean Nibee <[email protected]> wrote: > Nikhil Gupte wrote: > > For all you folks who couldn't get this to work on Snow Leopard inspite > > of trying the ridiculously simple solution(s) mentioned above, > > > Try this: > > Re compile ruby. Then do > > > sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- > > --with-mysql-config=/usr/local/mysql/bin/mysql_config > > > This will ensure that the *right* arch of ruby is used to compile the > > native extensions. > > and how do you recompile Ruby... > > New to the OSX platform... > > Thanks. > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

