-
-
Save jeffersongirao/6269271 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
# Deploying Sinatra apps to Amazon EC2 using rubber (normally used for Rails deployment to EC2) | |
# | |
# Rakefile needed by rubber for non-rails apps | |
# | |
require 'rake' | |
require 'rake/testtask' | |
require 'rake/rdoctask' | |
env = ENV['RUBBER_ENV'] ||= (ENV['RAILS_ENV'] || 'development') | |
root = File.dirname(__FILE__) | |
require 'rubber' | |
Rubber::initialize(root, env) | |
require 'rubber/tasks/rubber' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment