author | April Chin <april.chin@oracle.com> |
Wed, 06 Nov 2013 14:12:13 -0800 | |
branch | s11-update |
changeset 2813 | db0bfa0fa498 |
parent 199 | components/ruby/Solaris/scripts/update_rubygems@b87534be1a76 |
permissions | -rw-r--r-- |
199
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
1 |
#!/usr/ruby/1.8/bin/ruby |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
2 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
3 |
# CDDL HEADER START |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
4 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
5 |
# The contents of this file are subject to the terms of the |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
6 |
# Common Development and Distribution License (the "License"). |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
7 |
# You may not use this file except in compliance with the License. |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
8 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
9 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
10 |
# or http://www.opensolaris.org/os/licensing. |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
11 |
# See the License for the specific language governing permissions |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
12 |
# and limitations under the License. |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
13 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
14 |
# When distributing Covered Code, include this CDDL HEADER in each |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
15 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
16 |
# If applicable, add the following below this CDDL HEADER, with the |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
17 |
# fields enclosed by brackets "[]" replaced with your own identifying |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
18 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
19 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
20 |
# CDDL HEADER END |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
21 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
22 |
|
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
23 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
24 |
# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved. |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
25 |
# |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
26 |
|
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
27 |
print "update_rubygems has been deprecated, please use:\n\n" |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
28 |
print "\t\tgem update --system\n\n" |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
29 |
print "Note: Manually updating the RubyGems version included in the " |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
30 |
print "OpenSolaris Ruby packages will overwrite files in those packages\n\n" |
b87534be1a76
7023222 move ruby to userland
April Chin <april.chin@oracle.com>
parents:
diff
changeset
|
31 |