From: Aldric Giacomoni <"aldric[removeme]"@...> Date: 2008-12-21T10:06:52+09:00 Subject: Re: Trying to make modifications to a gem... Ryan Davis wrote: > On Dec 20, 2008, at 15:06 , Aldric Giacomoni wrote: > >> I'm toying around with a gem. How can I easily make changes and test >> them? What I've done is copy the directory with the gem files inside >> to >> another folder within the 'gems' subdirectory and made my changes in >> there (renamed it from gemname-0.3 to gemname-0.4). I was hoping it >> would be enough but it isn't. >> Do I have to re-package it as a gem and reinstall the gem every time I >> make a change ? Is there an easy solution? >> Just in case it matters, the gem is written in ruby, it's a bunch of >> 'Ruby files that are all 'required' by the main gem file. >> Maybe what I need is 'Ruby gems for dummies' ? > > it'd be a lot nicer for everyone (assuming your changes are for good, > not for evil) if you submitted your changes back to the author. > > > I will - I am talking with the author via e-mail - but this is also my first attempt at making a big class and changing a gem.. So I want to know how to test it. I'm only been using Ruby for 2 months or so and don't know much about gem-making and gem-modifying.. I'd probably die of shame if I told the author "Hey, I made changes to your gems, here's what I did" and then it's all broken because the code is retarded. I'd like to submit something that works ;-) This being said, I'm going back to my original question.. :) --Aldric