diff options
Diffstat (limited to 'railties/bin')
-rw-r--r-- | railties/bin/switchtower | 4 | ||||
-rw-r--r-- | railties/bin/switchtower_for_gem | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/railties/bin/switchtower b/railties/bin/switchtower new file mode 100644 index 0000000000..741be775cc --- /dev/null +++ b/railties/bin/switchtower @@ -0,0 +1,4 @@ +#!/usr/local/bin/ruby +if not system "switchtower #{ARGV.join(" ")}" + abort "Could not execute switchtower. Is it installed?" +end diff --git a/railties/bin/switchtower_for_gem b/railties/bin/switchtower_for_gem new file mode 100644 index 0000000000..57d79bc06c --- /dev/null +++ b/railties/bin/switchtower_for_gem @@ -0,0 +1,4 @@ +#!/usr/local/bin/ruby +require 'rubygems' +require_gem 'switchtower' +load 'switchtower' |