Use bundler groups instead of conditional

So that the gemfile.lock does not change across invocations
This commit is contained in:
Jorge Manrubia
2025-11-23 05:16:22 +01:00
committed by Jorge Manrubia
parent cf59ac1da9
commit 102827ff8d
4 changed files with 38 additions and 6 deletions
+14 -3
View File
@@ -1,4 +1,15 @@
#!/usr/bin/env ruby
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'
APP_PATH = File.expand_path("../config/application", __dir__)
require_relative "../lib/fizzy"
if Fizzy.saas?
ENV["BUNDLE_WITH"] = [ ENV["BUNDLE_WITH"] , "saas" ].compact.join(",")
end
require_relative "../config/boot"
puts "SaaS version (#{Fizzy.db_adapter})" if Fizzy.saas?
require "rails/commands"