zenhob / hcl

Command-line tool for manipulating Harvest timesheets
http://zenhob.github.io/hcl
MIT License
223 stars 45 forks source link

Multiple gemfiles #66

Closed asymmetric closed 9 years ago

asymmetric commented 9 years ago

Splits gemfiles based on platform, and uses a Travis build matrix to select the correct one.

MRI (v2+) users will keep on doing a simple bundle install. Rubinius users will have to pass the --gemfile parameter to bundle, like so: bundle install --gemfile=gemfiles/Gemfile.rbx.

We could easily add a Gemfile for MRI 1.9.

@zenhob what do you think about this approach?

Closes #62.

zenhob commented 9 years ago

Very clever! Thanks for doing this, I wasn't aware of the build matrix option in Travis.