# Visual Ruby start up

**URL:** <https://www.ruby-forum.com/t/visual-ruby-start-up/220025>\
**Category:** Ruby-Gnome 2\
**Created:** [May 24, 2012, 11:20pm UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025 "2012-05-24T23:20:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurdipe\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/b77776/32.png) [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Post date:** [May 24, 2012, 11:20pm UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025/1 "2012-05-24T23:20:10Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![tuatha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b4bc9f/32.png) [@tuatha](https://www.ruby-forum.com/u/tuatha)\
**Post date:** [May 25, 2012, 3:59am UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025/2 "2012-05-25T03:59:52Z")

</div>

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](http://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

---

<div class="post-metadata">

**Author:** ![tuatha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b4bc9f/32.png) [@tuatha](https://www.ruby-forum.com/u/tuatha)\
**Post date:** [May 25, 2012, 3:41pm UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025/3 "2012-05-25T15:41:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tuatha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b4bc9f/32.png) [@tuatha](https://www.ruby-forum.com/u/tuatha)\
**Post date:** [May 25, 2012, 4:08pm UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025/4 "2012-05-25T16:08:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tuatha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b4bc9f/32.png) [@tuatha](https://www.ruby-forum.com/u/tuatha)\
**Post date:** [May 25, 2012, 11:47pm UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025/5 "2012-05-25T23:47:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tuatha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b4bc9f/32.png) [@tuatha](https://www.ruby-forum.com/u/tuatha)\
**Post date:** [May 28, 2012, 10:03pm UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025/6 "2012-05-28T22:03:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tuatha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b4bc9f/32.png) [@tuatha](https://www.ruby-forum.com/u/tuatha)\
**Post date:** [May 29, 2012, 3:24am UTC](https://www.ruby-forum.com/t/visual-ruby-start-up/220025/7 "2012-05-29T03:24:00Z")

</div>

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
