When loading my own Ruby sources into Rails in environment.rb, don’t do this:
require 'my_library'
Do this:
require File.join(File.dirname(__FILE__), '../lib/my_library')
Especially when using a cheap host that: