It invokes the associated system app for the specific extension of the file.
It can only be invoked using the command line.
To run this ruby application use the go.rb file
Presently it can open up only html files.
Note: This verion works only on Ubuntu machines.
- Fire up your terminal
- Change the working directory to where the files are.
- Run the ruby file by
$ ruby go.rb file_name.extension specific_app_name
For example:
Tip 1: change your directory using cd, $ cd ruby/launcher
Tip 2: to list your present working directory use, $ pwd
$ruby go.rb index.html firefox