components/ruby/ruby-19/Solaris/ruby.1.sedscript
author April Chin <april.chin@oracle.com>
Wed, 17 Jun 2015 14:49:38 -0700
changeset 4578 6ab3708b06cd
parent 1851 2adf57930fd6
permissions -rw-r--r--
21234306 ruby(1) man page for Ruby 1.9 should note pending obsoletion

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
#
1i\
'\\" t\
\.\\"\
\.\\" Modified for Solaris to add notes about Ruby installation locations.\
\.\\"\ 
$a\
\.\\" Begin Oracle update\
.SH FILES\
The following files specify the installation locations for Ruby: \
.PP\
.TP\
/usr/ruby/RUBY_VER/lib/ruby/gems/RUBY_LIB_VER \
Contains the Rubygems repository. Configure the GEM_HOME environment variable \
to point to /usr/ruby/RUBY_VER/lib/ruby/gems/RUBY_LIB_VER as the installation of Rubygems repository.\
.PP\
.TP\
~/.gem/ruby/RUBY_LIB_VER \
Per user location for gems, when installing with the gem install option \
--user-install (gem install --user-install ... ).  This path is \
automatically added to GEM_PATH.\
.PP\
.TP\
~/.gem/ruby/RUBY_LIB_VER/bin\
Per user location for gem executables.\
.PP\
.TP\
/usr/ruby/RUBY_VER/bin \
Contains  the  Ruby  executable  as well as other utility programs, and \
Rubygems programs. These programs are linked from /usr/bin.\
For example: /usr/ruby/RUBY_VER/bin/ruby is linked from /usr/bin/ruby19, and \
may be linked from /usr/bin/ruby if the package mediator "ruby" is version \
"RUBY_VER" (see pkg(1)). \
Also contains executables for any installed gems that have them (i.e.: thin,\
rails, etc). \
.Sh NOTES\
Ruby 1.9 may be removed in a future update.\
Please migrate to a newer version.\
.sp\
If it is desired to keep the obsolete version of Ruby\
then it should be frozen to prevent its removal by a future update.\
.sp\
.in +2\
pkg freeze 'runtime/ruby-19*'\
pkg change-facet --no-backup-be 'version-lock.runtime/ruby-19*=False'\
.in -2\
.sp\
Please note that the freezing of packages may yield an unsupportable system so use with caution.\
\.\\" End Oracle update