mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:36:40 +08:00
FEATURE: add support for bootsnap in dev
To use bootsnap which speeds up rails boot add BOOTSNAP=1 to your env
This commit is contained in:
parent
9051ca7959
commit
1ae67a21f5
3 changed files with 20 additions and 1 deletions
1
Gemfile
1
Gemfile
|
@ -1,6 +1,7 @@
|
|||
source 'https://rubygems.org'
|
||||
# if there is a super emergency and rubygems is playing up, try
|
||||
#source 'http://production.cf.rubygems.org'
|
||||
gem 'bootsnap', require: false
|
||||
|
||||
def rails_master?
|
||||
ENV["RAILS_MASTER"] == '1'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue