You are not logged in.

#1 2014-12-15 03:55:49

FenrirAB
Member
Registered: 2014-04-15
Posts: 40

Ruby dont have bin on PATH

Hello community,

i cant seem to get pass gem installations without a probem,

lets say I try to install mysql using

gem install mysql
You don't have /home/my_username/.gem/ruby/2.1.0/bin in your PATH,
	  gem executables will not run.

Building native extensions.  This could take a while...
Successfully installed mysql-2.9.1
Parsing documentation for mysql-2.9.1
Done installing documentation for mysql after 2 seconds

am i suppose to subtitute Gem.user_dir to my_username?

PATH="`ruby -e 'print Gem.user_dir'`/bin:$PATH"

like:

PATH="`ruby -e 'print Gem.my_username'`/bin:$PATH"

I have a separate /home and /root directory

THANKS IN ADVANCE


Then she sighed and squealed and kicked the air,
She sang: my bear so fair and off they went,
The bear, the bear and the maiden fair

Offline

#2 2014-12-15 05:08:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Ruby dont have bin on PATH

https://wiki.archlinux.org/index.php/Ruby#Setup


Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB