It seems everything is in order.. I'll triple check!

thank you!

On Tue, Dec 16, 2008 at 11:23 AM, Matt Aimonetti
<[email protected]> wrote:
> Add a bin dir to your project and put your executable in the folder.
>
> Then, in your gem spec file add a bindir attribute:
>
> spec = Gem::Specification.new do |s|
>   s.bindir       = "bin"
>   [..rest..of..your..settings]
> end
>
> That's it :)
>
> - Matt
>
> p.s: of course you need to make sure the executable gets added to the files
> gem files manifesto.
>
>
>
> On Tue, Dec 16, 2008 at 10:27 AM, Emanuele Tozzato <[email protected]>
> wrote:
>>
>> HI!
>>
>> I was in the mood for packing my first gem for educational purpose and
>> I created RSay (http://code.google.com/p/rsay/) a better*
>> implementation of  rtranslate, but my executable does not work.. I
>> can't use (like it's written in my description) $rsay -f en -t it
>> 'Hello my Friend!'
>>
>> I've noticed that rtranslate puts the executable in
>> /usr/local/bin/rtranslate but I don't get how this is done by the
>> gemspec!
>>
>> (*better - it parses JSON response and does not trigger google spam block)
>>
>> --
>> Emanuele Tozzato
>> +1 (619) 549 3230
>> 4955 Narragansett Ave Apt #9
>> San Diego Ca 92107-3157
>> http://mekdigital.com
>>
>>
>
>
> >
>



-- 
Emanuele Tozzato
+1 (619) 549 3230
4955 Narragansett Ave Apt #9
San Diego Ca 92107-3157
http://mekdigital.com

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to