search

Home  >  Q&A  >  body text

ruby - gem install sqlite3 -v '1.3.9' 权限被拒绝是怎么回事?

[frozen@localhost first_app]$ gem install sqlite3 -v '1.3.9'
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /home/frozen/.rvm/gems/ruby-2.0.0-p481@railstutorial_rails_4_0/gems/sqlite3-1.3.9/.gemtest

伊谢尔伦伊谢尔伦2777 days ago700

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-22 09:01:27

    sudo chmod 777 /home/frozen/.rvm

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-22 09:01:27

    sudo chown -R frozen /home/frozen/.rvm

    reply
    0
  • Cancelreply