Sha256: 7ea2395b7c5661950fbbc45d24839db9052931406dd542dd3053303eec8f283c

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

#!/usr/bin/env ruby
# vim:set filetype=ruby:

raise "Usage: akephalos socket_file" unless ARGV[0]
require 'pathname'

root = Pathname(__FILE__).expand_path.dirname.parent
lib = root + 'lib'
jruby = root + "src/jruby-complete-1.4.0.jar"
server = 'akephalos/server'

command = %Q(java -Xmx2048M -jar #{jruby} -I#{lib} -r #{server} -e 'Akephalos::Server.start!(%s)')
exec command % ARGV[0].inspect

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
akephalos-0.0.3 bin/akephalos
akephalos-0.0.2 bin/akephalos