made changes to gemfile and application and production initializer to get the app running in production.