Topic: Loading custom class (Dreamhost/Passenger/Git/Capistrano)
I have a custom class which is used in several controllers. I have put the rb file containing (Myclass.rb) this class in an 'extras' folder, and require it with
in all controllers which need it. This works fine in local develoment on my computer. When deploying to Dreamhost using Git and Capistrano, I get the error
No such file to load -- Myclass
Does anyone know how I can expose Myclass to the live application?