Visual Ruby start up

Eric,

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.

Timothy
(barnes7td)

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, visualruby.net.

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.

Thanks,
Eric

Eric,

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.

Timothy

Nevermind about the warning. I noticed it has already been brought to
your attention earlier.

Timothy

P.S. I will trying setting up visualruby on my mac tonight and let you
know what happens.

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.

Best,
Eric

Eric,

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.

Timothy

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.

Thanks,
Eric