Skip to content

Instantly share code, notes, and snippets.

@michaek
Created January 22, 2014 12:16
Show Gist options
  • Save michaek/8557774 to your computer and use it in GitHub Desktop.
Save michaek/8557774 to your computer and use it in GitHub Desktop.
A rudimentary example of a grunt-contrib-coffeescript project, with chruby effectively setting the ruby version (where RVM could not). See https://github.com/gruntjs/grunt-contrib-compass/issues/49
# Just to show that chruby takes effect.
puts RUBY_VERSION
source "https://rubygems.org"
gem 'compass', '>= 0.12.2'
module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-compass'
grunt.initConfig
compass:
dist:
options:
config: 'config.rb'
bundleExec: true
{
"name": "temp",
"version": "0.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "BSD",
"dependencies": {
"grunt": "~0.4.2",
"grunt-contrib-compass": "~0.7.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment