
###maybe try this is it fixes it????
require_relative './config/environment'
require File.expand_path("../config/environment", __FILE__)


if ActiveRecord::Migrator.needs_migration?
raise 'Migrations are pending. Run `rake db:migrate` to resolve the issue.'
end

use Rack::MethodOverride
use ProductsController
use CommentsController
use RoutinesController
use UsersController
run ApplicationController
