# Any good tutorial about upgrade ruby to 1.9.1 and with rails 2.3?

**URL:** <https://www.ruby-forum.com/t/any-good-tutorial-about-upgrade-ruby-to-1-9-1-and-with-rails-2-3/162313>\
**Category:** Rails\
**Created:** [March 8, 2009, 3:38pm UTC](https://www.ruby-forum.com/t/any-good-tutorial-about-upgrade-ruby-to-1-9-1-and-with-rails-2-3/162313 "2009-03-08T15:38:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenillen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chenillen](https://www.ruby-forum.com/u/chenillen)\
**Post date:** [March 8, 2009, 3:38pm UTC](https://www.ruby-forum.com/t/any-good-tutorial-about-upgrade-ruby-to-1-9-1-and-with-rails-2-3/162313/1 "2009-03-08T15:38:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chenillen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chenillen](https://www.ruby-forum.com/u/chenillen)\
**Post date:** [March 8, 2009, 8:05pm UTC](https://www.ruby-forum.com/t/any-good-tutorial-about-upgrade-ruby-to-1-9-1-and-with-rails-2-3/162313/2 "2009-03-08T20:05:01Z")

</div>

Try it out and report back? I haven’t made the jump yet, but I’m sure  
someone will pipe up with recommendations at some point.

---

<div class="post-metadata">

**Author:** ![chenillen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chenillen](https://www.ruby-forum.com/u/chenillen)\
**Post date:** [March 8, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/any-good-tutorial-about-upgrade-ruby-to-1-9-1-and-with-rails-2-3/162313/3 "2009-03-08T20:21:29Z")

</div>

A Ruby 1.9 compatible version of mysql-ruby is available from its  
author’s website: [http://tmtm.org/mysql/ruby/](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

---

<div class="post-metadata">

**Author:** ![chenillen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chenillen](https://www.ruby-forum.com/u/chenillen)\
**Post date:** [March 9, 2009, 3:39pm UTC](https://www.ruby-forum.com/t/any-good-tutorial-about-upgrade-ruby-to-1-9-1-and-with-rails-2-3/162313/4 "2009-03-09T15:39:47Z")

</div>

On Sat, Mar 7, 2009 at 7:55 PM, chenillen [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

Hi, you should be able to find several threads if you search the mailing  
list. I created the following tutorial in regards to using both Ruby  
1.9.1  
and Rails 2.3.0:

“Using MacPorts To Install Ruby 1.9.1 and Rails 2.3.0 RC1”

Good luck,

-Conrad
