Entries from 2021-03-01 to 1 day
Gemfile 内で切り替える こういう ENV で切り替えるやつとか、eval_gemfile を使うやつとか。 https://github.com/discourse/discourse/blob/v2.6.2/Gemfile#L9-L16 def rails_master? ENV["RAILS_MASTER"] == '1' end if rails_master? gem 'arel', git: 'h…
Gemfile 内で切り替える こういう ENV で切り替えるやつとか、eval_gemfile を使うやつとか。 https://github.com/discourse/discourse/blob/v2.6.2/Gemfile#L9-L16 def rails_master? ENV["RAILS_MASTER"] == '1' end if rails_master? gem 'arel', git: 'h…