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
on 2013-09-20 19:25
on 2013-09-21 05:50
Hi, 2013/9/21 Max Marriott <email@example.com>: > 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
on 2013-09-21 06:03
> 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
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>'
on 2013-09-21 14:40
> 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
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
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?
on 2013-09-26 07:03
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 <