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

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Windows

error message while installing rails on windows

I received this erroe message while installing rail through cmd

ERROR: While executing gem ... (Errno: : EINVAL) Invalid arguement - .ActionDispatch/Routing/Mapper/Scoping/:

I am stuck and don't know why this came up and nor am comfortable or even sure that I can move forward from here. Please someone help!!

3 Answers

Stone Preston
Stone Preston
42,016 Points

try running the command again

gem install rails
Stone Preston
Stone Preston
42,016 Points

I dont think rails installer works for rails 4

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Yeah, just noticed that. Will be helpful for Treebook though.

Thank you, Stone. I had the exact same message and tried to install again and it worked fine!

However, it only says "1 gem installed" and the video shows 27...should I be worried?