From: Vassilis Rizopoulos Date: 2007-05-17T19:16:31+09:00 Subject: Re: Gem releasing with Hoe: VERSION environment variable required? Vassilis Rizopoulos wrote: > I want to upload a gem to rubyforge and I am using Hoe to do it. > > When I do rake release it stops with the message > > > Must supply VERSION=x.y.z > > after creating the gem. > > Hoe s v1.2.0. Looking into the code I see: > > task :release => [:clean, :package] do |t| > v = ENV["VERSION"] or abort "Must supply VERSION=x.y.z" > > How is this supposed to work? > Cheers, > V.- To answer my own question: rake release VERSION=x.y.z It should have been easy, since it is well documented in "Building Your First Gem With Hoe" by Jacob Harris, only that the slides I found on http://www.slideshare.net/vishnu/hoe-talk/ have all the interesting points (the commands) garbled (like where on the 3rd slide it says gem build, the slide has DFGHIJLM). Might be a browser problem (I'm on Firefox on Mac) or a codepage problem. Luckily I found a PDF version on http://www.nimblecode.com/files/hoetalk.pdf Just for the record. V.- -- http://www.braveworld.net/riva