Fixed changes in sources controller
Adding rails 12 factor to gemfile