fatfreecrm/fat_free_crm — Issue #103: Precompile assets: stack level too deep
Author: cmager
Created: 2012-01-18 13:55:20+00:00
State: open

'rake assets:precompile' fails with the message

> $ rake assets:precompile RAILS_ENV=production
> (in /var/www/utils/fatfreecrm-0.10.1.rc3)
> /opt/ruby1.9.2p180/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:9: warning: already initialized constant RUBY
> /opt/ruby1.9.2p180/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/file_utils.rb:86: warning: already initialized constant LN_SUPPORTED
> rake aborted!
> stack level too deep

calling the login screen returns

> Started GET "/crm/login" for 192.168.99.20 at 2012-01-18 13:22:13 +0100
> Processing by AuthenticationsController#new as HTML
> Rendered authentications/new.html.haml within layouts/application (20.4ms)
> Completed 500 Internal Server Error in 57ms
>
> ActionView::Template::Error (application.css isn't precompiled):
> 4: %meta{ "http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
> 5: %title Fat Free CRM
> 6: ==
> 7: = stylesheet_link_tag :application
> 8: = stylesheet_link_tag :print, :media => 'print'
> 9: - unless tabless_layout?
> 10: = stylesheet_link_tag 'calendar_date_select/default'
> app/views/layouts/application.html.haml:7:in `_app_views_layouts_application_html_haml__423585962_101920470'

Is this related to https://github.com/fatfreecrm/fat_free_crm/issues/98 ?

System:
Debian Sqeeze
Ruby 1.9.2-p180
Postgres 9.0
Apache2/Passenger

Cheers Christian.