Skip to content

Instantly share code, notes, and snippets.

@woodie
Created March 17, 2010 08:35
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save woodie/335023 to your computer and use it in GitHub Desktop.
Save woodie/335023 to your computer and use it in GitHub Desktop.
Rails 3 on App Engine

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 .
@PanosJee
Copy link

PanosJee commented Jun 5, 2010

It seems that we need extra patch for memcache and actionmailer, right ?

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