Sha256: f20ac4ded8226edb467ed25c3cbd03002d074f1cc47c009a45d9dd7691e36fa7
Contents?: true
Size: 359 Bytes
Versions: 2
Compression:
Stored size: 359 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), '../lib')) if not ENV.include? 'DROPBOX_DIR' puts "You have to specify the DROPBOX_DIR in ENV, e.g." puts "DROPBOX_DIR=/home/joe/somedir" exit end require 'rack' require 'fake_dropbox/server' Rack::Server.start(app: FakeDropbox::Server, Port: ARGV[0] || 4321)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fake_dropbox-0.2.0 | bin/fake_dropbox |
fake_dropbox-0.1.0 | bin/fake_dropbox |