RubyGems and bin/

  • Thread starter James Edward Gray II
  • Start date
J

James Edward Gray II

I'll readily admit that I haven't looked into this much yet. I
thought I would ask here first and get the 10,000 foot view and
pointers for where to dig further.

I'm interested in RubyGems multiple versions feature. I need to be
able to select the version that runs at any given time. The
complication is that the gem installs a bin/ script that is the
primary interface. Can someone explain how RubyGems handles that?

Thanks.

James Edward Gray II
 
J

Jim Freeze

I'm interested in RubyGems multiple versions feature. I need to be
able to select the version that runs at any given time. The
complication is that the gem installs a bin/ script that is the
primary interface. Can someone explain how RubyGems handles that?

I think it is just

myapp _1.2.3_ --options-to-my-app args_for_my_app

where 1.2.3 is the version you want to run.
Otherwise, it runs the latest version.

Is that what you are asking?
 
J

James Edward Gray II

I think it is just

myapp _1.2.3_ --options-to-my-app args_for_my_app

where 1.2.3 is the version you want to run.
Otherwise, it runs the latest version.

Is that what you are asking?

Sure is. Wow, that was easy. Thanks much!

James Edward Gray II
 

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

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top