You can fix this even on bamboo with the following steps:

Get the bleeding edge version of sass

gem 'sass', :git => 'git://github.com/nex3/sass.git'

Update both sass-rails and compass in your Gemfile:

gem 'sass-rails', '3.1.4' # if running rails 3.1 or greater
gem "compass-rails"


bundle update sass-rails compass-rails

Make sure you ONLY use @include statements and NEVER use //=require statements 
in SCSS or SASS files.


This will also make asset compilation much faster.  

Rob


On Apr 17, 2012, at 7:27 , Senna wrote:

> This is really annoying. It works fine locally (development) but when
> I push it to Heroku it crashes on the first HTTP request, then if I
> press F5 it works fine. So it seems to crash when the app first spins
> up. ANY advise would be greatly appreciated! I'm on bamboo-mri-1.9.2
> 
> I think this is where the error is in the Heroku Log output:
> 
> 2012-04-14T20:09:19+00:00 app[web.1]: Sass::SyntaxError (File to
> import not found or unreadable: bourbon.
> ...
> 2012-04-14T19:08:14+00:00 app[web.1]: .bundle/gems/ruby/1.9.1/gems/
> railties-3.2.3/lib/rails/railtie/configurable.rb:30:in
> `method_missing'
> 
> Complete Heroku Log Output: http://pastebin.com/raw.php?i=rvdkPwzR
> 
> -- 
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to