No CSS generation using Rails3 + haml 3.0.10

34 views
Skip to first unread message

cs44

unread,
Jun 9, 2010, 5:04:56 PM6/9/10
to Haml
Using Rails3 (b3) app with haml 3.0.10, I'm unable to generate CSS
from my sass files @ public/stylesheets/sass. I don't see an error in
my rails console, so I'm not sure where the point of failure is. That
said, 'sass --watch public/stylesheets/sass:public/stylesheets' is
working just fine, but we'd really like to figure out why sass and
rails aren't playing nicely.

Any suggestions on debugging this? Is there a specific location for
sass errors?

Thanks!

Gemfile:

gem 'rails', '3.0.0.beta3'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'haml'
gem 'rails3-generators', :group => :development

yannis_

unread,
Jun 9, 2010, 5:34:39 PM6/9/10
to Haml
Hi,
I got the same problem a few days ago (http://groups.google.com/group/
haml/browse_thread/thread/9a1cc4868ab12c72).
I was unable to recreate a minimal Rails app that demonstrates the
issue, as suggested by Nathan (maybe you could).
The cause of this issue is probably the presence of non Rails3-ready
gem (or several).
Which version of the haml gem do you use?
I finally regenerated a blank rails 3.0.0.beta4 app, used haml
(3.0.10) and copied all the files I needed in it, and it worked. Not
so elegant for a solution but I'm still investigating the cause of
this issue (probably the devise gem in my case).
Best,
Yannis

cs44

unread,
Jun 9, 2010, 5:49:13 PM6/9/10
to Haml
I created a new Rails3 app, this time using beta4 -- still no luck. In
my gemfile I have only the following:


gem 'rails', '3.0.0.beta4'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'haml'

As far as my local gems -- would any of them be a problem? If my
understanding is correct, they would not be, as the app is only using
what is loaded via the gemfile. Correct?

Nathan Weizenbaum

unread,
Jun 9, 2010, 5:52:20 PM6/9/10
to ha...@googlegroups.com
I've managed to reproduce this problem, and I think I'll be able to produce a fix some time tonight.


--
You received this message because you are subscribed to the Google Groups "Haml" group.
To post to this group, send email to ha...@googlegroups.com.
To unsubscribe from this group, send email to haml+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.


cs44

unread,
Jun 9, 2010, 5:53:35 PM6/9/10
to Haml
That's great news! Thanks for checking into this.
Reply all
Reply to author
Forward
0 new messages