Created
September 24, 2010 05:09
-
-
Save unreal/594892 to your computer and use it in GitHub Desktop.
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
###################### | |
# example from gembundler.com | |
# http://gembundler.com/sinatra.html | |
require 'rubygems' | |
require 'bundler/setup' | |
require 'sinatra' | |
require 'my_sinatra_app' | |
run MySinatraApp | |
###################### | |
# what actually worked | |
require 'rubygems' | |
require 'bundler/setup' | |
Bundler.require | |
require 'my_sinatra_app' | |
run MySinatraApp |
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 "sinatra", "~>1.0" | |
gem "sinatra-content-for", "~>0.2", :require => "sinatra/content_for" | |
gem "sinatra-subdomain", "~>0.1.0", :require => "sinatra/subdomain" | |
gem "dm-core", "~>1.0.2" | |
gem "dm-aggregates", "~>1.0.0" | |
gem "dm-migrations", "~>1.0.0" | |
gem "dm-mysql-adapter", "~>1.0.0" | |
gem "dm-pager", "~>1.1.0" | |
gem "dm-timestamps", "~>1.0.0" | |
gem "haml", "~>3.0.18" | |
gem "rack-ssl-enforcer", "~>0.1.8" | |
gem "pony", "~>1.0" | |
gem "RedCloth", "~>4.2.3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment