# I can't install VisualRuby

**URL:** <https://www.ruby-forum.com/t/i-cant-install-visualruby/243132>\
**Category:** Ruby-Gnome 2\
**Created:** [August 24, 2015, 9:34pm UTC](https://www.ruby-forum.com/t/i-cant-install-visualruby/243132 "2015-08-24T21:34:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [August 24, 2015, 9:34pm UTC](https://www.ruby-forum.com/t/i-cant-install-visualruby/243132/1 "2015-08-24T21:34:43Z")

</div>

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 ‘[Downloads](http://rubyinstaller.org/downloads)’ and follow the instructions  
at ‘[Development Kit · oneclick/rubyinstaller Wiki · GitHub](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!

---

<div class="post-metadata">

**Author:** ![orton12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@orton12](https://www.ruby-forum.com/u/orton12)\
**Post date:** [September 15, 2015, 7:13am UTC](https://www.ruby-forum.com/t/i-cant-install-visualruby/243132/2 "2015-09-15T07:13:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![orton12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@orton12](https://www.ruby-forum.com/u/orton12)\
**Post date:** [November 15, 2015, 12:43am UTC](https://www.ruby-forum.com/t/i-cant-install-visualruby/243132/3 "2015-11-15T00:43:00Z")

</div>

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 ‘[Downloads](http://rubyinstaller.org/downloads)’ and follow the instructions  
at '[Home · oneclick/rubyinstaller Wiki · GitHub](http://github.com/oneclick/rubyinstaller/wiki/Deve)…

---

<div class="post-metadata">

**Author:** ![orton12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@orton12](https://www.ruby-forum.com/u/orton12)\
**Post date:** [November 15, 2015, 12:59am UTC](https://www.ruby-forum.com/t/i-cant-install-visualruby/243132/4 "2015-11-15T00:59:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![orton12](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/65b543/32.png) [@orton12](https://www.ruby-forum.com/u/orton12)\
**Post date:** [November 26, 2015, 2:27pm UTC](https://www.ruby-forum.com/t/i-cant-install-visualruby/243132/5 "2015-11-26T14:27:26Z")

</div>

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 [Installing the qtbindings/nokogiri gem on 64-bit Windows fails starting with rubygems 2.5.0 · Issue #1369 · rubygems/rubygems · GitHub](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.
