# Will someone install visualruby on a MAC?

**URL:** <https://www.ruby-forum.com/t/will-someone-install-visualruby-on-a-mac/219989>\
**Category:** Ruby-Gnome 2\
**Created:** [May 24, 2012, 8:58am UTC](https://www.ruby-forum.com/t/will-someone-install-visualruby-on-a-mac/219989 "2012-05-24T08:58:19Z")\
**Posts on this page:** 3\
**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, 8:58am UTC](https://www.ruby-forum.com/t/will-someone-install-visualruby-on-a-mac/219989/1 "2012-05-24T08:58:19Z")

</div>

hi:

I need a volunteer who’s familiar with installing gtk stuff on a MAC.  
I’m trying to get my friend to install visualruby on his MAC but it just  
hangs. I’m not sure if its due to missing components or not.

If anyone is working on a MAC, please try to install visualruby, and let  
me know how you get it working so I can inform my friend and other how  
to install it on a MAC.

> **[hi合乐888在线登录 - hi合乐手机网页版](http://www.visualruby.net/)**
>
> ♠欢迎点击hi合乐888在线登录,hi合乐手机网页版早就成为了世界性的强大娱乐平台,hi合乐888在线登录提供最新、最好玩、最全的单机游戏中文版下载、资讯、攻略、补丁,致力成为行业风向标。

As far as I know. the steps are:

Use Ruby version 1.9.3

1. Install glade interface designer version 3.6.7 - 3.8  
(this should install gtk2 too)
2. Install getsourceview2.0-dev
3. gem install visualruby

Thanks,  
Eric C

---

<div class="post-metadata">

**Author:** ![ericrchr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/8baadc/32.png) [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Post date:** [June 19, 2012, 12:07am UTC](https://www.ruby-forum.com/t/will-someone-install-visualruby-on-a-mac/219989/2 "2012-06-19T00:07:13Z")

</div>

I’ve posted install instructions for the MAC on my website. Also, I  
officially released visualruby version 0.1.0 today.

> **[hi合乐888在线登录 - hi合乐手机网页版](http://www.visualruby.net/)**
>
> ♠欢迎点击hi合乐888在线登录,hi合乐手机网页版早就成为了世界性的强大娱乐平台,hi合乐888在线登录提供最新、最好玩、最全的单机游戏中文版下载、资讯、攻略、补丁,致力成为行业风向标。

Thanks,  
Eric

---

<div class="post-metadata">

**Author:** ![ericrchr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/8baadc/32.png) [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Post date:** [July 7, 2012, 11:57pm UTC](https://www.ruby-forum.com/t/will-someone-install-visualruby-on-a-mac/219989/3 "2012-07-07T23:57:48Z")

</div>

Eric C. wrote in post #1065032:

> I’ve posted install instructions for the MAC on my website. Also, I  
> officially released visualruby version 0.1.0 today.
> 
> [visualruby.net](http://visualruby.net)
> 
> Thanks,  
> Eric

I followed the instructions to install VR on Mac from your page  
[http://visualruby.net/site/Download.html:](http://visualruby.net/site/Download.html:)

1. brew install gtk+
2. brew install gtksourceview
3. gem install visualruby

When installing on Mac OS X (Lion 10.7.4) the second step from above  
list fails:

* * *

$ brew install gtk+  
O.K.

$ brew install gtksourceview

o o o  
o o o

## CC gtksourcecompletionwordsutils.lo /bin/sh ../../../libtool --silent --tag=CC --mode=compile /usr/bin/clang -DHAVE\_CONFIG\_H -I. -I../../.. -DDATADIR="“/usr/local/Cellar/gtksourceview/2.10.5/share”" -DG\_LOG\_DOMAIN="GtkSourceView" -I../../.. -I. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -I/usr/local/Cellar/libffi/3.0.11/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 -c -o gtksourcecompletionwordsutils.lo gtksourcecompletionwordsutils.c In file included from gtksourcecompletionwordslibrary.c:22: ./gtksourcecompletionwordslibrary.h:26:10: fatal error: ‘glib-object.h’ file not found #include \<glib-object.h\> ^ In file included from gtksourcecompletionwordsproposal.c:23: ./gtksourcecompletionwordsproposal.h:26:10: fatal error: ‘glib-object.h’ file not found #include \<glib-object.h\> ^ In file included from gtksourcecompletionwords.c:23: In file included from ./gtksourcecompletionwords.h:26: ../../../gtksourceview/gtksourcecompletionprovider.h:27:10: fatal error: ‘glib.h’ file not found #include \<glib.h\> ^ In file included from gtksourcecompletionwordsbuffer.c:23: ./gtksourcecompletionwordsbuffer.h:26:10: fatal error: ‘glib-object.h’ file not found #include \<glib-object.h\> In file included from gtksourcecompletionwordsutils.c:23 ^ : ./gtksourcecompletionwordsutils.h:23:10: fatal error: ‘gtk/gtk.h’ file not found #include \<gtk/gtk.h\> ^ 1 error generated. 1 error generated. make[4]: \*\*\* [gtksourcecompletionwordsproposal.lo] Error 1 make[4]: \*\*\* Waiting for unfinished jobs… make[4]: \*\*\* [gtksourcecompletionwordsutils.lo] Error 1 1 error generated. 1 error generated. make[4]: \*\*\* [gtksourcecompletionwordslibrary.lo] Error 1 make[4]: \*\*\* [gtksourcecompletionwordsbuffer.lo] Error 1 1 error generated. make[4]: \*\*\* [gtksourcecompletionwords.lo] Error 1 make[3]: \*\*\* [install-recursive] Error 1 make[2]: \*\*\* [install-recursive] Error 1 make[1]: \*\*\* [install] Error 2 make: \*\*\* [install-recursive] Error 1 config.log was copied to /Users/igor/Library/Logs/Homebrew ==\> Build Environment CPU: 8-core 64-bit sandybridge OS X: 10.7.4-x86\_64 Xcode: 4.3.3 X11: 2.6.4 @ /usr/X11 CC: /usr/bin/clang CXX: /usr/bin/clang++ =\> /usr/bin/clang LD: /usr/bin/clang CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7 CPPFLAGS: -I/usr/local/Cellar/cairo/1.12.2/include -I/usr/local/Cellar/pixman/0.26.2/include -I/usr/local/Cellar/libffi/3.0.11/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include LDFLAGS: -L/usr/local/Cellar/cairo/1.12.2/lib -L/usr/local/Cellar/pixman/0.26.2/lib -L/usr/local/Cellar/libffi/3.0.11/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib MACOSX\_DEPLOYMENT\_TARGET: 10.7 MAKEFLAGS: -j8 PKG\_CONFIG\_PATH: /usr/local/Cellar/cairo/1.12.2/lib/pkgconfig:/usr/local/Cellar/pixman/0.26.2/lib/pkgconfig:/usr/local/Cellar/libffi/3.0.11/lib/pkgconfig Error: Failed executing: make install (gtksourceview.rb:16) If `brew doctor` does not, this may help you fix or report the issue: [GitHub - Homebrew/legacy-homebrew: 💀 The former home of Homebrew/homebrew (deprecated) · GitHub](https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist) $

Following the instructions from the suggested web page in the last line  
above, does not solve the problem!

I was able to install on Ubuntu, however, my old libglade stuff stopped  
working, after I installed Ruby 1.9.3, though it also used to be broken  
but at least libglade2 existed, which is now gone!?!?
