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

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

Marc Sirianni
Marc Sirianni
1,216 Points

In going through the CMD line process I hit a snag with the following cmd: \devkit>ruby dk.rb init *No such file or

Received the following error: *No such file or directory -- dk.rb <LoadError>

2 Answers

Tom Sager
Tom Sager
18,987 Points

That is because the dk.rb file does not exist. Apparently there was an error installing the devkit.

What do you see when you run DIR in that directory?

Garrett Carver
Garrett Carver
14,681 Points

Verify which path your ruby installed. In my case, it was C:\Ruby22-x64\devkit. You'll want to use whatever folder it put on your C drive rather than what the video says.