Skip to content

Commit

Permalink
Restore
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <[email protected]>
  • Loading branch information
caguero committed Dec 8, 2024
1 parent 1b75e7f commit 0333672
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/gz.in
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ usage = 'The \'gz\' command provides a command line interface to the Gazebo'\

# Used to align the commands and the description.
padding_width = 15
commands.keys.sort.each do |cmd|
versions = commands[cmd]
commands.keys.sort.each do |cmd, versions|
# Calculate the padding to add between the command and the description.
padding_to_apply = padding_width - cmd.size - 1
padding = ''
Expand Down Expand Up @@ -285,13 +284,6 @@ if ARGV.include?('--versions')
exit(0)
end

if defined? RubyInstaller
# RubyInstaller does not search for dlls in PATH
# https://github.com/oneclick/rubyinstaller2/wiki/For-gem-developers#-dll-loading
ENV['RUBY_DLL_PATH'] = ENV['PATH']
RubyInstaller::Runtime.enable_dll_search_paths
end

# Start Backward before loading plugins
begin
SharedLibInterface::Importer.dlload '@backward_library_name@'
Expand Down

0 comments on commit 0333672

Please sign in to comment.