1. Brent Tubbs
  2. vr_ruby_example

Commits

Brent Tubbs  committed 3afabc5

init

  • Participants
  • Branches default
  • Tags v1

Comments (0)

Files changed (3)

File Gemfile

View file
  • Ignore whitespace
+source :rubygems
+gem 'sinatra', '1.1.0'
+gem 'thin'

File Procfile

View file
  • Ignore whitespace
+web: bundle exec ruby web.rb -p $PORT

File web.rb

View file
  • Ignore whitespace
+require 'sinatra'
+
+get '/' do
+  "Hello, world!  This is a Ruby (Sinatra) app."
+end