Need Help Creating Gems

B

Bryan Richardson

[Note: parts of this message were removed to make it a legal post.]

Hello all,

I've successfully created a RubyGem, but I do have one problem. I have a
bin/ directory in my Gem, and I assumed any file in that directory would
automatically get added to the bin/ directory of the location where gems are
stored locally on a machine. However, this does not happen. Is there an
extra argument I need to supply in the Rakefile to make this happen?

Thanks in advance! -- BTR
 
L

Luis Lavena

[Note: parts of this message were removed to make it a legal post.]

Hello all,

I've successfully created a RubyGem, but I do have one problem. I have a
bin/ directory in my Gem, and I assumed any file in that directory would
automatically get added to the bin/ directory of the location where gems are
stored locally on a machine. However, this does not happen. Is there an
extra argument I need to supply in the Rakefile to make this happen?

Thanks in advance! -- BTR

Gem Spec documentation:
http://docs.rubygems.org/

bindir:
http://docs.rubygems.org/read/chapter/20#bindir

executables:
http://docs.rubygems.org/read/chapter/20#executables

if executables array is empty, no script will be made executable.

HTH,

Luis
 
B

Bryan Richardson

[Note: parts of this message were removed to make it a legal post.]

Luis,

Worked perfectly. Thanks for the great references.

Bryan

[Note: parts of this message were removed to make it a legal post.]

Hello all,

I've successfully created a RubyGem, but I do have one problem. I have a
bin/ directory in my Gem, and I assumed any file in that directory would
automatically get added to the bin/ directory of the location where gems are
stored locally on a machine. However, this does not happen. Is there an
extra argument I need to supply in the Rakefile to make this happen?

Thanks in advance! -- BTR

Gem Spec documentation:
http://docs.rubygems.org/

bindir:
http://docs.rubygems.org/read/chapter/20#bindir

executables:
http://docs.rubygems.org/read/chapter/20#executables

if executables array is empty, no script will be made executable.

HTH,

Luis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top