aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-10-30 17:26:55 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-10-30 17:26:55 +0000
commitaa0f382d080b0e9761f68323b7f8cc5219c0758b (patch)
treed5387be476beedf8155e5774f8307c4185b64964 /railties
parent80a8d75bf158e4566a6582fa54e4baf7709b269d (diff)
downloadrails-aa0f382d080b0e9761f68323b7f8cc5219c0758b.tar.gz
rails-aa0f382d080b0e9761f68323b7f8cc5219c0758b.tar.bz2
rails-aa0f382d080b0e9761f68323b7f8cc5219c0758b.zip
We want ::Plugin, not Commands::Plugin. Closes #2664.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/commands/plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb
index 627bd9f9fb..f666d6a2b9 100644
--- a/railties/lib/commands/plugin.rb
+++ b/railties/lib/commands/plugin.rb
@@ -683,7 +683,7 @@ module Commands
puts "Plugins will be installed using #{install_method}" if $verbose
args.each do |name|
if name =~ /\// then
- Plugin.new(name).install(install_method)
+ ::Plugin.new(name).install(install_method)
else
plugin = Repositories.instance.find_plugin(name)
unless plugin.nil?