gem install rails ERROR: While executing gem … (Errno::EACCES)

前端 未结 3 802
暗喜
暗喜 2021-01-12 09:47

I somehow messed my $PATH up. (changed it) and my ruby and rails gems weren\'t working. What I did in efforts to fix this was to reinstall RVM. Now my ruby works fine in the

3条回答
  •  独厮守ぢ
    2021-01-12 10:00

    I had this problem in Ubuntu, but it was because I didn't installed the rvm with "Run command as a login shell", after the installation of rvm they told about this, and the link to look for the information to enable in ubuntu. Here's the link: https://rvm.io/integration/gnome-terminal

    For RVM to work properly, you have to check the 'Run command as login shell' checkbox on the Title and Command tab of gnome-terminal's Edit ▸ Profile Preferences menu dialog, in case the menu is missing right click the terminal app and navigate Profiles ▸ Profile Preferences.

提交回复
热议问题