Skip to content

Instantly share code, notes, and snippets.

@wycats
Created December 19, 2011 06:04
Show Gist options
  • Save wycats/1495635 to your computer and use it in GitHub Desktop.
Save wycats/1495635 to your computer and use it in GitHub Desktop.

Step 1: Install bundler

# on OSX, using built-in Ruby
$ sudo gem install bundler --pre

Step 2: Create a Gemfile

# inside your app directory
$ bundle init

# will create a file named Gemfile in the root

Step 3: Add rake-pipeline to the Gemfile

# inside the Gemfile
gem "rake-pipeline-web-filters"

Step 4: Install your gems

$ bundle install --binstubs

Step 5: Set up Assetfile

However you were already doing it...

Step 6: Run Rake::Pipeline

# to run the preview server
$ bin/rakep

# to build your assets
$ bin/rakep build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment