I've been following this post
http://martinciu.com/2011/01/mounting-grape-api-inside-rails-application.html
I put the module into the lib directory and added the line to routes.rb like shown
When I do
rails s
I get an error, saying
uninitialized constant MyApp (NameError)
What's missing? Do I need to put the module some place else? Or let rails know somehow where it is?