Skip to content

Instantly share code, notes, and snippets.

@miclovich
Forked from woodie/README.rdoc
Created May 18, 2010 19:15
Show Gist options
  • Save miclovich/405398 to your computer and use it in GitHub Desktop.
Save miclovich/405398 to your computer and use it in GitHub Desktop.

Rails 3.0.pre on App Engine

You can Rails 3 on App Engine, but it won’t be especially useful until bundler 10. You should try these instead:

Install the Development Environment

The gems for the development environment include a pre-release appengine-tools gem that provides a pre-release version of jruby-rack.

sudo gem install google-appengine

Install Rails 3.0.pre with required patches

Create a folder for your app

mkdir rails_app; cd rails_app

Download and run the setup script

curl -O http://appengine-jruby.googlecode.com/hg/demos/rails/rails_appengine.rb
ruby rails2_appengine.rb

Working with Your Rails App

Start development server

dev_appserver.rb .

Publish to production

appcfg.rb update .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment