C:\Users\IEUser>ruby -vruby 2.0.0p481 (2014-05-08) [i386-mingw32]C:\Users\IEUser>gem --version2.0.14C:\Users\IEUser>gem install json --platform=rubyFetching: json-1.8.1.gem (100%)
Temporarily enhancing PATH to include DevKit...Building native extensions. This could take a while...
Successfully installed json-1.8.1Parsing documentation for json-1.8.1unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/json/ext/generator.so, skippingunable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/json/ext/parser.so, skippingInstalling ri documentation for json-1.8.11 gem installed
--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyinstalle...@googlegroups.com.
To post to this group, send email to rubyin...@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyinstaller.
For more options, visit https://groups.google.com/d/optout.
Hello Sam,The error sounds weird, like it failed to spawn a child process, perhaps over a network drive?
I've just tested against the same VM and got this:C:\Users\IEUser>ruby -vruby 2.0.0p481 (2014-05-08) [i386-mingw32]C:\Users\IEUser>gem --version2.0.14C:\Users\IEUser>gem install json --platform=rubyFetching: json-1.8.1.gem (100%)Temporarily enhancing PATH to include DevKit...Building native extensions. This could take a while...Successfully installed json-1.8.1Parsing documentation for json-1.8.1unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/json/ext/generator.so, skippingunable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/json/ext/parser.so, skippingInstalling ri documentation for json-1.8.11 gem installed
Can you show us the entire output of "gem env"?
Thank you.
On Sunday, May 18, 2014 12:04:36 PM UTC-4, Luis Lavena wrote:Hello Sam,The error sounds weird, like it failed to spawn a child process, perhaps over a network drive?
Not as far as I know.
I've just tested against the same VM and got this:C:\Users\IEUser>ruby -vruby 2.0.0p481 (2014-05-08) [i386-mingw32]C:\Users\IEUser>gem --version2.0.14C:\Users\IEUser>gem install json --platform=rubyFetching: json-1.8.1.gem (100%)Temporarily enhancing PATH to include DevKit...Building native extensions. This could take a while...Successfully installed json-1.8.1Parsing documentation for json-1.8.1unable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/json/ext/generator.so, skippingunable to convert "\x90" from ASCII-8BIT to UTF-8 for lib/json/ext/parser.so, skippingInstalling ri documentation for json-1.8.11 gem installed
Cool! Can you retrace your steps? In particular, did you override the extraction path for the devkit? That's the only option I can think of in the installation process. I took the default, which ended up being: C:\Users\IEUser\AppData\Local\Microsoft\Windows\INetCache\IE\VIM90K98
Thank you! If you can retrace your steps, I would appreciate it, as I can recreate this VM at will.
Please try extracting into C:\Ruby200\DevKit and see how it goes.
On Sunday, May 18, 2014 2:51:32 PM UTC-4, Luis Lavena wrote:Please try extracting into C:\Ruby200\DevKit and see how it goes.
It worked! Thanks.
For reference, here is what I did.
Download Ruby >= 1.9.3 from: http://rubyinstaller.org/downloads
Run
English
Accept License
Click "Add Ruby executables to your PATH"
Install
Select the DevKit link associated with the version of ruby (32 vs 64 bit) you selected.
Run
Change path to C:\Ruby200\DevKit
Start a command prompt with Ruby
cd C:\Ruby200\DevKit
ruby dk.rb init
ruby dk.rb install
gem install json --platform=ruby
At this point, a gem install rails gets an error in producing ri documentation for actionpack, but that isn't likely to be a problem for me. For completeness, here is the message:
Installing ri documentation for actionpack-4.1.1
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - ./ActionDispatch/Routing/Mapper/Scoping/: