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 Build a Rails API Namespacing Routes and JSON Namespaces and Routes

I cannot run rake routes in the file I downloaded for this course.

I downloaded the odot file and have it loaded into sublime text but when I try to run rake routes in the console it returns:

rake aborted! no such file to load -- bundler/setup org/jruby/RubyKernel.java:940:in require' C:/Users/Price/Downloads/railsapi-1/odot/config/boot.rb:4:in<top>' org/jruby/RubyKernel.java:940:in require' C:/Users/Price/Downloads/railsapi-1/odot/config/application.rb:1:in<top>' org/jruby/RubyKernel.java:940:in require' C:/Users/Price/Downloads/railsapi-1/odot/config/application.rb:1:in<top>' org/jruby/RubyKernel.java:958:in load' C:/Users/Price/Downloads/railsapi-1/odot/rakefile:1:in(root)' C:/Users/Price/Downloads/railsapi-1/odot/rakefile:4:in (root)' org/jruby/RubyKernel.java:958:inload' (See full trace by running task with --trace)

I don't understand the issue. I tried running bundler and bundle install but that made no difference.

peyton caseria
peyton caseria
Courses Plus Student 12,281 Points

Please post the code not just the error for further assistance.