From: Caleb Clausen Date: 2009-08-14T01:25:58+09:00 Subject: [ruby-core:24915] Re: [Feature #1857] install *.h and *.inc Roger Pack wrote: >> If anyone can think of a better approach, please let me know. I don't want this to be something that I have to maintain with every Ruby release. > > The kicker is that not every patch number makes it there--what if they > are running trunk, or an odd patch number--you might need to have > sensible fallbacks in these cases. Though I suppose 99% of us will be > using released patch numbers, and they'll probably stick around on the > ftp site forever, so your original idea is probably sound :) Maybe if you fail to find the exact same release on ftp, you can fall back to svn? That's no longer a pure ruby solution, but I think it's better to try svn and go ahead and fail if it's not installed, rather than fail outright if the file isn't in ftp.