Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAIA Developers
9,806 PointsHi I am trying to run 'bundle exec rails server' command I am getting following errors on windows
Hi I am trying to run 'bundle exec rails server' command I am getting following errors on windows
位 bundle exec rails server
Could not find gem 'sass-rails (~> 4.0.0) x64-mingw32' in the gems available on this machine.
Run bundle install
to install missing gems.
even if I try to run "bundle install" I get these error
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
D:/Ruby22-x64/bin/ruby.exe -r ./siteconf20150325-5888-vmf41t.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR=" generating generator-x64-mingw32.def compiling generator.c make: x86_64-w64-mingw32-gcc: Command not found make: *** [generator.o] Error 127
make failed, exit code 2
Any idea why?
Thanks
4 Answers
Kevin Khlom
14,369 PointsI had to uninstall Ruby 2.2 and install Ruby 2.0 instead. I haven't ran into issues yet with the older version.
Roberto Alicata
Courses Plus Student 39,959 Pointstry to run this command before bundle install:
gem update bundler --pre
bundle install
there is a problem with bundler and 64bits Ruby, which is not detecting x64-mingw32
AIA Developers
9,806 PointsNo joy :-(. Same error
Anthony Lucio
20,431 PointsStart over and install Ruby 2.0. Not Ruby 2.2.