Skip to content

Instantly share code, notes, and snippets.

@higuma
Created April 4, 2014 13:57
Show Gist options
  • Save higuma/9975258 to your computer and use it in GitHub Desktop.
Save higuma/9975258 to your computer and use it in GitHub Desktop.
HerokuにRackでdeployする(初級編:静的HTMLページ) ref: http://qiita.com/higuma/items/9baac9e97eeb862ef64e
use Rack::Static, urls: [''], root: 'public', index: 'index.html'
run lambda {|env|}
public/
index.html
...
Gemfile
Gemfile.lock
config.ru
source 'https://rubygems.org'
ruby 2.0.0
gem 'rack'
source 'https://rubygems.org'
ruby 2.0.0
gem 'rack'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment