Created
July 27, 2011 15:26
-
-
Save tricknotes/1109610 to your computer and use it in GitHub Desktop.
カレントディレクトリを公開するだけの config.ru
This file contains hidden or 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
use Rack::Static, :urls => {"/" => "index.html"} | |
run Rack::Directory.new(File.dirname(__FILE__)) |
This file contains hidden or 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
source :rubygems | |
gem "rack", "~> 1.3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
config.ru の書き方の備忘録
Heroku へデプロイする際には Gemfile も一緒に push する必要がある。