A Ruby 1.9 compatible version of mysql-ruby is available from its 
author's website: http://tmtm.org/mysql/ruby/.

Fastthread isn't needed to run mongrel under Ruby 1.9, the mongrel gem 
still seems to require it though. Tell rubygems to ignore its 
dependencies like so: gem install mongrel --ignore-dependencies.

If rubygems fails to build native extensions for mongrel try changing 
all occurences of RSTRING("FOOBAR")->ptr with RSTRING_PTR("FOOBAR") and 
similarly RSTRING("FOOBAR")->len with RSTRING_LEN("FOOBAR") in http11.c. 
Then try building again like so: ruby extconf.rb. Compile with make and 
install with make install. This might have already been fixed upstream 
though so try ignoring dependencies during installation first!

Best,
Niels

chenillen wrote:
> Hi there,
>
> Just want to upgrade to ruby1.9.1, but some important gems such as
> mysql, fastthread, mongrel are not compatible with the newest version,
> anyone has some good tutorial for recommendation?
>
> Thanks,
>
> chenillen
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to