環境ができるまで
$ apt-get install sun-java6-jdk $ gem install google-appengine $ mkdir hello $ cd hello $ vi config.ru $ dev_appserver.rb --address=0.0.0.0 . $ appcfg.rb update .
config.ru
require 'appengine-rack' AppEngine::Rack.configure_app( :application => 'application-id', # Replace your application id. :version => 1 # Replace your application version. ) run lambda { Rack::Response.new('Hello world!') }
GAE/JRuby動いた! やべええ超たのしい!