$ rvm ruby-1.9.2-p290@rails-compass_twitter_bootstrap-demo $ rvm do gem install bundler
/* * This is a manifest file that'll automatically include all the stylesheets available in this directory * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at * the top of the compiled file, but it's generally better to create a new file per style scope. *= require_self */ @import "compass_twitter_bootstrap"; @import "compass/css3"; @import "base";
$ RAILS_ENV=development bundle exec rake assets:precompile $ RAILS_ENV=production bundle exec rake assets:precompile
public/assets for production.
$ rails generate controller home index
- Creates Home#index
(i.e. a controller named
Homewith a method called