Readd New Relic integration, ignore config, log, tmp and Gemfile.lock

This commit is contained in:
Darren VanBuren 2015-08-03 01:09:56 -07:00
parent 2cede238f5
commit 488f80093b
2 changed files with 10 additions and 0 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
config/
tmp/
Gemfile.lock
log/

View file

@ -1,4 +1,5 @@
require 'camping'
require 'newrelic_rpm'
# Camping is a great small framework.
Camping.goes :StargateRando
@ -6,6 +7,11 @@ Camping.goes :StargateRando
# Data was moved out to stargaterando-data.rb to keep this file clean
require './stargaterando-data'
# Set up New Relic monitoring
def StargateRando.create
NewRelic::Agent.manual_start
end
# This holds our (currently there's only one) controllers.
module StargateRando::Controllers
class Index < R '/'