Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > gem install specific version

Reply
Thread Tools

gem install specific version

 
 
barjunk
Guest
Posts: n/a
 
      05-09-2007
I know that I can do:

gem install --version '> 0.3.2' packagename

but what if there is a "mswin" and a "ruby" version? Any way to get
it to pick the right one?

Mike B.

 
Reply With Quote
 
 
 
 
Rick DeNatale
Guest
Posts: n/a
 
      05-09-2007
On 5/8/07, barjunk <(E-Mail Removed)> wrote:
> I know that I can do:
>
> gem install --version '> 0.3.2' packagename
>
> but what if there is a "mswin" and a "ruby" version? Any way to get
> it to pick the right one?


Not that I know of, but there's been quite a bit of discussion of late
on the rubygems list on getting gem to recognize different platforms
and do away with the need to select mswin vs. ruby vs. new platforms
like jruby.

It seems to have the attention of the gems developers. I for one will
welcome this when they implement it.

--
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

 
Reply With Quote
 
 
 
 
John Joyce
Guest
Posts: n/a
 
      05-10-2007
I second that. There is plenty of information about the system
available to software.
On May 10, 2007, at 5:41 AM, Rick DeNatale wrote:

> On 5/8/07, barjunk <(E-Mail Removed)> wrote:
>> I know that I can do:
>>
>> gem install --version '> 0.3.2' packagename
>>
>> but what if there is a "mswin" and a "ruby" version? Any way to get
>> it to pick the right one?

>
> Not that I know of, but there's been quite a bit of discussion of late
> on the rubygems list on getting gem to recognize different platforms
> and do away with the need to select mswin vs. ruby vs. new platforms
> like jruby.
>
> It seems to have the attention of the gems developers. I for one will
> welcome this when they implement it.
>
> --
> Rick DeNatale
>
> My blog on Ruby
> http://talklikeaduck.denhaven2.com/
>



 
Reply With Quote
 
bbiker
Guest
Posts: n/a
 
      05-11-2007
On May 8, 8:29 pm, barjunk <(E-Mail Removed)> wrote:
> I know that I can do:
>
> gem install --version '> 0.3.2' packagename
>
> but what if there is a "mswin" and a "ruby" version? Any way to get
> it to pick the right one?
>
> Mike B.


yes, vial gem install. For example:


C:\Documents and Settings\Owner>gem install ruby-debug-base
Select which gem to install for your platform (i386-mswin32)
1. ruby-debug-base 0.9.3 (ruby)
2. ruby-debug-base 0.9.3 (mswin32)
3. ruby-debug-base 0.9.2 (mswin32)
4. ruby-debug-base 0.9.2 (ruby)
5. Skip this gem
6. Cancel installation
> 2


Have you tried? gem install --version '= 0.3.2 (mswin32)' packagename

I normally use the first example ..

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
Getting Gem Version from Within a Gem Frew Schmidt Ruby 10 07-11-2007 01:01 AM
RubyGems 0.9.1 calling a gem with gem '<gem>' Austin 7873 Ruby 5 01-27-2007 10:05 PM



Advertisments