Forum: Ruby on Rails When should I move to the new Ruby version (1.8.6) which is

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D5df9fcd7ef4c3c937435d7d6adeab2a?d=identicon&s=25 Greg Hauptmann (Guest)
on 2007-03-14 00:31
(Received via mailing list)
Hi,

Noting that a new version or Ruby has been released,
v1.8.6<http://www.ruby-lang.org/en/news/2007/03/12/ruby-1...,
as a Rails developer what is the normal upgrade timeframe?  That is:
- upgrade to Ruby now?
- wait for Rails to be "certified" on Ruby v1.8.6?
- wait for a new release of Rails that has been developed against Ruby
v1.8.6?

Plus it seems on shared hosting platforms Rails is easy to update via
the
"freeze" approach, however I'm not sure if this same approach is
possible
with Ruby itself, and whether one would have to wait for the provided to
update Ruby?  (e.g. Dreamhost?)

Regards
Greg
70225136eacd3d870f64e03bff678655?d=identicon&s=25 Russell Norris (Guest)
on 2007-03-14 13:34
(Received via mailing list)
As a fellow Dreamhoster, I can tell you it's pretty easy to install your
own
Ruby.

RSL
24d2f8804e6bb4b7ea6bd11e0a586470?d=identicon&s=25 Jeremy Kemper (Guest)
on 2007-09-25 23:02
(Received via mailing list)
On 3/13/07, Greg Hauptmann <greg.hauptmann.ruby@gmail.com> wrote:
> update Ruby?  ( e.g. Dreamhost?)
If you're on trunk or the 1-2-stable branch, upgrade at your leisure;
otherwise, wait for the Rails 1.2.3 release (real soon now.)

There's only one real incompatibility: Ruby 1.8.6 introduces a private
Time#to_date method which alters the visibility of the existing,
public Active Support method. So a third option is to monkeypatch:
  class Time
    public :to_date
  end

Best,
jeremy
This topic is locked and can not be replied to.