Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion rails 3.0.11 with .sass files, polling for changes and default sass and css file locations

Received: by 10.52.33.4 with SMTP id n4mr20572457vdi.1.1335206836915;
        Mon, 23 Apr 2012 11:47:16 -0700 (PDT)
X-BeenThere: compass-users@googlegroups.com
Received: by 10.220.240.129 with SMTP id la1ls3788785vcb.3.gmail; Mon, 23 Apr
 2012 11:47:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.69.48 with SMTP id b16mr1563343vdu.13.1335206834744; Mon,
 23 Apr 2012 11:47:14 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
 carlcr...@gmail.com designates internal as permitted sender)
 smtp.mail=carlcr...@gmail.com; dkim=pass
 header...@gmail.com
Received: by er9g2000vbb.googlegroups.com with HTTP; Mon, 23 Apr 2012 11:47:14
 -0700 (PDT)
Date: Mon, 23 Apr 2012 11:47:14 -0700 (PDT)
In-Reply-To: <CANyEp6VrqidipqHov+fwC3dQk9uZ03xqXYb9UvdyccB44OAVAg@mail.gmail.com>
References: <9b95a140-91e6-42e4-bcf8-2aecb0f58a39@n5g2000vbf.googlegroups.com>
 <19ec7e83-c3bd-416f-9584-6f73fd96bd5e@m7g2000vbg.googlegroups.com>
 <CANyEp6U0M4CMMyWeDVU4GShX=FyVkN1CAarGDBrN2bvoidJ7wg@mail.gmail.com>
 <3484bc5b-445d-4007-8595-eee2654fb36e@c28g2000vbu.googlegroups.com> <CANyEp6VrqidipqHov+fwC3dQk9uZ03xqXYb9UvdyccB44OAVAg@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML,
 like Gecko) Chrome/18.0.1025.162 Safari/535.19,gzip(gfe)
Message-ID: <7f8d36c2-a2a7-4811-bf5c-1e6971398c90@er9g2000vbb.googlegroups.com>
Subject: Re: rails 3.0.11 with .sass files, polling for changes and default
 sass and css file locations
From: CrazyCarl <carlcr...@gmail.com>
To: Compass <compass-users@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

alright this time in order:


$ rails new edge_bg --database=postgresql

#/Gemfile
source 'http://rubygems.org'
gem 'rails', '3.0.11'
gem 'pg'
gem 'haml'
gem 'sass'
gem 'haml-rails' # allows generators to write .haml files
group :assets do
  gem 'compass-rails'
end

$ bundle
$ bundle exec compass init rails --using blueprint --syntax sass
$ rails generate controller Pages home about contact

#/config/application.rb:
Bundler.require(:default, :assets, Rails.env) if defined?(Bundler)

$ rails s #browse to localhost:3000/pages/about

#/app/views/layouts/application.html.haml
= stylesheet_link_tag 'screen'

# Above link throws: