fix to deploy to heroku
fix error running "bundle exec rake assets:precompile" on fedora 17
cleanup and fix require self