diff --git a/Procfile b/Procfile index b147648..503c5a5 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: bundle exec ./hubboard.rb +web: bundle exec ruby hubboard.rb diff --git a/hubboard.rb b/hubboard.rb index 5585d18..2ebd620 100755 --- a/hubboard.rb +++ b/hubboard.rb @@ -6,7 +6,6 @@ require 'json' require 'httparty' require 'resin/app/app' - if ENV['RACK_ENV'] = 'production' MYSELF = 'http://hubboard.herokuapp.com' else @@ -25,6 +24,7 @@ end module Hubboard class Server < Resin::Server + set :port, ENV['PORT'] || 4567 set :sessions, true get '/oauth' do