Skip to content

Commit

Permalink
No more patchlevels but windows ruby installer write this field to re…
Browse files Browse the repository at this point in the history
…gistry. Default to 0.
  • Loading branch information
enebo committed Apr 27, 2015
1 parent 741efe5 commit 5090935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/installer.rake
Expand Up @@ -91,7 +91,7 @@ task :windows_installer => :init_release do
if File.executable?(INSTALL4J_EXECUTABLE)
root_dir = Dir.pwd
Dir.chdir(unpacked_dir) do
sh %Q^"#{INSTALL4J_EXECUTABLE}" -m win32 -D jruby.dist.location=#{root_dir},jruby.location=#{unpacked_dir},ruby.version=#{VERSION_RUBY},jruby.version=#{version},ruby.patchlevel=#{VERSION_RUBY_PATCHLEVEL},ruby.buildplatform=i386-mingw32 #{INSTALL4J_CONFIG_FILE}^ do |ok, result|
sh %Q^"#{INSTALL4J_EXECUTABLE}" -m win32 -D jruby.dist.location=#{root_dir},jruby.location=#{unpacked_dir},ruby.version=#{VERSION_RUBY},jruby.version=#{version},ruby.patchlevel=0,ruby.buildplatform=i386-mingw32 #{INSTALL4J_CONFIG_FILE}^ do |ok, result|
$stderr.puts "** Something went wrong: #{result}" unless ok
end
mv Dir[File.join(root_dir, 'install', '*.exe')], File.join(root_dir, RELEASE_DIR)
Expand Down

0 comments on commit 5090935

Please sign in to comment.