# Visual Ruby install error

**URL:** <https://www.ruby-forum.com/t/visual-ruby-install-error/246267>\
**Category:** Ruby-Gnome 2\
**Created:** [September 20, 2013, 7:25pm UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267 "2013-09-20T19:25:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [September 20, 2013, 7:25pm UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/1 "2013-09-20T19:25:06Z")

</div>

I have been trying to install visual ruby for a few days, i reinstalled  
everything and my system looks ok but i still get errors and i really  
want to use visual ruby. I have attached the output from the errors. I  
have exhausted my limited knowledge and searched everywhere else.  
Could someone help me please?

Thank you

Max

---

<div class="post-metadata">

**Author:** ![fangheuschrecke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Post date:** [September 21, 2013, 5:50am UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/2 "2013-09-21T05:50:26Z")

</div>

Hi,

2013/9/21 Max M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> [http://www.ruby-forum.com/attachment/8737/visualerror.txt](http://www.ruby-forum.com/attachment/8737/visualerror.txt)

This error occurred in `gem install gtksourceview2`.

It seems that this problem is same as the following question:  
[http://stackoverflow.com/questions/12872429/error-on-installing-visual-ruby-on-osx](http://stackoverflow.com/questions/12872429/error-on-installing-visual-ruby-on-osx)

If you using Homebrew, try the folloiwing command:

brew install libxml2

–  
Masafumi Y.  
GitHub: myokoym

---

<div class="post-metadata">

**Author:** ![fangheuschrecke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Post date:** [September 21, 2013, 6:03am UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/3 "2013-09-21T06:03:18Z")

</div>

> If you using Homebrew, try the folloiwing command:
> 
> brew install libxml2

Sorry, I forgot to write one command.  
After `brew install libxml2`, try the following command:

PKG\_CONFIG\_PATH=/usr/local/opt/libxml2/lib/pkgconfig gem install  
visualruby

–  
Masafumi Y.  
GitHub: myokoym

---

<div class="post-metadata">

**Author:** ![fangheuschrecke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Post date:** [September 21, 2013, 10:49am UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/4 "2013-09-21T10:49:22Z")

</div>

Thanks for that i tried that step but it was the path change which  
finally made it install.

While the Gem has installed when i run the VR command i now get the  
error i have pasted below

/Users/maxmarriott/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site\_ruby/2.0.0/rubygems/core\_ext/kernel\_require.rb:51:in  
`require': cannot load such file -- rubygems/builder (LoadError) from /Users/maxmarriott/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in`require’  
from  
/Users/maxmarriott/.rvm/gems/ruby-2.0.0-p247/gems/visualruby-0.1.2/vr:15:in  
`<top (required)>' from /Users/maxmarriott/.rvm/gems/ruby-2.0.0-p247/bin/vr:23:in`load’  
from /Users/maxmarriott/.rvm/gems/ruby-2.0.0-p247/bin/vr:23:in  
`<main>' from /Users/maxmarriott/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in`eval’  
from  
/Users/maxmarriott/.rvm/gems/ruby-2.0.0-p247/bin/ruby\_noexec\_wrapper:14:in  
`’

---

<div class="post-metadata">

**Author:** ![fangheuschrecke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Post date:** [September 21, 2013, 2:40pm UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/5 "2013-09-21T14:40:20Z")

</div>

> Thanks for that i tried that step but it was the path change which  
> finally made it install.

Oh, thank you!

> While the Gem has installed when i run the VR command i now get the  
> error i have pasted below

Umm, VisualRuby does not seem to work on Ruby 2.0.0. Can you try it on  
Ruby 1.9.3?

–  
Masafumi Y.  
GitHub: myokoym

---

<div class="post-metadata">

**Author:** ![fangheuschrecke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Post date:** [September 25, 2013, 8:08pm UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/6 "2013-09-25T20:08:40Z")

</div>

Is there any plan to port VR to Ruby-2? If so then is there any idea  
when this might happen?

---

<div class="post-metadata">

**Author:** ![fangheuschrecke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Post date:** [September 21, 2013, 5:04pm UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/7 "2013-09-21T17:04:35Z")

</div>

And there we have it. After I installed 1.9.2 and set it to default and  
reinstalled VR using the method you suggested above it appears to be  
working

Thank you very much

---

<div class="post-metadata">

**Author:** ![fangheuschrecke](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/58956e/32.png) [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Post date:** [September 26, 2013, 7:03am UTC](https://www.ruby-forum.com/t/visual-ruby-install-error/246267/8 "2013-09-26T07:03:35Z")

</div>

There is work being done to VR both IDE and Library, to work with Ruby  
2.0.  
I’ve started the work at [Bitbucket](http://bitbucket.org/visualruby/ide) and  
[http://bitbucket.org/visualruby/core](http://bitbucket.org/visualruby/core), but I haven’t had a chance to work  
on  
it as of late. Though I do wish to continue working on it. Sadly, it’s  
just me that is working on it at this time. Anyone wanting to help out  
is  
more then happy to contact me off-list, and we can discuss what needs to  
be  
done. But for now, the core library has been renamed to vr-corelib,  
which  
can be installed via gem right now, ‘gem install vr-corelib’ Then you  
can  
grab the IDE from Git right now, and install it. It works pretty good  
right now, shouldn’t have any issues with it crashing on you out of  
no-where, but there are some features not currently implemented in the  
Git  
version, that you currently get with the Gem version that is available  
right now.

Mario S.  
Ruby Developer  
C# Developer

On Wed, Sep 25, 2013 at 2:08 PM, James B. \<
