Skip to content

Commit 5441f42

Browse files
Merge pull request #4 from sman591/ruby-bundler
Use bundler for Sass dependency
2 parents 53662cd + a4e4f2b commit 5441f42

File tree

5 files changed

+24
-5
lines changed

5 files changed

+24
-5
lines changed

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,14 @@ build/Release
7979
# Dependency directories
8080
node_modules
8181
jspm_packages
82+
bower_components
83+
vendor
8284

8385
# Optional npm cache directory
8486
.npm
8587

8688
# Optional REPL history
8789
.node_repl_history
8890

89-
# Dependency directories
90-
bower_components
91-
9291
# Sass Cache
93-
.sass-cache
92+
.sass-cache

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# A sample Gemfile
2+
source "https://rubygems.org"
3+
4+
gem "sass"

Gemfile.lock

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
sass (3.4.22)
5+
6+
PLATFORMS
7+
ruby
8+
9+
DEPENDENCIES
10+
sass
11+
12+
BUNDLED WITH
13+
1.11.2

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ module.exports = function (grunt) {
4545
options: {
4646
style: 'expanded',
4747
precision: 8,
48+
bundleExec: true,
4849
'unix-newlines': true
4950
}
5051
}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,18 @@ You can also import the theme into your styles using SASS.
3434

3535
Development
3636
------------
37-
You must have Node + NPM, Grunt CLI, and Bower installed.
37+
You must have Node + NPM, Grunt CLI, Bower, and Ruby + Bundler installed.
3838

3939
* To install Grunt CLI, run: `npm install -g grunt-cli`
4040
* To install Bower, run: `npm install -g bower`
41+
* To install Bundler, run: `gem install bundler`
4142

4243
Once you have those tools installed, clone this repo and run the following commands to install dependencies:
4344

4445
```
4546
npm install
4647
bower install
48+
bundle install
4749
```
4850

4951
Once all of the dependencies are installed, run `grunt build` to build the theme (artifacts will be dropped in `./dist`), or simply `grunt` to start a live reload server for development.

0 commit comments

Comments
 (0)