Groups
Groups
Sign in
Groups
Groups
ruby4kids
Conversations
About
Send feedback
Help
Do the screencasts work with ruby 2.0?
16 views
Skip to first unread message
DigitalNative
unread,
Jul 30, 2013, 8:36:17 AM
7/30/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ruby...@googlegroups.com
I'm currently using ruby version 2.0 and whenever I try to run the following code:
require 'rubygems'
require 'gosu'
class MyGame < Gosu:Window
def initialize
super(300, 400, false)
end
def update
end
def draw
end
end
window = MyGame.new
window.show
I get this error:
undefined method `Gosu' for main:Object (NoMethodError)
I used RVM to install a newer version of Ruby and from what I've heard gosu is compatible with ruby 2 if on a mac?!?
Please help!
Reply all
Reply to author
Forward
0 new messages