diaspora_federation/bin/rails
Benjamin Neff 47b30ed763 add spring
2015-06-23 01:02:46 +02:00

17 lines
575 B
Ruby
Executable file

#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
begin
load File.expand_path("../spring", __FILE__)
rescue LoadError
end
ENGINE_ROOT = File.expand_path('../..', __FILE__)
ENGINE_PATH = File.expand_path('../../lib/diaspora_federation/engine', __FILE__)
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
require 'rails/all'
require 'rails/engine/commands'