diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-21 03:23:26 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-21 03:23:26 +0900 |
| commit | c2d8b0303db286a8d025844fbff2ee0685789977 (patch) | |
| tree | 46a48d9bd0b2c3c0a93cdf807d51abe32ccdcb88 /tasks/mrbgem_spec.rake | |
| parent | 36836c8eb9add532ae09357b6862c33e6af86a04 (diff) | |
| download | mruby-c2d8b0303db286a8d025844fbff2ee0685789977.tar.gz mruby-c2d8b0303db286a8d025844fbff2ee0685789977.zip | |
avoid Dir.exist? that is not available in Ruby1.8
Diffstat (limited to 'tasks/mrbgem_spec.rake')
| -rw-r--r-- | tasks/mrbgem_spec.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mrbgem_spec.rake b/tasks/mrbgem_spec.rake index 60d6672f0..e77ba9fbc 100644 --- a/tasks/mrbgem_spec.rake +++ b/tasks/mrbgem_spec.rake @@ -55,7 +55,7 @@ module MRuby MRuby::Gem.current = self @build.compilers.each do |compiler| compiler.include_paths << "#{dir}/include" - end if Dir.exist? "#{dir}/include" + end if File.exist? "#{dir}/include" MRuby::Build::COMMANDS.each do |command| instance_variable_set("@#{command}", @build.send(command).clone) end |
