chenillen
2009-Mar-08 02:55 UTC
Any good tutorial about upgrade ruby to 1.9.1 and with rails 2.3?
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bob Martens
2009-Mar-08 19:03 UTC
Re: Any good tutorial about upgrade ruby to 1.9.1 and with rails 2.3?
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. On Mar 7, 9:55 pm, chenillen <chenil...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Niels Ganser
2009-Mar-08 19:20 UTC
Re: Any good tutorial about upgrade ruby to 1.9.1 and with rails 2.3?
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Conrad Taylor
2009-Mar-09 14:34 UTC
Re: Any good tutorial about upgrade ruby to 1.9.1 and with rails 2.3?
On Sat, Mar 7, 2009 at 7:55 PM, chenillen <chenillen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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, > > chenillenHi, 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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Reasonably Related Threads
- install.rb:655:in `command'': system("make") failed (RuntimeError) (GatoLinux)
- undefined method `^' for "d":String
- Puppet 3.0 Puppet labs repo package problem on rhel5
- Is package gem and provider gem usage in one puppet run possible?
- mongrel and fastthread on ruby 1.9?