[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

gem help

Ara.T.Howard

2/14/2006 1:53:00 AM

2 Answers

Alex Fenton

2/14/2006 2:02:00 AM

0

ara.t.howard@noaa.gov wrote:

> and this gem, apparently, does not install a 'rubyforge' script into the
> system
> bin dir. why not?

Try adding some additional spec items to your gemspec.

The following works for me:

s.bindir = "." # yours looks to be bin
s.executables = [ "weft-qda.rb" ] # or whatever your main script is called
s.default_executable = "weft-qda.rb"

hth
alex

Ara.T.Howard

2/14/2006 3:24:00 AM

0