Current Time: 15:26:04 PDT

What's Up?

If you are experiencing a problem that has not been reported here, check our web panel for more information.

(Please remember, posting in the comments here IS NOT an official way to contact DreamHost.)

Search

Pages

Categories

Other Stuff

4:36 pm

Hooray for new Rails!

Posted (January 25th, 2007 at 4:36 pm PST) by Terri

The packages are done, testing is complete, and I’m ready to roll out the new version of Rails - 1.2.1. Slowly, of course!

I will start slowly upgrading servers with Rails 1.2.1 starting Monday, January 29. There is one caveat to this.

If you are running Typo you have to freeze your Rails! If you’re afraid your Rails application will break with the new upgrade, and you’re not planning on tweaking it to use the new version candy, freeze your Rails. I tested Rails 1.2.1 and it breaks Typo. The developers recognize this and recommend freezing Rails (although they’ll be making adjustments very soon). Freeze your Rails! *GONG!* Freeze your Rails! *GONG!*

You can easily freeze your Rails by using SSH to login into your account. Go into the directory that has your Rails application (ie cd myrailsapp.com/). This is the directory that holds public, config, lib, etc. Then, run this command:

rake rails:freeze:gems

Rake will tell you what version it’s freezing your application to, and where. After that, you’ll be safe!

This entry was posted on Thursday, January 25th, 2007 at 4:36 pm and is filed under System Changes. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

40 Responses to “Hooray for new Rails!”

I’m sure you have a rollout plan but I would love to see rupee near the top of the list…

January 25th, 2007 at 5:38 pmAnonymous Coward Says:

And how can I unfreeze after that?

Nice work Terri!

that’s nice, but how about wordpress 2.1?

Yes how do we safely unfreeze after that?

Eric, as far as I know Wordpress doesn’t use Ruby, it uses PHP. See http://wordpress.org/about/requirements/

It was Eric asking about Wordpress. James was asking about unfreezing.

rake rails:unfreeze

looks like it should do it based on this page - http://www.rubyonrailsblog.com/articles/2006/09/14/rails-rake-tasks-reference

Wow, I’m most definitely excited for this. I’ve been looking at other hosts that offer Rails support since I’ve been wanting to get into it, but now I’m not going to have to worry about that. Sunkist is dying for some rails lovin’ =p

This is exciting. It’s nice to know DH is on moving forward with the latest upgrades.

I’d like request the RoR update to seltzer sooner rather than later.

: )

So, is it done? I still 1,6,1 on Vanowen

or 1.1.6 whatever

I am still 1.1.6 on chalmers too. i’d really like to see this upgraded asap, i’m reading thru the new rails 1.2 book and i don’t want to bother setting it up locally. ;o)

rails is at 1.2.2 now, but the changes seem to be minor.

changelog:
*1.2.2* (February 4th, 2007)
* Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
* Require the dispatcher for Rails::Configuration#to_prepare. [Rick]

Rails 1.2.2 is now available on rubyforge. It depends on Rubygems 0.9.2. Both Rails and Rubygems contain security fixes over the x.x.1 versions, and are definitely recommended upgrades.

How long does it take to role out the upgrade? I am on sunset and rails is still version 1.1.6.

What about PHP? When are we going to get MING support? Allowing PHP output to SWF would be a big improvement for my website. :) Everyone please go to the feature request page and request for PHP Ming, its been requested for 2 years now.

Salt still has 1.1.6 of Rails:

salt:~> rails -v
Rails 1.1.6

Is that on the list to get to 1.2.2 soon?

thanks!

whopper:~> rails -v
Rails 1.1.6

whopper:~> ruby -v
ruby 1.8.5 (2006-08-25) [i386-linux]

when does whopper get 1.2.1?

When willl alvarado.dreamhost.com be upgraded to Version 1.2?

How is the whole upgrade process going?

eagerly looking forward to Rails 1.2 on my server….

This is a bit off topic but…

Also adding index.rhtml as a valid directory index page would be a blessing. I’d actually like to run ruby scripts in my html without rails sometimes.

To do this - in Apache conf .rhtml could be added as a file type (similar to the .php and index.php statements).

DAN

Any ideas when marge was upgraded to 1.2.2? BlueCloth gem no longer seems to work and it’s killed my site until I can figure out some workaround,

Mike

holt still is 1.1.6

Any idea?

Since Rails 1.2.2 requires RubyGem 0.9.0 or better, are we going to ever see that upgrade? Right now, with Rails 1.2.2 and RubyGem 0.8.10 on Larchmont, I have to edit config.rb on every new app so it can find the old ‘require_gem’ method. An upgrade would be appropriate here.

hillhurst is still on Rails v1.1.6. What is going on? Was the upgrade halted?

[warhead]$ rails -v
/usr/bin/rails:17:Warning: require_gem is obsolete. Use gem instead.
Rails 1.2.2
so “slowly” meant 3 weeks. all’s well that ends well.

what about upgrade?

it is really important for upgrade?

Nice work dreamhost! Great Hosting!

Successful website

You can easily freeze your Rails by using SSH to login into your account. Go into the directory that has your Rails application (ie cd myrailsapp.com/). This is the directory that holds public, config, lib, etc. Then, run this command:

I want to announce my web site which is useful planning to get married
husniye moda

 
© 1996-2007, DreamHost.com
Entries (RSS) and Comments (RSS).