Commit 65eef8d8 authored by Robert Pannick's avatar Robert Pannick
Browse files

Update version.sh

parent d2588c82
#!/usr/bin/ruby
#!/usr/bin/env ruby
Dir.chdir File.dirname(__FILE__)
......
    1. changed file extension to .rb

    bash -x version.sh

    version.sh: line 3: syntax error near unexpected token version.sh: line 3: Dir.chdir File.dirname(FILE)`

    1. updated shebang to use system environment variable for ruby location.

    zsh: ./version.rb: bad interpreter: /usr/bin/ruby: no such file or directory

    ruby -v ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]

    which ruby /home/b08x/.rvm/rubies/ruby-3.0.0/bin/ruby

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment