Forum: Ruby-Gnome 2 Visual Ruby install error

E2288c770f2b3ada31e480e7c12b2aa1?d=identicon&s=25 Max Marriott (max-marriott)
on 2013-09-20 19:25
Attachment: visualerror.txt (4 KB)
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
394f372e936f867e4e43bfd1315a0a4e?d=identicon&s=25 Masafumi Yokoyama (masafumi_y)
on 2013-09-21 05:50
(Received via mailing list)
Hi,

2013/9/21 Max Marriott <ruby-forum-incoming@andreas-s.net>:
> 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-...

If you using Homebrew,  try the folloiwing command:

  brew install libxml2


--
Masafumi Yokoyama
GitHub: myokoym
394f372e936f867e4e43bfd1315a0a4e?d=identicon&s=25 Masafumi Yokoyama (masafumi_y)
on 2013-09-21 06:03
(Received via mailing list)
> 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 Yokoyama
GitHub: myokoym
E2288c770f2b3ada31e480e7c12b2aa1?d=identicon&s=25 Max Marriott (max-marriott)
on 2013-09-21 10:49
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
`<main>'
394f372e936f867e4e43bfd1315a0a4e?d=identicon&s=25 Masafumi Yokoyama (masafumi_y)
on 2013-09-21 14:40
(Received via mailing list)
> 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 Yokoyama
GitHub: myokoym
E2288c770f2b3ada31e480e7c12b2aa1?d=identicon&s=25 Max Marriott (max-marriott)
on 2013-09-21 17:04
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
171ea139761951336b844e708d1547ab?d=identicon&s=25 James Byrne (byrnejb)
on 2013-09-25 20:08
Is there any plan to port VR to Ruby-2?  If so then is there any idea
when this might happen?
3396e4a3df8a840faec520af8555a400?d=identicon&s=25 Mario Steele (Guest)
on 2013-09-26 07:03
(Received via mailing list)
There is work being done to VR both IDE and Library, to work with Ruby
2.0.
 I've started the work at http://bitbucket.org/visualruby/ide and
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 Steele
Ruby Developer
C# Developer


On Wed, Sep 25, 2013 at 2:08 PM, James Byrne <
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.