I can't install VisualRuby


#1

When I try to install visualruby by following the instructions for
installing all of the prerequisites, I get this:

ruby 1.9.3p551 (2014-11-13) [i386-mingw32]

C:\Users\me>gem install visualruby
ERROR: Error installing visualruby:
The ‘gtksourceview2’ native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from ‘http://rubyinstaller.org/downloads’ and follow the instructions
at ‘http://github.com/oneclick/rubyinstaller/wiki/Development-Kit


This seems like it should be pretty simple to fix but, I am unsure what
to do.

I ran the rubyinstaller and got 1.9.3 (to support the version I need to
use).

I am installing on a Windows 7 64 bit PC.

Will someone help?

Thanks!


#2

i have almost the same problem

C:\Users****>gem install visualruby
ERROR: Loading command: install (ArgumentError)
unknown encoding name - CP720
ERROR: While executing gem … (NoMethodError)
undefined method `invoke_with_build_args’ for nil:NilClass


#3

I too ger the same message as follows:
When I try to install visualruby by following the instructions for
installing all of the prerequisites, I get this:

ruby 1.9.3p551 (2014-11-13) [i386-mingw32]

C:\Users\me>gem install visualruby
ERROR: Error installing visualruby:
The ‘gtksourceview2’ native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from ‘http://rubyinstaller.org/downloads’ and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Deve


#4

Hello
Does VisualRuby install and work well in windows 10?
Thanks


#5

Which version of rubygem is installed ?

There is a bug with 2.5.0, and it tries to compile the native gems
instead of downloading the binaries.

Look at https://github.com/rubygems/rubygems/issues/1369 .

If you use 2.4.x, I don’t know what’s happening.

I also see you are using 1.9.3. I’m not sure binaries are available for
this old version.