[Ruby Error] /home/XXX/.rvm/scripts/rvm: No such file or directory

2021. 7. 26. 12:06·Error code 모음/7. Dev Tools errors
반응형

 

1. 에러 원인


에러의 원인은 잘 모르겠다. 하지만, 몇가지 거론되는 것으로는

 

1) root 계정이 아닌 일반 유저 계정으로 해서 그렇다

2) 다른 경로에 scripts 가 설치가 되어서 그렇다

3) 특정 버전의 rvm 을 설치해야 한다..

 

등등 이 있지만.. 기본적으로는 scripts 가 설치되지 않아 발생하는 에러인 것은 확실하다

 

 

 

 

2. 해결 방법


처음에 입력한 명령어는 

 

 $\curl -sSL https://get.rvm.io | bash -s stable -

였었는데.. 이렇게 했을때 위 에러가 발생을 해서..

 

stackover flow 와 rvm info 홈페이지를 참고해서 아래와 같이 명령어를 고쳐서 했다.

 

 $\curl -sSL https://get.rvm.io | bash -s stable

그랬더니 scripts 경로가 생성이 되었고 

source /home/ec2-user/.rvm/scripts/rvm

명령어 적용에 성공했다 ...

 

 

 

 

 

 

3. 참고 링크


https://stackoverflow.com/questions/26795891/bash-home-xxx-rvm-scripts-rvm-no-such-file-or-directory/42101941

 

bash: /home/XXX/.rvm/scripts/rvm: No such file or directory

I just walk-through with the installation of Ruby on Rails on Ubuntu using RVM. First I have logged in as the root user. Then I started with the following commands. \curl -sSL https://get.rvm.io |...

stackoverflow.com

 

https://rvm.io/rvm/install

 

RVM: Ruby Version Manager - Installing RVM

∞Installing RVM RVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). The basic requirements are bash, curl, gpg2 and overall GNU version of tools - but RVM tries to autodetect it and install anything that is needed.

rvm.io

 

 

반응형
저작자표시 비영리 변경금지 (새창열림)

'Error code 모음 > 7. Dev Tools errors' 카테고리의 다른 글

[ Yarn Error ] 리엑트/node.js 프로젝트 git clone 시 yarn 명령어 실행 안될 때  (0) 2021.08.17
[Docker Error] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?  (0) 2021.08.03
[ VS Code ] esbenp.prettier-vscode Value is not accepted. Valid values: null, error  (0) 2021.07.21
[PySpark Error] py4j.protocol.Py4JError: org.apache.spark.api.python.PythonUtils.getEncryptionEnabled does not exist in the JVM  (0) 2021.06.27
[AWS Error] No package stress available 에러  (0) 2021.03.15
'Error code 모음/7. Dev Tools errors' 카테고리의 다른 글
  • [ Yarn Error ] 리엑트/node.js 프로젝트 git clone 시 yarn 명령어 실행 안될 때
  • [Docker Error] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
  • [ VS Code ] esbenp.prettier-vscode Value is not accepted. Valid values: null, error
  • [PySpark Error] py4j.protocol.Py4JError: org.apache.spark.api.python.PythonUtils.getEncryptionEnabled does not exist in the JVM
쟈누
쟈누
Ad astra per aspera
    반응형
  • 쟈누
    쟈누의 기록공간
    쟈누
  • 전체
    오늘
    어제
    • 분류 전체보기 (444)
      • AWS (31)
        • Glue (4)
        • S3 (1)
      • 클라우드 (0)
      • Data Engineering (37)
        • GitHub (10)
        • NiFi (11)
        • Spark (10)
        • Snowflake (0)
        • 머신러닝, AI (6)
      • 언어 (118)
        • 데이터 베이스 (42)
        • JAVA (9)
        • Python (34)
        • Java Script (15)
        • Linux (18)
      • 프로젝트, 인강 그리고 책 (30)
        • Spotify Project (7)
        • RASA chatbot Project (9)
        • Naver shopping Project (6)
        • 빅데이터를 지탱하는 기술 (8)
      • OLD (56)
        • IT 용어 사전 (13)
        • Front End (12)
        • Back End (31)
      • Error code 모음 (165)
        • 1. SQL errors (17)
        • 2. Hadoop errors (20)
        • 3. Linux Errors (14)
        • 4. Python errors (33)
        • 5. JAVA, Spring errors (41)
        • 6. Jav Script errors (10)
        • 7. Dev Tools errors (9)
        • 8. Git errors (8)
        • 9. Jenkins Errors (4)
        • 10. airflow Errors (2)
        • 11. Aws errors (7)
      • 개인 (1)
        • 책 (1)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 블로그 관리
    • 글쓰기
  • 링크

  • 공지사항

    • 간단한 블로그 소개
  • 인기 글

  • 태그

    NiFi
    설치
    SQL
    Python
    AWS
    error
    json
    MySQL
    java
    API
    linux
    에러
    node
    자바
    Spring
    install
    python error
    리눅스
    Git
    파이썬
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
쟈누
[Ruby Error] /home/XXX/.rvm/scripts/rvm: No such file or directory
상단으로

티스토리툴바