This will get Rails up and running on App Engine
Use the Gemfile below to get started, and use the latest appengine-tools.
gem source --add http://rc-gems.appspot.com sudo gem install google-appengine mkdir rails_app cd rails_app touch config.ru vim Gemfile # scroll down and copy it appcfg.rb bundle --update . appcfg.rb run -S bin/rails . # don't replace Gemfile
Create or modify these files with content from below.
vim app/controllers/rails/info_controller.rb vim config/application.rb vim config/boot.rb vim config/initializers/notifications.rb
These commands provide the environment with the APIs
dev_appserver.rb . appcfg.rb run -S script/console
Make sure your application-id in config.ru is correct
appcfg.rb update .
We need to pass the location of the local gem cache [FIXME] Note: These models need to be converted to datamapper models
appcfg.rb run -r '.gems/bundler_gems/environment' \ -S script/generate scaffold person name:string