diff options
author | Tim Pope <code@tpope.net> | 2011-02-02 20:39:49 -0500 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-02-03 00:33:30 -0200 |
commit | e89ba63b885b4b8e65d0516b568c0057a3847b7c (patch) | |
tree | ffd99118a4d5ab02b6eae80af4d6fc3efb444b3d /railties | |
parent | 434aa095607669f3b95343e874064d7c74bf921c (diff) | |
download | rails-e89ba63b885b4b8e65d0516b568c0057a3847b7c.tar.gz rails-e89ba63b885b4b8e65d0516b568c0057a3847b7c.tar.bz2 rails-e89ba63b885b4b8e65d0516b568c0057a3847b7c.zip |
Drop remaining script/plugin sources references
[#3742 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/commands/plugin.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/railties/lib/rails/commands/plugin.rb b/railties/lib/rails/commands/plugin.rb index 8b2cd1bdba..048af7cbef 100644 --- a/railties/lib/rails/commands/plugin.rb +++ b/railties/lib/rails/commands/plugin.rb @@ -276,12 +276,11 @@ end require 'optparse' module Commands class Plugin - attr_reader :environment, :script_name, :sources + attr_reader :environment, :script_name def initialize @environment = RailsEnvironment.default @rails_root = RailsEnvironment.default.root @script_name = File.basename($0) - @sources = [] end def environment=(value) @@ -301,8 +300,6 @@ module Commands o.on("-r", "--root=DIR", String, "Set an explicit rails app directory.", "Default: #{@rails_root}") { |rails_root| @rails_root = rails_root; self.environment = RailsEnvironment.new(@rails_root) } - o.on("-s", "--source=URL1,URL2", Array, - "Use the specified plugin repositories instead of the defaults.") { |sources| @sources = sources} o.on("-v", "--verbose", "Turn on verbose output.") { |verbose| $verbose = verbose } o.on("-h", "--help", "Show this help message.") { puts o; exit } @@ -315,8 +312,6 @@ module Commands o.separator "" o.separator "EXAMPLES" - o.separator " Install a plugin:" - o.separator " #{@script_name} plugin install continuous_builder\n" o.separator " Install a plugin from a subversion URL:" o.separator " #{@script_name} plugin install http://dev.rubyonrails.com/svn/rails/plugins/continuous_builder\n" o.separator " Install a plugin from a git URL:" |