Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to fix a botched multi-user/system-wide install?
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
  8 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
 
Andrew Havens  
View profile  
 More options Apr 23 2012, 2:50 pm
From: Andrew Havens <misbehav...@gmail.com>
Date: Mon, 23 Apr 2012 11:50:40 -0700 (PDT)
Local: Mon, Apr 23 2012 2:50 pm
Subject: How to fix a botched multi-user/system-wide install?

My co-worker installed multi-user RVM on our dev server. I'm not sure how
he did it, but it is not working how I would expect. Anyway, RVM seems to
be loaded for my individual user, but I don't have permission to install
rubies or gems. Here is the error I get while trying to install a gem:

You don't have write permissions into the /usr/local/rvm/gems/ruby-1.9.3-p0
directory.

The directory is owned by root and group rvm.

I upgraded/installed the latest version (curl -L get.rvm.io | sudo bash -s
stable), which seemed to upgrade fine, but didn't fix the problem.

What should I do to fix this install?

--Andrew


 
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.
Ben Mills  
View profile  
 More options Apr 23 2012, 2:57 pm
From: Ben Mills <b...@unfiniti.com>
Date: Mon, 23 Apr 2012 12:57:04 -0600
Local: Mon, Apr 23 2012 2:57 pm
Subject: Re: [rvm] How to fix a botched multi-user/system-wide install?

Is your user in the rvm group?  Run   id YOURUSERNAME

On Mon, Apr 23, 2012 at 12:50 PM, Andrew Havens <misbehav...@gmail.com>wrote:


 
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.
Andrew Havens  
View profile  
 More options Apr 23 2012, 3:08 pm
From: Andrew Havens <misbehav...@gmail.com>
Date: Mon, 23 Apr 2012 12:08:01 -0700 (PDT)
Local: Mon, Apr 23 2012 3:08 pm
Subject: Re: [rvm] How to fix a botched multi-user/system-wide install?

It does not look like my user is part of the rvm group. It was my
understanding from the installation docs that the RVM install script made
RVM available to all users on the system. Is this not the case? How can I
give everyone access to install rubies/gems? Do I need to manually go
through and add each user to the rvm group?

--Andrew


 
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.
Ben Mills  
View profile  
 More options Apr 23 2012, 3:12 pm
From: Ben Mills <b...@unfiniti.com>
Date: Mon, 23 Apr 2012 13:12:38 -0600
Local: Mon, Apr 23 2012 3:12 pm
Subject: Re: [rvm] How to fix a botched multi-user/system-wide install?

Yes. Every user you'd like to be able to use a system-wide RVM needs to be
part of the rvm group. The rvm group has permissions to install things to
the directories for which you're getting access denied errors. If you need
to do this for a bunch of users, it would take a few seconds to do this
with a shell script so you wouldn't have to run the command individually
for every user.

On Mon, Apr 23, 2012 at 1:08 PM, Andrew Havens <misbehav...@gmail.com>wrote:


 
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.
Andrew Havens  
View profile  
 More options Apr 23 2012, 4:18 pm
From: Andrew Havens <misbehav...@gmail.com>
Date: Mon, 23 Apr 2012 13:18:33 -0700 (PDT)
Local: Mon, Apr 23 2012 4:18 pm
Subject: Re: [rvm] How to fix a botched multi-user/system-wide install?

For future reference for anyone who experiences this in the future...

To append a user to the rvm group:
*sudo usermod -a -G rvm yourusername*
*
*
To see which users are part of the rvm group:
*grep rvm /etc/group**
*
*
*
It would be nice if this step was part of the documentation (or maybe
called out a little more clearly for those of us who missed this step).


 
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.
Erk  
View profile  
 More options Apr 23 2012, 4:33 pm
From: Erk <erik.ols...@gmail.com>
Date: Mon, 23 Apr 2012 13:33:04 -0700 (PDT)
Local: Mon, Apr 23 2012 4:33 pm
Subject: Re: [rvm] How to fix a botched multi-user/system-wide install?

Any ideas on what to do for a system where users will be coming in from
LDAP, and there is no way to know how many, or who, or when they will need
access to RVM in the future?


 
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.
Ben Mills  
View profile  
 More options Apr 23 2012, 4:33 pm
From: Ben Mills <b...@unfiniti.com>
Date: Mon, 23 Apr 2012 14:33:35 -0600
Local: Mon, Apr 23 2012 4:33 pm
Subject: Re: [rvm] How to fix a botched multi-user/system-wide install?

The installation asks you to read rvm notes and rvm requirements. That's
where this information is listed. After every rvm install on any system,
please read rvm notes and rvm requirements and they often contain
up-to-date and crucial information for things you need to do to for your
installation to function properly.

Please also note that the usermod command options differ between Linux
distros so be sure to read the manual for your command.

On Mon, Apr 23, 2012 at 2:18 PM, Andrew Havens <misbehav...@gmail.com>wrote:


 
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.
Ben Mills  
View profile  
 More options Apr 23 2012, 4:40 pm
From: Ben Mills <b...@unfiniti.com>
Date: Mon, 23 Apr 2012 14:40:30 -0600
Local: Mon, Apr 23 2012 4:40 pm
Subject: Re: [rvm] How to fix a botched multi-user/system-wide install?

I don't have much experience with LDAP so my only recommendation is for you
to try to find a way to, A) hook up your LDAP user creation so you can
assign users to local linux groups, or, B) write a script to look up users
that are in an LDAP group named rvm_win and add all of them to the local
linux machine's rvm group. I'm sure there's a way to do the former.

Keep me posted on your solution when you get something working.


 
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 »