Rails upgraded to 1.1

Rails 1.1 is officially out and DreamHost has already upgraded their installation.

More than 500 fixes, tweaks and features from over 100 contributors. Check out all the new features, from the blockbusters to the lesser known upgrades.

Some people reports problems, since 1.1 is not 100% backward compatible, but you should be able to either tie your Rails application to a specific version of the Rails Gems or download a copy of the 1.0 release for each of your applications.

Updated:
Same problem happened to Site5 and TextDrive. Apparently DreamHost has currently rolled back to 1.0.

Updated again:
DreamHost has the full explanation of the problems yesterday in their blog.

8 Responses to “Rails upgraded to 1.1”

  1. Sean Mountcastle says:

    The upgrade to Rails 1.1 was botched as the gems for activerecord 1.14.0 and actionpack 1.12.0 were not installed.

    gem list –local on holt shows the following:

    [holt]$ gem list –local | grep acti
    actionmailer (1.2.0, 1.1.5)
    actionpack (1.11.2)
    actionwebservice (1.1.0, 1.0.0)
    activerecord (1.13.2)
    activesupport (1.3.0, 1.2.5)

    Sean

  2. Linked from: i survived
  3. kellegous says:

    As Sean points out.

    Sadly it is broken. And sadly that means all of us dreamhosters who are using rails 1.0 are also broken.

    For those of us who are just watching the clock tick on the support request, here’s a work-around that is working for me:

    Add these two lines to the top of config/boot.rb in your rails project:

    require ‘rubygems’
    require_gem ‘rails’, ‘1.0.0′

  4. Greg says:

    This is the reason why the Ruby on Rails team recommends to “freeze” your application when using Rails on a shared host.

    See the link below for more information (since following these simply recommendations will prevent future problems like this)

    http://weblog.rubyonrails.org/articles/2005/12/22/freezing-your-rails-when-you-deploy-shared

  5. Greg says:

    In case you are too lazy to read the previous link.

    Just run “rake freeze_gems” and you will be all good.

  6. Unofficial DreamHost Blog says:

    Nuby on Rails also has the tip about freezing your rails and also points to a simple server monitoring tool you can run as a cronjob in order to get notified next time anything blow up.

  7. Linked from: Downtime & Lag
  8. Linked from: Unofficial DreamHost Blog