public
Fork of wycats/merb-plugins
Description: Merb Plugins: Even more modules to hook up your Merb installation
Homepage: http://www.merbivore.com
Clone URL: git://github.com/gwynm/merb-plugins.git
Search Repo:
merb-plugins rake install task escalates user privileges too early

Signed-off-by: Ezra Zygmuntowicz <ez@engineyard.com>
Nicos Gollan (author)
Sat Apr 05 04:57:00 -0700 2008
ezmobius (committer)
Sun Apr 06 13:49:58 -0700 2008
commit  dba4f95dd413d381e19cd009364f660bb6d26cd0
tree    4ed2e330ef2f1c5720ebb91a4a955c2ac38dc5d4
parent  c6a21a3e821dd718d6776acb3c1c3125602949aa
...
16
17
18
19
 
20
21
22
23
24
25
26
 
27
28
29
...
16
17
18
 
19
20
21
22
23
24
25
 
26
27
28
29
0
@@ -16,14 +16,14 @@ namespace :install do
0
   desc "Install the merb-plugins sub-gems"
0
   task :gems do
0
     gems.each do |dir|
0
- Dir.chdir(dir){ sh "#{SUDO} rake install" }
0
+ Dir.chdir(dir){ sh "rake install" }
0
     end
0
   end
0
 
0
   desc "Install the ORM merb-plugins sub-gems"
0
   task :orm do
0
     orm_gems.each do |dir|
0
- Dir.chdir(dir){ sh "#{SUDO} rake install" }
0
+ Dir.chdir(dir){ sh "rake install" }
0
     end
0
   end
0
 end

Comments

    No one has commented yet.