Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed RubyInline compatibility

  • Loading branch information...
commit 454872636d56922329408c322a7de09a36282551 1 parent 25ceab5
@fabien authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/minigems.rb
View
3  lib/minigems.rb
@@ -58,7 +58,8 @@ def require(path) # :nodoc:
gem_original_require path
rescue LoadError => load_error
if File.basename(path).match(Gem::MiniGems::INLINE_REGEXP)
- return true # RubyInline dynamicly created .so/.bundle
+ # RubyInline dynamically created .so/.bundle
+ return gem_original_require(File.join(Inline.directory, path))
elsif path == 'Win32API' && !Gem.win_platform?
raise load_error
elsif load_error.message =~ /#{Regexp.escape path}\z/
Please sign in to comment.
Something went wrong with that request. Please try again.