Sha256: 988aed78f120b3051ad5d6f2763f5a999f2fdac20608cbf4ba414e833510b3e6

Contents?: true

Size: 469 Bytes

Versions: 9

Compression:

Stored size: 469 Bytes

Contents

#!/usr/bin/env ruby
require 'pathname'
require 'rubygems'
require 'ruby-station'; RubyStation.parse_argv
require File.expand_path("src/myrurema", File.dirname(__FILE__))

opt = Options.new(ARGV)
ruremadir = Pathname(RubyStation.data_dir)

if ruremadir.entries.size == 2
  opt.command = :init
  opt.ruremadir = RubyStation.data_dir
  MyRurema.new(opt).run
end

opt.command = :server
opt.ruremadir = RubyStation.data_dir
opt.port = RubyStation.port
MyRurema.new(opt).run

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
myrurema-0.3.5 main.rb
myrurema-0.3.4 main.rb
myrurema-0.3.3 main.rb
myrurema-0.3.2 main.rb
myrurema-0.3.1 main.rb
myrurema-0.3.0 main.rb
myrurema-0.2.0 main.rb
myrurema-0.1.0 main.rb
myrurema-0.0.4 main.rb