This is a temporary solution for adding support for pre release based gems. An example for this is the octopress gem:
Which currently only has pre-release gems, and can not be installed in any for currently.
Notes for the future
This is a hack, and I don't really like solving the problem in this way, but it is the simplest for the time being. In reality, we really should move away from a single file installation and move towards a more structured library. I have outlined what I think is required to accomplish this here: https://github.com/sportngin/brew-gem/issues/16
QA
Not the easiest to QA, but here are two possible ways to get this code in place:
Modify your brew-gem bin file locally with the changes from this PR. Should be located here: /usr/local/Cellar/brew-gem/CURRENT_VERSION_NUMBER/bin/brew-gem.
Check out this branch, make a tar of the bin directory, and install the formula using the following (requires that brew-gem is not installed currently):
Description
This is a temporary solution for adding support for pre release based gems. An example for this is the octopress gem:
Which currently only has pre-release gems, and can not be installed in any for currently.
Notes for the future
This is a hack, and I don't really like solving the problem in this way, but it is the simplest for the time being. In reality, we really should move away from a single file installation and move towards a more structured library. I have outlined what I think is required to accomplish this here: https://github.com/sportngin/brew-gem/issues/16
QA
Not the easiest to QA, but here are two possible ways to get this code in place:
brew-gem
bin file locally with the changes from this PR. Should be located here:/usr/local/Cellar/brew-gem/CURRENT_VERSION_NUMBER/bin/brew-gem
.Check out this branch, make a tar of the bin directory, and install the formula using the following (requires that brew-gem is not installed currently):
Once you have done one of the above, try installing
octopress
by doing the following: