aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/rails-2.0.2/railties/lib/commands.rb
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2009-12-03 14:18:06 +0000
committerFrancis Irving <francis@mysociety.org>2009-12-03 14:18:06 +0000
commitc132fb5904bed2827ad3ef1173cb12d9cf9f96a2 (patch)
tree75e5f4380eac498576c8443b5b4bde7e599bed5a /vendor/rails-2.0.2/railties/lib/commands.rb
parent2eabd0bf1d5c3d0cfa0f2883f6cfd65298ef4cd1 (diff)
Remove old versions of Rails
Diffstat (limited to 'vendor/rails-2.0.2/railties/lib/commands.rb')
-rw-r--r--vendor/rails-2.0.2/railties/lib/commands.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/vendor/rails-2.0.2/railties/lib/commands.rb b/vendor/rails-2.0.2/railties/lib/commands.rb
deleted file mode 100644
index 841e98a0d..000000000
--- a/vendor/rails-2.0.2/railties/lib/commands.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-commands = Dir["#{File.dirname(__FILE__)}/commands/*.rb"].collect { |file_path| File.basename(file_path).split(".").first }
-
-if commands.include?(ARGV.first)
- require "#{File.dirname(__FILE__)}/commands/#{ARGV.shift}"
-else
- puts <<-USAGE
-The 'run' provides a unified access point for all the default Rails' commands.
-
-Usage: ./script/run <command> [OPTIONS]
-
-Examples:
- ./script/run generate controller Admin
- ./script/run process reaper
-
-USAGE
- puts "Choose: #{commands.join(", ")}"
-end \ No newline at end of file