Sha256: 601e531a62ebeba37eb77048e4fe82948deeec6d3471574c2d31b777325438e4
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
#!/usr/bin/env ruby require "optparse" require "../lib/miranda/system/load" system = RUBY_PLATFORM if system.include? "darwin" platform = "linux" elsif system.include? "linux" platform = "linux" else puts "Miranda supported is only mac and linux platforms !" end MirandaLoad::Load.new(platform) port = 4000 opt = OptionParser.new opt.on('-p VAL') do |p| port = p end opt.parse! puts "Miranda Started !" require "../app.rb" Miranda::System.run! :port => port
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
miranda-0.0.2 | bin/miranda |