jellybob / activo-rails

Activo is a theme for Web-app-theme, Formtastic and Attrtastic. This is a Rails plugin to make it painfully easy to use.
http://dmfrancisco.github.com/activo/
MIT License
42 stars 8 forks source link

Asset Pipeline broken #13

Closed radim closed 13 years ago

radim commented 13 years ago

Trying out current rail3_1 branch (w/activo2) and still having issues with asset pipeline. Just by inclusion of

gem 'activo-rails', :git=>'git://github.com/jellybob/activo-rails.git', :branch => 'rails3_1'

assets stops working for whole application (tested both with the existing and new app). Not even default application.css works.

No route matches [GET] "/assets/application.css"

Rails.application.config.assets.paths is correct (as it seems) ["/home/radim/dev/skladomat/app/assets/stylesheets", "/home/radim/dev/skladomat/app/assets/javascripts", "/home/radim/dev/skladomat/app/assets/images", "/home/radim/dev/skladomat/vendor/assets/stylesheets", "/usr/local/rvm/gems/ruby-1.9.2-p180@skladomat/gems/jquery-rails-1.0.11/vendor/assets/javascripts", "/usr/local/rvm/gems/ruby-1.9.2-p180@skladomat/bundler/gems/activo-rails-24c64ee392b0/app/assets/stylesheets", "/usr/local/rvm/gems/ruby-1.9.2-p180@skladomat/bundler/gems/activo-rails-24c64ee392b0/app/assets/fonts", "/usr/local/rvm/gems/ruby-1.9.2-p180@skladomat/bundler/gems/activo-rails-24c64ee392b0/app/assets/javascripts", "/usr/local/rvm/gems/ruby-1.9.2-p180@skladomat/bundler/gems/activo-rails-24c64ee392b0/app/assets/images"]

radim commented 13 years ago

Finished some testing and the problems with the broken asset pipeline is most likely caused by two gems being update to latest version. When using

Using sprockets (2.0.0.beta.11) 
Using uglifier (1.0.0) 

The asset pipeline doesn't work at all. But with original version 2.0.0.beta.10/0.5.4 everything works fine. So the difference is caused by 'bundle update'

radim commented 13 years ago

Not an active-rails@rails3_1 but rather issue with rails 3.1.0.rc4 (either sprockets or uglifier). Closing.