mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:12:26 +08:00
We need pry in development
This commit is contained in:
parent
504cfcff96
commit
724b36fe0d
|
@ -7,6 +7,8 @@ require_relative '../lib/discourse_plugin_registry'
|
|||
# Global config
|
||||
require_relative '../app/models/global_setting'
|
||||
|
||||
require 'pry-rails' if Rails.env == "development"
|
||||
|
||||
if defined?(Bundler)
|
||||
Bundler.require(*Rails.groups(assets: %w(development test profile)))
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user