-
-
Save DrOctogon/6201881 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=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