Use bundler to keep track of your ruby gems for a project

This article is a bit outdated now. For the most up to date way I create themes, see the themes for this site, which can be viewed in the github repo: https://github.com/jeffymahoney/loopduplicate.com/

Visit http://bundler.io/ Here's a quick three files (named 'Gemfile', '.ruby_gemset', and '.ruby-version') that you can modify and use for your project. Make sure to change the .ruby-gemset so that there is a namespace that is unique for the project your are working on. Put all these files in your theme directory and run bundle install

Gemfile:
source 'https://rubygems.org'
 
group :development do
 
  gem 'sass', '~>3.2.13'            
  gem 'compass', '~>0.12.2'
  gem 'susy', '~>1.0.9'
 
end
.ruby_gemset :
mynamespace
.ruby-version :
1.9.3

Tags

Article Type

General