When install rails with
sudo gem install rails
or with root user, this install in $HOME/.gem and only works for actual user, how install for all users in the system ?
|
When install rails with
or with root user, this install in |
|||
|
|
|
You might need to change your
Which does exactly what you observed. You can use
See Arch Wiki: Ruby. install-packages-through-apt-get-or-gem is about the decision to use a package manager or |
|||
|
|
|
If you're installing files system-wide, always use your package manager for it. Always, always, always. ruby-rails is available in the AUR, and it will install as system-wide. Read about how to install packages from the AUR and perform the aforementioned with this package. |
|||
|
|