Last active
April 27, 2020 15:57
-
-
Save jofi/f2ae27307b59bb6456dac036a17b356b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
if __FILE__ == $PROGRAM_NAME | |
$:.unshift(File.expand_path('../lib', __FILE__)) | |
#require 'something' | |
#some code... | |
#require 'pry' | |
#Pry.start | |
end | |
# run the file via ./script.rb | |
# or via bundle exec ./script.rb | |
# or via bundle exec ruby script.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment