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 trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![AIA Developers](https://secure.gravatar.com/avatar/2d458e76f6976b846e68884e4cf6f8e8?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
AIA 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](https://uploads.teamtreehouse.com/production/profile-photos/2075692/micro_eatingagain.jpg)
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](https://secure.gravatar.com/avatar/1a79913120ffc66a095e3c61ae87418d?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
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](https://secure.gravatar.com/avatar/2d458e76f6976b846e68884e4cf6f8e8?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
AIA Developers
9,806 PointsNo joy :-(. Same error
![Anthony Lucio](https://uploads.teamtreehouse.com/production/profile-photos/2078012/micro_tony_lucio_museum.jpg)
Anthony Lucio
20,431 PointsStart over and install Ruby 2.0. Not Ruby 2.2.