I've scoured the internet looking for an answer to this issue I've been having for the past 4 hours but I've hit a dead end...
I installed RoR through the installer at rubygems.org. I ran through many tutorials and decided to start on a project that uses 'gem install blog'. I've got most of it installed but the second I try to 'install bundle' I get this error:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
c:/Ruby21/bin/ruby.exe extconf.rb creating Makefile
make "DESTDIR=" clean 0 [main] rm 8308 open_stackdumpfile: Dumping stack trace to rm.ex mp make: [clean-static] Error 5 (ignored) 0 [main] rm 8316 open_stackdumpfile: Dumping stack trace to rm.ex mp make: [clean] Error 5 (ignored)
make "DESTDIR=" generating generator-i386-mingw32.def compiling generator.c make: gcc: Command not found make: *** [generator.o] Error 127
make failed, exit code 2
Gem files will remain installed in c:/Ruby21/lib/ruby/gems/2.1.0/gems/j for inspection. Results logged to c:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86-mingw32/ n-1.8.2/gem_make.out An error occurred while installing json (1.8.2), and Bundler cannot con Make sure that
gem install json -v '1.8.2'
succeeds before bundling.
Now, I've attempted to install JSON by itself, and I've already installed the Devkit and run it into my project but I'm at a loss. Here is what happens when I try to install JSON.
Temporarily enhancing PATH to include Devkit... Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
c:/Ruby21/bin/ruby.exe extconf.rb creating Makefile
make "DESTDIR=" clean 0 [main] rm 8308 open_stackdumpfile: Dumping stack trace to rm.ex mp make: [clean-static] Error 5 (ignored) 0 [main] rm 8316 open_stackdumpfile: Dumping stack trace to rm.ex mp make: [clean] Error 5 (ignored)
make "DESTDIR=" generating generator-i386-mingw32.def compiling generator.c make: gcc: Command not found make: *** [generator.o] Error 127
make failed, exit code 2
Gem files will remain installed in c:/Ruby21/lib/ruby/gems/2.1.0/gems/j for inspection. Results logged to c:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86-mingw32/ n-1.8.2/gem_make.out An error occurred while installing json (1.8.2), and Bundler cannot con Make sure that
gem install json -v '1.8.2'
succeeds before bundling.
I've pretty much tried everything I can think of (which isn't a lot as I'm very new to the whole Ruby language).
Any help that could be given would be great! I'm not looking for a handout, I really do want to understand exactly what's going on.