rails3.2 整合compass, blueprint实录

  1.   修改Gemfile
    group :assets do
      gem 'sass-rails' # if running rails 3.1 or greater
      gem 'compass-rails', '1.0.1'
    end
    

    bundle install
  2. 安装
    bundle exec compass init --using blueprint

  3. 修改application.css 为 application.css.scss
    @import "compass";
    @import "blueprint";
    @import "photos";

你可能感兴趣的:(Rails,import)