-
Notifications
You must be signed in to change notification settings - Fork 61
Downgrade sprockets #28
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,25 @@ Clone the repository | |
git clone https://github.com/greypants/gulp-rails-pipeline.git | ||
``` | ||
|
||
Enter into the directory and run bundle install | ||
Enter into the directory and run bundle install. | ||
``` | ||
cd gulp-rails-pipeline | ||
bundle install | ||
``` | ||
|
||
If you are on mac you may be required to run the following to [install PostgreSQL libraries successfully](http://stackoverflow.com/a/28206009/1376627). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't include PostgreSQL as a dependency here... this bit might be distracting/confusing to anyone not using it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be honest I'm not sure why I had to install it in this way or why I needed the Maybe the readme should say something like run |
||
|
||
ARCHFLAGS="-arch x86_64" bundle install | ||
|
||
It is required to update sprockets to use an older `2.x` version to remove `self.js` from loaded resources for | ||
BrowserSync to work properly | ||
|
||
bundle update sprockets | ||
|
||
or for mac | ||
|
||
ARCHFLAGS="-arch x86_64" bundle update sprockets | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With this update, you wouldn't need to run these commands would you, unless you'd already bundled with a newer version right? |
||
Install javascript dependencies. Once npm install runs, the `postinstall` setting in `package.json` will run `gulp build` and do an initial build of your assets. | ||
``` | ||
npm install | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this could just be a requirement for test and development?