I dove back into Selenium on a week or so ago, and part of that meant getting the nightly build. And much to my dismay, the Ruby client is not packaged as part of it.
Bug 1: The gem binary is not part of the nightly build
So I had to check the tree out of subversion to make it myself.
Bug 2: The repository url is wrong
On the OpenQA site, the url specified is for openqa.org, but seems like things are migrating to a new domain, so you need to use
https://svn.seleniumhq.org/svn/selenium-rc/trunk/
instead.
Once I got the code I wandered over to the ruby client directory and tried to figure out which Rake task to run. rake -T is the standard way to have rake parse it’s Rakefile and tell you the tasks. Except, you need to have built the system before it would tell you that.
Bug 3: rake -T doesn’t work
Okay. Fine. Build the whole thing (mvn install) then go back to the ruby client directory and build it (rake gem). Finally you need to install the gem. Just make sure that you specify the correct version of your gem in the script
This is more of a feature request, but if you are building a gem over-and-over I can see your gem store getting pretty cluttered. To partially address this versioning issue, I propose
Bug 4: version of gem should be timestamped in addition to version number in non-release builds
Categories
- Android (2)
- BITW (5)
- Books (21)
- CAST2008 (2)
- GLSEC2008 (14)
- Housekeeping (22)
- Interviews (1)
- javascript (1)
- marketing (1)
- Podcasts (28)
- Process (23)
- Python (19)
- Quality (400)
- Ruby (7)
- s3cr3t (1)
- Selenium (10)
- Star West 2010 (8)
- subversion (1)
- Uncategorized (415)
- Video (54)
- What I Learned Yesterday (3)
Find things by
- Browsing...
- Searching...
Nice job, Adam! I couldn’t imagine such furious efforts to get the client work!