1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Attempt to require rubygems when executing the switchtower utility (fixes #2134)

git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2005-09-11 19:40:43 +00:00
parent 1a53bf2f45
commit b481c1a00a

View file

@ -1,5 +1,11 @@
#!/usr/bin/env ruby
begin
require 'rubygems'
rescue LoadError
# no rubygems to load, so we fail silently
end
require 'switchtower/cli'
SwitchTower::CLI.execute!