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:
parent
1a53bf2f45
commit
b481c1a00a
1 changed files with 6 additions and 0 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue