Reputation: 55
I'm new to web development and I have a school assignment this summer that requires Ruby on Rails. I'm using this guide currently to help me get started:
http://guides.rubyonrails.org/getting_started.html
I'm using Windows 7 and most of the answers I have seen on this site are dealing with other operating systems or older versions of Ruby.
I installed Ruby which includes RubyGems and SQLite3 and here is a screen shot showing the versions and proves that they are installed:
The issue I am running into is that when I try to create a Rails application I get an [error that says it occurred while installing json <1.8.2>. This is a new account so I can't post any screenshots or links. The last line says to make sure that 'gem install json -v '1.8.2' succeeds before bundling.
When I try that I get the same error as the previous step.
Any help would be appreciated.
Upvotes: 3
Views: 290
Reputation: 4226
You can try installing the RubyInstaller Development Kit. This toolkit helps with using native C/C++ extensions for Ruby on your Windows machine.
Installation instructions can be found here.
After it's installed, run gem update --system
, then try again.
A side note: If you're not strict on your dev machine's OS, you should look into a Linux OS, or OSX. They provide a smoother experience for Rails development compared to Windows, IMO.
Hope this helps!
Upvotes: 1