We need pry in development

This commit is contained in:
Sam 2014-05-26 19:46:57 +10:00 committed by Sam Saffron
parent 504cfcff96
commit 724b36fe0d

View file

@ -7,6 +7,8 @@ require_relative '../lib/discourse_plugin_registry'
# Global config # Global config
require_relative '../app/models/global_setting' require_relative '../app/models/global_setting'
require 'pry-rails' if Rails.env == "development"
if defined?(Bundler) if defined?(Bundler)
Bundler.require(*Rails.groups(assets: %w(development test profile))) Bundler.require(*Rails.groups(assets: %w(development test profile)))
end end