examples/older/switches.rb in user-choices-1.1.4 vs examples/older/switches.rb in user-choices-1.1.5
- old
+ new
@@ -1,11 +1,5 @@
-### The following adjusts the load path so that the correct version of
-### a self-contained package is found, no matter where the script is
-### run from.
-require 'pathname'
-$:.unshift((Pathname.new(__FILE__).parent.parent.parent + 'lib').to_s)
-require 's4t-utils/load-path-auto-adjuster'
-
+#!/usr/bin/env ruby
require 'pp'
require 'user-choices'
class SwitchExample < UserChoices::Command