You are not logged in.
Hello!
I need help. I have installed ruby and I'm trying to install it packages. But I have a problem.
All gems I try to install have placed in HOME/.gem directory. Myself home, if I install from my account, or root home, if I use sudo.
gem help install
This command shows in "Defaults" section that install dir is "/usr/lib/ruby/gems/1.9.1". But during installation it ignores this. And even option "--install-dir" have no effect. Packages was installed into HOME directory anyway.
Thank you.
Last edited by zexar (2012-05-23 13:44:48)
Offline
I tried to reinstall whole ruby package and it shows after install
The default location of gem installs is $HOME/.gem/ruby
Add the following line to your PATH if you plan to install using gem
$(ruby -rubygems -e "puts Gem.user_dir")/bin
If you want to install to the system wide location, you must either:
edit /etc/gemrc or run gem with the --no-user-install flag.
I corrected gemrc and now all working.
Offline
If you want to install system wide, write a PKGBUILD or use the ruby virtual env system. Else you might find yourself in a world of pain and file conflicts.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline