See the lemonade descriptions Show archive.org snapshot .
Unfortunately, the gem has a few problems:
All these problems are solved for us, in our own lemonade fork Show archive.org snapshot . This fork has since been merged to the original gem, maybe we can use that one now too.
gem install compass -v=0.10.2
gem install chunky_png -v=0.8.0
freeze our lemonade version
cd vendor/gems
git clone http://github.com/makandra/lemonade.git lemonade-0.3.4
rm -rf lemonade-0.3.4/.git
in config/environment.rb
:
config.gem 'compass', :version => '=0.10.2'
config.gem 'lemonade', :version => '=0.3.4'
config.gem 'chunky_png', :version => '=0.8.0'
create config/initializers/compass.rb
(or copy from development repo):
^
require 'compass'
rails_root = (defined?(Rails) ? Rails.root : RAILS_ROOT).to_s
Compass.add_project_configuration(File.join(rails_root, "config", "compass.rb"))
Compass.configure_sass_plugin!
Compass.handle_configuration_change!
create config/compass.rb
(or copy from development repo):
^
project_type = :rails
project_path = Compass::AppIntegration::Rails.root
http_path = "/"`
css_dir = "public/stylesheets"
sass_dir = "public/stylesheets/sass"
images_dir = "public/images"
http_images_path = "../images"
environment = Compass::AppIntegration::Rails.env
require 'lemonade'
in .gitignore
:
^
*.sprite_info.yml`
also
This setup is still not optimal: