diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/memory_status.rb | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Mon Mar 31 17:23:50 2014 NAKAMURA Usaku <usa@ruby-lang.org> + + * test/ruby/memory_status.rb: require envutil before accessing EnvUtil + module. reported by ko1 via twitter. + Mon Mar 31 10:28:01 2014 Eric Wong <e@80x24.org> * st.c (st_init_table_with_size): update comment diff --git a/test/ruby/memory_status.rb b/test/ruby/memory_status.rb index bfbfbd6e88..6a014fdf24 100644 --- a/test/ruby/memory_status.rb +++ b/test/ruby/memory_status.rb @@ -18,6 +18,7 @@ module Memory begin require 'fiddle/import' rescue LoadError + require_relative 'envutil' EnvUtil.suppress_warning do require 'dl/import' end @@ -25,6 +26,7 @@ module Memory begin require 'fiddle/types' rescue LoadError + require_relative 'envutil' EnvUtil.suppress_warning do require 'dl/types' end |