# RubyGems and bin/

**URL:** <https://www.ruby-forum.com/t/rubygems-and-bin/50454>\
**Category:** Ruby\
**Created:** [December 16, 2005, 3:20pm UTC](https://www.ruby-forum.com/t/rubygems-and-bin/50454 "2005-12-16T15:20:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bbazzarrakk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Post date:** [December 16, 2005, 3:20pm UTC](https://www.ruby-forum.com/t/rubygems-and-bin/50454/1 "2005-12-16T15:20:50Z")

</div>

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 G. II

---

<div class="post-metadata">

**Author:** ![bbazzarrakk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Post date:** [December 16, 2005, 4:06pm UTC](https://www.ruby-forum.com/t/rubygems-and-bin/50454/2 "2005-12-16T16:06:01Z")

</div>

On 12/16/05, James Edward G. II [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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?

---

<div class="post-metadata">

**Author:** ![bbazzarrakk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/47e85d/32.png) [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Post date:** [December 16, 2005, 4:54pm UTC](https://www.ruby-forum.com/t/rubygems-and-bin/50454/3 "2005-12-16T16:54:17Z")

</div>

On Dec 16, 2005, at 9:03 AM, Jim F. wrote:

> 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 G. II
