Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9085417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:14:22+00:00 2026-06-16T21:14:22+00:00

Possible Duplicate: How do I fix a RVM install that was done using SUDO

  • 0

Possible Duplicate:
How do I fix a RVM install that was done using SUDO

I have created a user on my server ‘myuser’ . Logged into it and ran this cmd :

curl -L get.rvm.io | bash -s -- --auto-dotfiles

Everything fine and installed correctly.

Bymistake, I deleted the home directory using another user login, i.e /home/myuser (where rvm is installed) (logged in by other user ‘anothuser’).

Then lost rvm, so tried running the same install cmd , but now got this error :

    curl -L get.rvm.io | bash -s -- --auto-dotfiles
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
  100   185  100   185    0     0    349      0 --:--:-- --:--:-- --:--:--  1094
  100 10956  100 10956    0     0  10248      0  0:00:01  0:00:01 --:--:-- 10248
 Turning on auto dotfiles mode.
  mkdir: cannot create directory `/usr/local/rvm': Permission denied

So, I deleted the user , created again the same user and ran this command again, but again the same error .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T21:14:23+00:00Added an answer on June 16, 2026 at 9:14 pm

    You need to clean old installation:

    sudo rm -rf /etc/rvmrc /etc/profile.d/rvm.sh /usr/local/rvm
    

    and restart to clean all loaded shell environment – it is required step

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How to fix the flickering in User controls my textbox flickers when
Possible Duplicate: How do I fix this Perl code so that 1.1 + 2.2
Possible Duplicate: How can i fix my scrollView dynamically when i have more than
Possible Duplicate: HOWTO: Fix Python Indentation I have Python library where only 2 spaces
Possible Duplicate: Java float division precision I'm trying to fix a bug in one
Possible Duplicate: How do I make a request using HTTP basic authentication with PHP
Possible Duplicate: Restore WindowState from Minimized I have window which is normally hidden in
Possible Duplicate: custom UITextField with image as a background blinking cursor issue I have
Possible Duplicate: How to fix double-encoded UTF8 characters (in an utf-8 table) I see
Possible Duplicate: pinvokestackimbalance — how can I fix this or turn it off? I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.