What changed? (gem command missing in 1.9)
Stanislav Sedov
stas at FreeBSD.org
Fri Nov 11 22:32:05 UTC 2011
On Fri, 11 Nov 2011 14:55:06 -0700
"Aaron D. Gifford" <astounding at gmail.com> mentioned:
> 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?
>
Hi!
The gem version distributed in ruby 1.9 is too old for some ports,
so FreeBSD uses the rubygem from ports instead. To get the gem
command back just install the ruby-gems port.
--
Stanislav Sedov
ST4096-RIPE
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
More information about the freebsd-ruby
mailing list