Remove undocumented dependency on Rails.

This doesn't fix the file_exists() method for non-rails environments, but at least it prevents the extension from blowing up entirely for an undefined constant.