Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Don't override default_exec_format method for rubygems #427

Merged
merged 1 commit into from

2 participants

@dvorak

It isn't necessary to override this, since it is only used if the --format-executable flag is given. The --format-executable flag defaults to off, so executables from a gem wont' be prefixed unless the user explicitly asks for it.

@dvorak dvorak Changed JRuby's rubygem defaults file to not override the
default_exec_format method.

It isn't necessary to override this, since it is only used if the
--format-executable flag is even, and that flag defaults to off.
508a74d
@BanzaiMan BanzaiMan merged commit eb04f7d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2012
  1. @dvorak

    Changed JRuby's rubygem defaults file to not override the

    dvorak authored
    default_exec_format method.
    
    It isn't necessary to override this, since it is only used if the
    --format-executable flag is even, and that flag defaults to off.
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/ruby/shared/rubygems/defaults/jruby.rb
View
5 lib/ruby/shared/rubygems/defaults/jruby.rb
@@ -53,11 +53,6 @@ def self.win_platform?
@@win_platform
end
- # We do not want prefixes on installed binaries.
- def self.default_exec_format
- "%s"
- end
-
# Allow specifying jar and classpath type gem path entries
def self.path_separator
return File::PATH_SEPARATOR unless File::PATH_SEPARATOR == ':'
Something went wrong with that request. Please try again.