<repo_name>skwongg/Backseat_DJ_backend<file_sep>/deploy/before_restart.rb
# run "cd /srv/www/Backseat_DJ_backend/current && /usr/local/bin/bundle exec rake assets:precompile"
run "cd /srv/www/photopoll/current && /usr/local/bin/bundle exec rake assets:precompile"<file_sep>/config/environment.rb
# Fix the environment
if ENV['STAGING']
  %w(RACK_ENV RAILS_ENV).each do |key|
    ENV[key] = 'staging'
  end
end


# Load the Rails application.
require File.expand_path('../application', __FILE__)

# Initialize the Rails application.
Rails.application.initialize!
