JSON problem while installing rails

Hello all.

I try to install ruby on rails and I am litle stuck now because of following error:

Can someone help me?

I using Windows 7 Ultimate, Ruby 1.9.2-p180 and RubyGems 1.8.11.

What I did before run: gem install rails?

1. installing ruby through ruby installer 2. C:\Users\h4cky\Downloads\rubygems-1.8.10>ruby setup.rb 3. C:\Users\h4cky\Downloads\rubygems-1.8.10>gem update --system 4. D:\devKit>ruby dk.rb init 5. D:\devKit>ruby dk.rb review 6. D:\devKit>ruby dk.rb install

The Content of error log is: rails error log - Pastebin.com

Thanks in advance.

Regards, Ivelin Georgiev.

Path with spaces, that is the issue.

https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#wiki-gems_fails

When you install Ruby using either RubyInstaller or RailsInstaller, it warns you about path with spaces (above the field you enter the path for installation).

Install outside a path with spaces and things will work.

Thank you for the answer - It Works now,

but i have other problem :

Unless you're using "gem server" to look at ActiveSupport documentation you can install gems with --no-ri --no-rdoc options.

You should update to latest rdoc gem so solve this encoding issue.

Last but no least, try to use a console codepage that plays nicely with UTF-8, seems IBM866 is your current codepage, please change it to windows-1251:

Type:

chcp 1251

At the command prompt before doing anything.

If you want to make a permanent change, see here:

https://github.com/cucumber/cucumber/wiki/Troubleshooting http://codesnippets.joyent.com/posts/show/414

Interesting is after running again - gem install rails

Everything was okay without error or warning.

But i do what you say.

Thank you very much!