Skip to content

Instantly share code, notes, and snippets.

@andyl
Created January 26, 2010 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyl/287110 to your computer and use it in GitHub Desktop.
Save andyl/287110 to your computer and use it in GitHub Desktop.
----- Gemfile -----
gem 'sinatra'
----- app.rb ------
require 'vendor/gems/environment'
Bundler.require_env
get '/' do
"hello world"
end
----- Gem Command -----
> gem bundle
Calculating dependencies...
Updating source: http://gems.rubyforge.org
Downloading rack-1.1.0.gem
Caching: sinatra-0.9.4.gem
Installing rack (1.1.0)
Installing sinatra (0.9.4)
Done.
----- Starting the Sinatra Server -----
> ruby app.rb
(no output - server terminates)
----- Ruby Info -----
> ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment