Forum: Ruby-Gnome 2 Visual Ruby start up

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
69adb5fa97adb479de0ef5865f0aaa5b?d=identicon&s=25 Timothy B. (barnes7td)
on 2012-05-24 23:20

I like the project. I was wondering why, when I start a new project, the
scaffold doesn't create a main file that allows the base window
application to run. Also it appears that the main file is a ruby file
but does not use the .rb extension. Is this true? Is this intended?

I look forward to trying visual ruby out.

C37e335e7250698ebcc8a092a4baded3?d=identicon&s=25 Eric C. (eric_c)
on 2012-05-25 03:59
Hi Timothy:

Thanks for pointing that out.  I fixed  the latest version so it
installs a file main.rb.

Now. If you open an empty folder, it should create a "Hello World"
project as in the video on the main page,

You can test this by:

gem uninstall visualruby
gem install visualruby

open a blank folder, and click the run button.

If this doesn't work for you, please let me know.

69adb5fa97adb479de0ef5865f0aaa5b?d=identicon&s=25 Timothy B. (barnes7td)
on 2012-05-25 15:41

The new gem worked great. Right now I have only tried this on Windows
XP. And when I run it I get an error:

Gtk-WARNING **:Unknown property: GtkMenu.ubuntu-local

This doesn't stop vr from running. Just wanted to give you feedback.

69adb5fa97adb479de0ef5865f0aaa5b?d=identicon&s=25 Timothy B. (barnes7td)
on 2012-05-25 16:08
Nevermind about the warning. I noticed it has already been brought to
your attention earlier.


P.S. I will trying setting up visualruby on my mac tonight and let you
know what happens.
C37e335e7250698ebcc8a092a4baded3?d=identicon&s=25 Eric C. (eric_c)
on 2012-05-25 23:47
Thank you Timothy.  Yes, that gyk-local warning pops up on my XP machine
too.  I just ignore it.  Glade likes to spit out a bunch of warnings.
Many don't seem to have any effect.

Please let me know how to install on the MAC.  It hangs on my friends
computer.  Any feedback would be greatly appreciated.

69adb5fa97adb479de0ef5865f0aaa5b?d=identicon&s=25 Timothy B. (barnes7td)
on 2012-05-28 22:03

I have am running OS X "snow leopard" and did a gem install visualruby
and it worked just fine. I am using RVM , ruby 1.9.2p180, XQuartz 2.6.3.
I have attached a screenshot for proof.

It also worked on ruby 1.9.3p125.

I have used green shoes quite a bit and have worked through most of the
gtk dependencies. That is maybe why it worked so easily for me.

Let me know if I can help any further.

51289bcb88a4a702b80c814e651e9842?d=identicon&s=25 Eric C. (eric_c65)
on 2012-05-29 03:24
Hey Timothy:

Thanks that's great news.  I need to understand how to install gtk on
the MAC.  Can you give me instructions?

What are the gtk dependencies?

Keep in mind that I know nothing about mac os.

This topic is locked and can not be replied to.