From 42d5295e5289da5f354d0f5147199bb55232f298 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Thu, 31 Dec 2009 11:34:06 -0800 Subject: [PATCH] Update the gem dependencies for the rails installer. --- .../rails/templates/compass-install-rails.rb | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 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 f7e32485..dd7d2301 100644 --- a/lib/compass/app_integration/rails/templates/compass-install-rails.rb +++ b/lib/compass/app_integration/rails/templates/compass-install-rails.rb @@ -46,28 +46,28 @@ css_dir = ask("Where would you like Compass to store your compiled css files? (d css_dir = "public/stylesheets/compiled" if css_dir.blank? # define dependencies -gem "haml", :lib => "haml", :version => ">=2.2.0" -gem "chriseppstein-compass", :source => "http://gems.github.com/", :lib => "compass" +gem "haml", :version => ">=2.2.16" +gem "compass", :version => ">= 0.8.17" # install and unpack unless RUBY_PLATFORM =~ /(win|w)32$/ # true if win32, cygwin or mingw32 rake "gems:install GEM=haml", :sudo => true - rake "gems:install GEM=chriseppstein-compass", :sudo => true + rake "gems:install GEM=compass", :sudo => true else rake "gems:install GEM=haml" - rake "gems:install GEM=chriseppstein-compass" + rake "gems:install GEM=compass" end -rake "gems:unpack GEM=chriseppstein-compass" +rake "gems:unpack GEM=compass" # load any compass framework plugins if css_framework =~ /960/ - gem "chriseppstein-compass-960-plugin", :source => "http://gems.github.com", :lib => "ninesixty" + gem "compass-960-plugin", :lib => "ninesixty" unless RUBY_PLATFORM =~ /(win|w)32$/ - rake "gems:install GEM=chriseppstein-compass-960-plugin", :sudo => true + rake "gems:install GEM=compass-960-plugin", :sudo => true else - rake "gems:install GEM=chriseppstein-compass-960-plugin" + rake "gems:install GEM=compass-960-plugin" end - rake "gems:unpack GEM=chriseppstein-compass-960-plugin" + rake "gems:unpack GEM=compass-960-plugin" css_framework = "960" # rename for command plugin_require = "-r ninesixty" end @@ -86,4 +86,4 @@ CODE run "haml --rails ." run compass_command -puts "Compass (with #{css_framework}) is all setup, have fun!" \ No newline at end of file +puts "Compass (with #{css_framework}) is all setup, have fun!"