nskins / goby

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

Failure/Error: require 'readline' (LoadError) #148

Closed nskins closed 4 years ago

nskins commented 4 years ago

Some users are receiving a LoadError for the readline module. The error occurs because we are using the GNU C implementation of readline from the Ruby standard library. If we switch to a pure Ruby version of readline (adding it to our Gemfile), we probably won't have this issue across environments. There are a couple different options I've seen:

https://github.com/ConnorAtherton/rb-readline https://github.com/ruby/reline

In the meantime, Unix-like systems may be able to solve the issue by following the instructions at this link:

https://gist.github.com/zulhfreelancer/47efc39584cb9f006da43c41c014e03a

nskins commented 4 years ago

Fixed on 0.2.1 branch.