Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
ruby 1.9.1 and gem path issues
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MilesTogoe  
View profile  
 More options Apr 8 2009, 9:13 am
From: MilesTogoe <miles.to...@gmail.com>
Date: Wed, 08 Apr 2009 08:13:17 -0500
Local: Wed, Apr 8 2009 9:13 am
Subject: ruby 1.9.1 and gem path issues
Anyone have experience with running Ruby 1.9.1 and using gems ?   I'm
trying to run ruby 1.9.1 with Sinatra and DataMapper on Fedora 10.   I
have a small bash routine for switching between 1.9.1 and 1.8.6 which
switches MY_RUBY_HOME path to the right ruby executable and switches
GEM_HOME to "~/.gem/ruby/1.9"  I have got 1.9.1 compiled and installed
but when I go to run Sinatra - it does not find the gems.  I think the
problem all relates to gem paths.  I installed gems running as 1.9.1 but
not sure where they got put.  So:
1) where does 1.9.1 store gems ?  
2) what is the right default path for gems in 1.9.1 ?

thks for any help


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roger Pack  
View profile  
 More options Apr 8 2009, 11:03 am
From: Roger Pack <rogerdp...@gmail.com>
Date: Wed, 8 Apr 2009 09:03:30 -0600
Local: Wed, Apr 8 2009 11:03 am
Subject: Re: [urug] ruby 1.9.1 and gem path issues

> Anyone have experience with running Ruby 1.9.1 and using gems ?   I'm
> trying to run ruby 1.9.1 with Sinatra and DataMapper on Fedora 10.   I
> have a small bash routine for switching between 1.9.1 and 1.8.6 which
> switches MY_RUBY_HOME path to the right ruby executable and switches
> GEM_HOME to "~/.gem/ruby/1.9"  I have got 1.9.1 compiled and installed
> but when I go to run Sinatra - it does not find the gems.  I think the
> problem all relates to gem paths.  I installed gems running as 1.9.1 but
> not sure where they got put.  So:
> 1) where does 1.9.1 store gems ?
> 2) what is the right default path for gems in 1.9.1 ?

> thks for any help

Hmm. I had thought that gems already stored things in its own separate
subdirectories, so perhaps you could leave the GEM_HOME to ~/.gem for
both versions?
-=r

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MilesTogoe  
View profile  
 More options Apr 8 2009, 11:20 am
From: MilesTogoe <miles.to...@gmail.com>
Date: Wed, 08 Apr 2009 10:20:04 -0500
Local: Wed, Apr 8 2009 11:20 am
Subject: Re: [urug] Re: ruby 1.9.1 and gem path issues

maybe the problem has to do with relative paths and different user
accounts - I'm installing gems under root permission and yet running
under a /home user directory.    I didn't have any issue when using
1.8.6 but then I never tried to specify any GEM_HOME paths either.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Devlin Daley  
View profile  
 More options Apr 8 2009, 12:55 pm
From: Devlin Daley <devlin.da...@gmail.com>
Date: Wed, 8 Apr 2009 10:55:14 -0600
Local: Wed, Apr 8 2009 12:55 pm
Subject: Re: [urug] ruby 1.9.1 and gem path issues

> 1) where does 1.9.1 store gems ?

RubyGems can tell you, which takes into account any gem settings you've changed.

$ gem env

-- Devlin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MilesTogoe  
View profile  
 More options Apr 8 2009, 3:40 pm
From: MilesTogoe <miles.to...@gmail.com>
Date: Wed, 08 Apr 2009 14:40:54 -0500
Local: Wed, Apr 8 2009 3:40 pm
Subject: Re: [urug] Re: ruby 1.9.1 and gem path issues
Devlin Daley wrote:
>> 1) where does 1.9.1 store gems ?

> RubyGems can tell you, which takes into account any gem settings you've changed.

> $ gem env

oh yeah, thks.  hmm even my 1.9.1 installed gems are going into
"/usr/lib/ruby/gems/1.8" - makes sense if all gems are in the same
directory but doesnt' seem to make sense that it's listed under "1.8".  
I'll try setting the path to that under 1.9 and see.  Just wondering if
there is a convention here or is it determined by the packagers ?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »