From 8c9ebce4945fb50f817940cdf799e30e3f8bc367 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 20 Jun 2009 15:09:04 -0700 Subject: [PATCH] [Rails] Don't unpack gems using sudo in the rails template. --- .../app_integration/rails/templates/compass-install-rails.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compass/app_integration/rails/templates/compass-install-rails.rb b/lib/compass/app_integration/rails/templates/compass-install-rails.rb index eefde2fa..778865a3 100644 --- a/lib/compass/app_integration/rails/templates/compass-install-rails.rb +++ b/lib/compass/app_integration/rails/templates/compass-install-rails.rb @@ -52,13 +52,13 @@ gem "chriseppstein-compass", :source => "http://gems.github.com/", :lib => "comp # install and unpack rake "gems:install GEM=haml-edge", :sudo => true rake "gems:install GEM=chriseppstein-compass", :sudo => true -rake "gems:unpack GEM=chriseppstein-compass", :sudo => true +rake "gems:unpack GEM=chriseppstein-compass" # load any compass framework plugins if css_framework =~ /960/ gem "chriseppstein-compass-960-plugin", :source => "http://gems.github.com", :lib => "ninesixty" rake "gems:install GEM=chriseppstein-compass-960-plugin", :sudo => true - rake "gems:unpack GEM=chriseppstein-compass-960-plugin", :sudo => true + rake "gems:unpack GEM=chriseppstein-compass-960-plugin" css_framework = "960" # rename for command plugin_require = "-r ninesixty" end