09 Sep, 2013, Davenge wrote in the 1st comment:
Votes: 0
Anyone have/know how to get RocketMud 0.3 to run on 1.9.3?

Thanks
09 Sep, 2013, Davenge wrote in the 2nd comment:
Votes: 0
/home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/constants-0.1.1/lib/constants/constant.rb:16:in `<class:Unit>': uninitialized constant RubyUnits::Unit::UNIT_DEFINITIONS (NameError)
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/constants-0.1.1/lib/constants/constant.rb:8:in `<top (required)>'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/constants-0.1.1/lib/constants/libraries/element.rb:1:in `<top (required)>'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/constants-0.1.1/lib/constants.rb:3:in `<top (required)>'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /home/korisd/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from rocket.rb:14:in `<main>'


For reference
09 Sep, 2013, Stormy wrote in the 3rd comment:
Votes: 0
Add $:.unshift File.dirname(__FILE__) to the top of rocket.rb, so it looks something like…

#!ruby
#
# RocketMUD was written by Jon Lambert, 2006.
# It is based on SocketMUD™ written by Brian Graversen.
# This code is released to the public domain.
#
#
$:.unshift File.dirname(__FILE__)

require 'socket'
require 'fcntl'
require 'yaml'
require 'singleton'
require 'pp'

require 'constants'


That tells it to add the current directory to the load path.
09 Sep, 2013, Davenge wrote in the 4th comment:
Votes: 0
Ah, awesome. Thank you!
12 Sep, 2013, Chris Bailey wrote in the 5th comment:
Votes: 0
Oops, I had meant to submit that in a patch recently and completely forgot. If you have any other questions be sure to ask =)
0.0/5