summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/rbconfig
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-16 18:49:26 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-30 00:39:06 +0900
commitfcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch)
tree64cb17de3f41a2b6fef2368028fbd00349946994 /jni/ruby/lib/rbconfig
Fresh start
Diffstat (limited to 'jni/ruby/lib/rbconfig')
-rw-r--r--jni/ruby/lib/rbconfig/.document1
-rw-r--r--jni/ruby/lib/rbconfig/datadir.rb13
2 files changed, 14 insertions, 0 deletions
diff --git a/jni/ruby/lib/rbconfig/.document b/jni/ruby/lib/rbconfig/.document
new file mode 100644
index 0000000..4cea83c
--- /dev/null
+++ b/jni/ruby/lib/rbconfig/.document
@@ -0,0 +1 @@
+# these files are obsolete
diff --git a/jni/ruby/lib/rbconfig/datadir.rb b/jni/ruby/lib/rbconfig/datadir.rb
new file mode 100644
index 0000000..9b7eabb
--- /dev/null
+++ b/jni/ruby/lib/rbconfig/datadir.rb
@@ -0,0 +1,13 @@
+#--
+# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
+# All rights reserved.
+# See LICENSE.txt for permissions.
+#++
+
+# N.B. This file is used by Config.datadir in rubygems.rb, and must not be
+# removed before that require is removed. I require to avoid warning more than
+# once.
+
+warn 'rbconfig/datadir.rb and {Rb}Config.datadir is being deprecated from '\
+ 'RubyGems. It will be removed completely on or after June 2011. If you '\
+ 'wish to rely on a datadir, please use Gem.datadir.'