Update the gem dependencies for the rails installer.

This commit is contained in:
Chris Eppstein 2009-12-31 11:34:06 -08:00
parent 7db51c42b0
commit 42d5295e52

View File

@ -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? css_dir = "public/stylesheets/compiled" if css_dir.blank?
# define dependencies # define dependencies
gem "haml", :lib => "haml", :version => ">=2.2.0" gem "haml", :version => ">=2.2.16"
gem "chriseppstein-compass", :source => "http://gems.github.com/", :lib => "compass" gem "compass", :version => ">= 0.8.17"
# install and unpack # install and unpack
unless RUBY_PLATFORM =~ /(win|w)32$/ # true if win32, cygwin or mingw32 unless RUBY_PLATFORM =~ /(win|w)32$/ # true if win32, cygwin or mingw32
rake "gems:install GEM=haml", :sudo => true rake "gems:install GEM=haml", :sudo => true
rake "gems:install GEM=chriseppstein-compass", :sudo => true rake "gems:install GEM=compass", :sudo => true
else else
rake "gems:install GEM=haml" rake "gems:install GEM=haml"
rake "gems:install GEM=chriseppstein-compass" rake "gems:install GEM=compass"
end end
rake "gems:unpack GEM=chriseppstein-compass" rake "gems:unpack GEM=compass"
# load any compass framework plugins # load any compass framework plugins
if css_framework =~ /960/ 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$/ 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 else
rake "gems:install GEM=chriseppstein-compass-960-plugin" rake "gems:install GEM=compass-960-plugin"
end end
rake "gems:unpack GEM=chriseppstein-compass-960-plugin" rake "gems:unpack GEM=compass-960-plugin"
css_framework = "960" # rename for command css_framework = "960" # rename for command
plugin_require = "-r ninesixty" plugin_require = "-r ninesixty"
end end