简体   繁体   English

红宝石版本在rbenv中应该放在哪里?

[英]Where ruby versions should go in rbenv?

I'm on ubuntu and installed rbenv + ruby-build. 我在ubuntu上并安装了rbenv + ruby​​-build。 when I try to install any version I get an error. 当我尝试安装任何版本时,都会出现错误。 from the log it seems that it tries to install ruby at /usr/local/rbenv/versions which gives a Permission denied error. 从日志看来,它试图在/usr/local/rbenv/versions上安装ruby,这给出了Permission denied错误。 I'm not sure if this the right path versions should go? 我不确定是否应该使用正确的路径版本? On my Mac its /usr/local/Cellar/rbenv/shims/ruby ! 在我的Mac上,它的/usr/local/Cellar/rbenv/shims/ruby

Any clue? 有什么线索吗?

使用sudo <your_install_command>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM