Sha256: f0e657eb7eae098bc4b38073598530749a6131ab43de129111ff877456056fe9
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
#!/usr/bin/env ruby #Add the currently running directory to the start of the load path $:.unshift './' #Don't buffer stdout $stdout.sync = true begin require 'app.rb' rescue LoadError => e require 'rubygems' path = File.expand_path '../../lib', __FILE__ $:.unshift(path) if File.directory?(path) && !$:.include?(path) require 'app.rb' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
postrest-0.0.2 | bin/postrest |
postrest-0.0.1 | bin/postrest |