Skip to content

Commit

Permalink
Changes allow run through creation of .exe under msys.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgleesawn committed Jan 18, 2015
1 parent ebec93a commit c397cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ocra
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ EOF
if gemspec.subpath?(Host.exec_prefix)
path = gemspec.relative_path_from(Host.exec_prefix)
sb.createfile(gemspec, path)
elsif defined?(Gem) and gemhome = Gem.path.find { |pth| gemspec.subpath?(pth) }
elsif defined?(Gem) and gemhome = Pathname(Gem.path.find { |pth| gemspec.subpath?(pth) })
path = GEMHOMEDIR / gemspec.relative_path_from(gemhome)
sb.createfile(gemspec, path)
else
Expand Down

0 comments on commit c397cd6

Please sign in to comment.