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

Quick tip (command + T)

TL;DR Make sure you're in the right directory when making changes to your files.

When working through the Ruby projects, I found that I continually got this error 'Could not find generator devise:install'.

When looking at others posts about the same thing, I found that I have a bunch of files that were from a different RoR project. These were items such as my rake file under 'Vendor' which read require

... File.expand_path('../config/application', FILE)

Crumblr::Application.load_tasks ...

Changing this in the right file made all the difference. Happy coding!

1 Answer

Thanks for the tip!