nskins / goby

Command-line role-playing game framework
MIT License
122 stars 56 forks source link

fixed broken require in example #133

Closed jeromew21 closed 6 years ago

jeromew21 commented 6 years ago

the line require_relative 'map/farm.rb' was an incorrect path, causing an error

nskins commented 6 years ago

Hi @jeromew21, thank you for looking at this. However, you should not execute main.rb inside the res/scaffold/simple directory; rather, you should follow these steps to run the example:

  1. Install Goby (run gem install goby).
  2. Run the goby executable.
  3. Run ruby goby-project/src/main.rb to execute the simple setup example.

Hope that helps you. Let me know if I can be of any more assistance.