Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Gem releasing with Hoe: VERSION environment variable required?
Vassilis Rizopoulos
5/16/2007 6:01:00 PM
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.-
--
http://www.braveworl...
1 Answer
Vassilis Rizopoulos
5/17/2007 10:17:00 AM
0
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...
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/h...
Just for the record.
V.-
--
http://www.braveworl...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Gem releasing with Hoe: VERSION environment variable required?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password