Sha256: a6abe583bacecd84f51795a464526bb1f8f07a9237cc3c6dc71a0c210c9eb15c
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
#!/usr/bin/env ruby # Set the process name before we go to far in $PROGRAM_NAME = 'fake_pin' # Add the fake_pin lib directory to the load path root_dir = File.expand_path(File.join(File.dirname(__FILE__), '..')) lib_dir = File.join(root_dir, 'lib') $LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir) require 'fake_pin' require 'rack' Rack::Handler::WEBrick.run( FakePin::Rack.new, :Port => 9000 )
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fake_pin-0.2 | bin/fake_pin |
fake_pin-0.0.1 | bin/fake_pin |