1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/tmpdir.rb: test RUBY_PLATFORM for loading tmpdir.so to avoid

LoadError.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-05-06 05:14:10 +00:00
parent ec0b0144b3
commit 3b9c00306f
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu May 6 14:12:39 2010 Tanaka Akira <akr@fsij.org>
* lib/tmpdir.rb: test RUBY_PLATFORM for loading tmpdir.so to avoid
LoadError.
Thu May 6 12:41:00 2010 Kenta Murata <mrkn@mrkn.jp>
* NEWS: add rationalize methods of Complex, Float, Integer, NilClass,

View file

@ -5,9 +5,8 @@
#
require 'fileutils'
begin
if /mswin|mingw/ =~ RUBY_PLATFORM
require 'tmpdir.so'
rescue LoadError
end
class Dir