Skip to content

Instantly share code, notes, and snippets.

@DrOctogon
Forked from woodie/README.rdoc
Last active December 20, 2015 21:59
Show Gist options
  • Save DrOctogon/6201881 to your computer and use it in GitHub Desktop.
Save DrOctogon/6201881 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:
- Rails 2.3.5: DataMapper version: http://gist.github.com/268192
- Rails 2.3.5: TinyDS version: http://gist.github.com/269075
==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