Error installing json 1.8.2 using Windows
I am new to web development and in the summer I have a school assignment that requires Ruby on Rails. I am currently using this tutorial to help me get started:
http://guides.rubyonrails.org/getting_started.html
I'm using Windows 7 and most of the answers I've seen on this site deal with other operating systems or older versions of Ruby.
I installed Ruby, which includes RubyGems and SQLite3, and here is a screenshot of the versions and proves they are installed:
The problem I am running into is that when I try to build a Rails app, I get an error that says an error while installing json <1.8.2. This is a new account, so I cannot post screenshots or links. The last line says to make sure gem install json -v '1.8.2' succeeds before installing.
When I try, I get the same error as the previous step.
Any help would be greatly appreciated.
source to share
You can try installing RubyInstaller Development Kit . This toolkit helps with using the built-in C / C ++ Ruby extensions on your Windows machine.
Installation instructions can be found here .
After installing it gem update --system
, run it , then try again.
Note: If you are not strict on your development operating system, you should look into Linux or OSX. They provide a smoother Rails development experience compared to Windows, IMO.
Hope this helps!
source to share