Sha256: 3b637ed68c59755ef3969d72b56baabffa22516fc620da30987cbb50dc108174
Contents?: true
Size: 499 Bytes
Versions: 1
Compression:
Stored size: 499 Bytes
Contents
#!C:/Dev/ruby/bin/ruby.exe # Show usage message and exit def usage puts "Usage: #{__FILE__} start [args] - starts rabbitmq node #{__FILE__} mqctl [args] - controls rabbitmq node" exit 1 end usage if ARGV.empty? case ARGV.shift when /start/ system "%ERLANG_HOME%/lib/rabbitmq_server-1.7.0/sbin/rabbitmq-server.bat #{ARGV.join(' ')}" when /ctl/ system "%ERLANG_HOME%/lib/rabbitmq_server-1.7.0/sbin/rabbitmqctl.bat #{ARGV.join(' ')}" else usage end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
my_scripts-0.0.2 | bin/rabbit |