Filechooser

file or directory chooser provides a command line version of a GUI file or directory chooser like Gtk::FileChooserDialog

Install

gem install filechooser

Use as a lib

require 'filechooser'
chosen_file=Filechooser::filechooser(STARTDIR)
chosen_folder=Filechooser::dirchooser(STARTDIR)

Use binaries

filechooser dirchooser