Remove gems from Gemfile that are in gemspec

No reason to duplicate them, the gemspec would have priority anyway since
it appears later in the file
Use newer style find_or_create method
Node must call super() to initialize Sinatra::Base

If it doesn't then Sinatra::Base never initializes the template_cache,
causing undefined variable exceptions later in it's life-cycle
ActiveSupport no longer has SecureRandom

It's part of the Ruby stdlib in 1.9
Reserved scope must be array before manipulation

Otherwise calling delete on it will perform a delete in the database.
Under ActiveRecord 2.3, records returned from a scope where array-like and a delete just removed
them from the in-memory representation, not the DB.  Under newer
ActiveRecord, it's an association so delete also performs a DB delete.
Add current directory to LOAD_PATH

If actions are not an absolute path then they need to be loaded from the
current directory.

An alternate method would be to convert relative action paths to absolute.