Created
January 22, 2014 12:16
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Just to show that chruby takes effect. | |
puts RUBY_VERSION |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem 'compass', '>= 0.12.2' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (grunt) -> | |
grunt.loadNpmTasks 'grunt-contrib-compass' | |
grunt.initConfig | |
compass: | |
dist: | |
options: | |
config: 'config.rb' | |
bundleExec: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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