Created
June 22, 2010 21:07
-
-
Save hone/449085 to your computer and use it in GitHub Desktop.
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 "http://rubygems.org" | |
gem "sinatra" | |
unless ENV.has_key?('SSH_CLIENT') | |
group :development do | |
gem "mongrel" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also use
if ENV['USER'] =~ /repo\d+/
, e.g. if you are deploying from within an ssh session.