[MacPorts] #15540: JRuby port's 'jgem' command installs scripts without env shebang

MacPorts noreply at macports.org
Fri Jun 6 10:52:33 PDT 2008


#15540: JRuby port's 'jgem' command installs scripts without env shebang
------------------------------------+---------------------------------------
 Reporter:  charles.nutter at sun.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.6.0                                
 Keywords:                          |  
------------------------------------+---------------------------------------
 JRuby's startup executable is a bash script. When installing gems that
 reference that executable in their shebang line, /usr/bin/env must be
 used. But the jgem included with the JRuby port does not do this, so
 installed scripts don't execute.

 A future version of RubyGems (1.1.2) will allow alternate implementations
 to specify their settings (like env shebang) in a specially-named file,
 but for now the port should make the same RubyGems changes we make for
 normal JRuby releases.

-- 
Ticket URL: <http://trac.macports.org/ticket/15540>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list