Need to make a quick monkey patch to a gem you're using? Follow the steps below:
- If you don't have a vendor gems directory: svn mkdir vendor/gems
- cd vendor/gems
- Unpack the gem into your vendor/gems directory with
unpack gem <the_gem_name> - Checkin the above changes so you have a clean version of the gem to start with
- Make your monkey patches and check them in
- Make sure vendor/gems is in the loadpath for gems
And you're done
No comments:
Post a Comment