What changed? (gem command missing in 1.9)

Aaron D. Gifford astounding at gmail.com
Fri Nov 11 22:21:08 UTC 2011


Hi,

I've been using RUBY_DEFAULT_VER=1.9 in my /etc/make.conf for months
now successfully to ensure that gem, ri, irb, ruby, etc. were
correctly symlinked in /usr/local/bin/ to the *19 commands.  However
today upon building the /usr/ports/lang/ruby19 port and installing it
afresh, I discovered that the other *19 commands are there EXCEPT for
the gem command:

user at host:/usr/local/bin$ ls -ld *19
-rwxr-xr-x  2 root  wheel  4401 Nov 11 14:48 erb19
-rwxr-xr-x  2 root  wheel   322 Nov 11 14:48 irb19
-rwxr-xr-x  2 root  wheel   701 Nov 11 14:48 rdoc19
-rwxr-xr-x  2 root  wheel    77 Nov 11 14:48 ri19
-rwxr-xr-x  2 root  wheel  5448 Nov 11 14:48 ruby19
-rwxr-xr-x  2 root  wheel   251 Nov 11 14:48 testrb19
user at host:/usr/local/bin$ ls -l erb irb rdoc ri ruby testrb gem
ls: gem: No such file or directory
-rwxr-xr-x  2 root  wheel  4401 Nov 11 14:48 erb
-rwxr-xr-x  2 root  wheel   322 Nov 11 14:48 irb
-rwxr-xr-x  2 root  wheel   701 Nov 11 14:48 rdoc
-rwxr-xr-x  2 root  wheel    77 Nov 11 14:48 ri
-rwxr-xr-x  2 root  wheel  5448 Nov 11 14:48 ruby
-rwxr-xr-x  2 root  wheel   251 Nov 11 14:48 testrb

What happened?  What changed?  Where did the gem command go? Is there
a new environment variable I need while building the port now?

Puzzled and confused,
Aaron out.


More information about the freebsd-ruby mailing list