summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-01-12 00:30:52 -0800
committerJessica Lynn Suttles <jlsuttles@gmail.com>2013-09-26 15:35:12 -0700
commitd4d988fa8910481b2da5afa38e4d7dd13cc59881 (patch)
treebf187136fc1c393ff312d5bd11c9f1dbf3454c44
parent789deab84d685d7dd53a2dc71ec3447ed999764b (diff)
downloadbundler-d4d988fa8910481b2da5afa38e4d7dd13cc59881.tar.gz
add Bundler::RubyVersion#host
-rw-r--r--lib/bundler/ruby_version.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/ruby_version.rb b/lib/bundler/ruby_version.rb
index bf44278b46..5a11ee49f4 100644
--- a/lib/bundler/ruby_version.rb
+++ b/lib/bundler/ruby_version.rb
@@ -57,6 +57,10 @@ module Bundler
nil
end
end
+
+ def host
+ RbConfig::CONFIG["host"]
+ end
end
# A subclass of RubyVersion that implements version,