summaryrefslogtreecommitdiff
path: root/lib/rubygems/compatibility.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/compatibility.rb')
-rw-r--r--lib/rubygems/compatibility.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/compatibility.rb b/lib/rubygems/compatibility.rb
index e053a99ca3..810b88b57b 100644
--- a/lib/rubygems/compatibility.rb
+++ b/lib/rubygems/compatibility.rb
@@ -1,11 +1,13 @@
# :stopdoc:
+#--
# This file contains all sorts of little compatibility hacks that we've
# had to introduce over the years. Quarantining them into one file helps
# us know when we can get rid of them.
# Ruby 1.9.x has introduced some things that are awkward, and we need to
# support them, so we define some constants to use later.
+#++
module Gem
# Only MRI 1.9.2 has the custom prelude.
GEM_PRELUDE_SUCKAGE = RUBY_VERSION =~ /^1\.9\.2/ and RUBY_ENGINE == "ruby"