How can I navigate back one or multiple directories in Ruby?
For example:
users/luigi/test/folder/file.rb
If I'm in the folder
directory and want my file.rb
script to load a file from within the test
directory, how can I do that?
Something like:
require /../required_file.rb