mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
We need pry in development
This commit is contained in:
parent
504cfcff96
commit
724b36fe0d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue