On Nov 18, 12:17 pm, Euniceadu <eunicea...@gmail.com> wrote: > After installing Ruby, i tried installing Rails and this is the error > i got: > > C:\Users\Eunice>gem install rails > Building native extensions. This could take a while... > ERROR: Error installing rails: > ERROR: Failed to build gem native extension. > > C:/Ruby/bin/ruby.exe extconf.rb
You can try using RailsInstaller which includes everything setup for you: http://railsinstaller.org/ The error seems to be caused by the installation of JSON 1.6.1 which lacks binaries for Windows. Since you didn't provide enough details about the version of Ruby, where you got it (specific to the version, if s RubyInstaller or not) we will be guessing. Some of the answers here might also help you: https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting That section of RubyInstaller wiki covers most of the issues after you installed RubyInstaller and the DevKit. -- Luis Lavena -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.