Rails 3.2 and activeadmin

Just make and upgrade to rails 3.2 from 3.1.3.

Activeadmin does not get the job until everything is in order ... its unloaded css files and showing this exception in the admin.css file

Syntax error: File to import not found or unreadable: bourbon.
              Load paths:
                /home/gull/Desktop/projects/avm_web_services/public/stylesheets/sass
                /home/gull/.rvm/gems/ruby-1.9.2-p180@rails3/gems/activeadmin-0.4.0/app/assets/stylesheets
                /home/gull/.rvm/gems/ruby-1.9.2-p180@rails3/gems/activeadmin-0.4.0/lib/active_admin/sass
        on line 11 of /home/gull/.rvm/gems/ruby-1.9.2-p180@rails3/gems/activeadmin-0.4.0/app/assets/stylesheets/active_admin/mixins/_all.css.scss
        from line 1 of /home/gull/.rvm/gems/ruby-1.9.2-p180@rails3/gems/activeadmin-0.4.0/app/assets/stylesheets/active_admin/_mixins.css.scss
        from line 2 of /home/gull/.rvm/gems/ruby-1.9.2-p180@rails3/gems/activeadmin-0.4.0/lib/active_admin/sass/active_admin.scss

Thanks in advance

+5
source share
3 answers

rails generate active_admin: assets

+10
source

I had the same problem and it was solved like this (application.rb):

https://gist.github.com/1197686

+1
source

" : : ",

rails generate active_admin:assets

Bundler.require(:default, :assets, Rails.env)

.

, bourbon install , / app/assets/stylesheets, , ...

+1

All Articles