google-appengine gem を使用したときで、/admin 以下は認証掛けたいみたいなときの config.ru サンプル。
require 'appengine-rack' AppEngine::Rack.configure_app :application => 'my-app' ENV['RAILS_ENV'] = 'appengine' require 'config/environment' map '/' do run ActionController::Dispatcher.new end map '/admin' do use AppEngine::Rack::AdminRequired run ActionController::Dispatcher.new end