[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Installing gems/updating for a specific user.

Tim Mcd

8/3/2008 1:55:00 AM

So, the admin of my Mac Mini (Running Mac OS X 10.4 Tiger) has
completely forgotten the sudo password. Go figure. Is there a way to
install gems and etc. for a specific user only? Or would I need to
install ruby for the specific user? A separate install of ruby?
--
Posted via http://www.ruby-....

4 Answers

Sam Haskins

8/3/2008 2:32:00 AM

0

I don't know much about gems, but the sudo password is the password to
an account with administrative rights, not a separate name. It takes
the password of whoever is logged in as long as they have rights to
sudo.
(apologies if he has forgotten that password too)

On Aug 2, 2008, at 9:55 PM, Tim Mcd wrote:

> So, the admin of my Mac Mini (Running Mac OS X 10.4 Tiger) has
> completely forgotten the sudo password. Go figure. Is there a way to
> install gems and etc. for a specific user only? Or would I need to
> install ruby for the specific user? A separate install of ruby?
> --
> Posted via http://www.ruby-....
>


Tim Mcd

8/3/2008 2:47:00 AM

0

Sam Haskins wrote:
> I don't know much about gems, but the sudo password is the password to
> an account with administrative rights, not a separate name. It takes
> the password of whoever is logged in as long as they have rights to
> sudo.
> (apologies if he has forgotten that password too)

My account or 'side' on the computer doesn't have admin privs, and he
forgot the admin sudo password. Would the fresh install of ruby for the
specified user only work?
--
Posted via http://www.ruby-....

Michael Fellinger

8/3/2008 4:26:00 AM

0

On Sun, Aug 3, 2008 at 11:46 AM, Tim Mcd <tmcdowell@gmail.com> wrote:
> Sam Haskins wrote:
>> I don't know much about gems, but the sudo password is the password to
>> an account with administrative rights, not a separate name. It takes
>> the password of whoever is logged in as long as they have rights to
>> sudo.
>> (apologies if he has forgotten that password too)
>
> My account or 'side' on the computer doesn't have admin privs, and he
> forgot the admin sudo password. Would the fresh install of ruby for the
> specified user only work?

export GEM_HOME="$HOME/.gems"
export GEM_PATH="$GEM_HOME"
export PATH="$HOME/.gems/bin:$PATH"

Modify to meet your needs, and start installing your gems :)
I hope you know where to put the export to get it set when you open a
terminal, i'm not familiar with osx.

^ manveru

unknown

8/3/2008 9:32:00 PM

0

Boot with a Mac OS X CD (DVD?) and change the admin password.

"Tim Mcd" <tmcdowell@gmail.com> wrote in message
news:dedfff7d22993af39bc780a4ed6dfb21@ruby-forum.com...
> So, the admin of my Mac Mini (Running Mac OS X 10.4 Tiger) has
> completely forgotten the sudo password. Go figure. Is there a way to
> install gems and etc. for a specific user only? Or would I need to
> install ruby for the specific user? A separate install of ruby?
> --
> Posted via http://www.ruby-....
>