I’m a Ruby/Rails newbie.
I’ve just created my first Ruby gem called GameFake. It’s like Faker
for video games.
Anyway, the gem works great in the irb. But when I fire up the Rails
console (./script/console) and try to require ‘gamefake’, I get all
kinds of syntax errors.
Once again, the code works great in the Ruby console.
The gem can be found here:
(sorry, not trying to do a shameless plug).
The actual syntax error is in the middle of the “SMS_Games” array. I’ve
looked over this array a million times. It’s large but should be ok.
Any suggestions on what I’m doing wrong?
Thanks for any help!
PS, anyone else type Ryby a million times when they are trying to type