gazebosim / gz-tools

Command line tools for the Gazebo libraries.
https://gazebosim.org
Apache License 2.0
15 stars 18 forks source link

Avoid hardcoding ruby interpreter location #3

Closed osrf-migration closed 4 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Andrés Fortier (Bitbucket: andres_fortier).


By changing #!/usr/bin/ruby to #!/usr/bin/env ruby we can make ign-tools compatible with ruby version managers like RVM.

cc @caguero

osrf-migration commented 4 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


This has been fixed: https://github.com/ignitionrobotics/ign-tools/blob/4f63ef6d03fc3709e045ed65b5468551bf81da65/src/ign.in#L1