Using Rails 1.0RC2 on a Shared Host 2 comments

posted Thursday, October 20, 2005 by glyph

You live on the bleeding edge. You like to live dangerously.

You have everything working right with Rails 0.14.1. But some bugs that were fixed or features that were added mean that your app won’t work with 0.13.1 anymore.

Plus, you are on a shared host who is still using the ancient 0.13.1. You want to upgrade to the latest release candidate of Rails. How do you do it?

There are several ways, but here’s how I did it.

Install Rails 0.14.1

sudo gem update rails

Make a Dummy Project

rails foo

Use the New Gem Freezing Feature

rake freeze_gems

This copies all the rails gems into ./vendor (and any other gems mentioned in environment.rb).

Copy the contents of ./vendor/rails to Your Host

You Win!

2 comments

Leave a response

  • Gravatar icon garg

    Hi. Shouldn’t that be:

    sudo gem update rails

  • Gravatar icon topfunky

    Yes…I just corrected it now.

    Thanks.

Your Comment

Nuby on Rails

Geoffrey Grosenbach / Ruby / Code / Graphics / Design / Rails / Merb / Javascript / CSS

Manufactured with

Subscribe

Subscribe (RSS)