diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2018-04-20 12:17:15 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2018-04-20 12:17:15 -0500 |
commit | b10f371366a606310cab26648d798836e030bdc8 (patch) | |
tree | f2ac94cd44b01c56568f3d0a5e1c447f3ff97199 /railties/lib/rails | |
parent | 5fd7ac79a10dc09f2394b69fed2311c35c81d623 (diff) | |
download | rails-b10f371366a606310cab26648d798836e030bdc8.tar.gz rails-b10f371366a606310cab26648d798836e030bdc8.tar.bz2 rails-b10f371366a606310cab26648d798836e030bdc8.zip |
Don't include bootsnap by default in apps generated under JRuby
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 8c5d872573..f51542f3ec 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -440,7 +440,7 @@ module Rails end def depend_on_bootsnap? - !options[:skip_bootsnap] && !options[:dev] + !options[:skip_bootsnap] && !options[:dev] && !defined?(JRUBY_VERSION) end def os_supports_listen_out_of_the_box? |