The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Towards compatibility with Ruby 1.9: Rails, Rake, RubyGems...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Eigen Class

Posts: 358
Nickname: eigenclass
Registered: Oct, 2005

Eigenclass is a hardcore Ruby blog.
Towards compatibility with Ruby 1.9: Rails, Rake, RubyGems... Posted: Mar 6, 2007 5:37 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Eigen Class.
Original Post: Towards compatibility with Ruby 1.9: Rails, Rake, RubyGems...
Feed Title: Eigenclass
Feed URL: http://feeds.feedburner.com/eigenclass
Feed Description: Ruby stuff --- trying to stay away from triviality.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Eigen Class
Latest Posts From Eigenclass

Advertisement

Ruby 1.9 is expected to be released at the end of this year and although it's a moving target, moriq (Kazuhiro Yoshida) is trying to make Rails run on it. Even if you don't care about Rails on 1.9, there's a moral to this story. If you have any sizeable amount of code which might have to run on 1.9, your best allies are:

  • defensive programming: get rid of all those warnings now, use "future-proof" variants (like module_eval{ define_method(...){ } } instead of klass.send(:define_method, ...){ ... })*1
  • unit tests!

In addition to Rails' base libraries (ActiveRecord, ActionPack, ActiveSupport), moriq has been working on other libs/apps needed for Rails development:

  • rake
  • rubygems
  • sqlite-ruby3/sqlite-ruby

You can find his Rails branch (based on 1.2) at http://dev.moriq.com/svn/local/rails/trunk/ .

moriq has been blogging about his feat from day one (in Japanese), and he's logging the progress of the unit tests as he proceeds. ActionPack is but 1 failure away from green, ActiveRecord 7 and ActiveSupport 6 failures + 6 errors (but several are related to his non-UTC timezone). Rake looks much worse, since it segfaults.


Read more...

Read: Towards compatibility with Ruby 1.9: Rails, Rake, RubyGems...

Topic: New Theme, and Engine Previous Topic   Next Topic Topic: Serving Compressed Content from Amazon's S3

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use