-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruby setup #250
Ruby setup #250
Conversation
84a759d
to
8fbe7df
Compare
I'm not entirely sure why I had to downgrade sass-embedded from |
Tested with:
|
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.
My main concern is that you seem to be manually editing Gemfile.lock. You should never do that, all changes should come via requests in Gemfile or bundler update or similar.
The other changes seem fine.
The commit is the result of |
- Constrain sass-embedded to <=1.53 in Gemfile, because later versions produce version conflicts on Linux. - Update locked versions with `bundle upate`` and bring bundler version in line with pinned ruby version. Signed-off-by: Gerwin Klein <[email protected]>
- set up Ruby according to .ruby-version - cache Ruby deps Signed-off-by: Gerwin Klein <[email protected]>
- reorganise README to show build instructions earlier - seprate install from build - rewrap at 80 Signed-off-by: Gerwin Klein <[email protected]>
This should really be managed with a requirements.txt and some kind of virtual env setup, but that's a later step. Signed-off-by: Gerwin Klein <[email protected]>
Add missing platforms with `bundle lock --add-platform ..` and `bundle update`. Not tested on Windows, but the tzinfo dependency was added specifically for Windows at some point, so it may well work. Adding the Windows platform removes the annoying warning about tzinfo. Signed-off-by: Gerwin Klein <[email protected]>
The Makefile already runs `bundle install`, so we don't need to call it manually. Signed-off-by: Gerwin Klein <[email protected]>
Rebased, addressed review feedback and documented in the commit message how Gemfile.lock was updated for the future. |
That dependency caching for Ruby is quite nice. The build is much faster now. |
rbenv
setup in README