Created
May 8, 2014 01:57
-
-
Save oliverbarnes/8cc30658c44f08652a99 to your computer and use it in GitHub Desktop.
trying to test loading of libs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ENV["RAILS_ENV"] ||= 'production' | |
require 'rubygems' | |
# Set up gems listed in the Gemfile. | |
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __FILE__) | |
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) | |
# Ensure Builder is loaded | |
require 'active_support/builder' unless defined?(Builder) | |
require 'rails/all' | |
module Diaspora | |
class Application < Rails::Application | |
config.autoload_paths += %W{#{config.root}/app} | |
config.autoload_once_paths += %W{#{config.root}/lib} | |
end | |
end | |
Diaspora::Application.initialize! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment