This file contains 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
class Tunnel < Thor | |
method_options :environment => "development", :aliases => "-e", :desc => "Config environment" | |
desc "start", "Start an ssh tunnel" | |
def start | |
command = "ssh -nNT -g -R *:#{tunnel['public_port']}:0.0.0.0:#{tunnel['local_port']} #{tunnel['username']}@#{tunnel['public_host']}" | |
puts "executing #{command}" | |
exec command | |
end |
This file contains 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 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'arel', :git => 'git://github.com/rails/arel.git' | |
gem 'rack', :git => 'git://github.com/rack/rack.git' | |
gem 'sprockets', :git => 'git://github.com/sstephenson/sprockets.git' | |
gem 'sqlite3' | |
# Asset template engines |