bin/console in activeset-0.6.5 vs bin/console in activeset-0.7.0
- old
+ new
@@ -1,11 +1,25 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
+ENV['RAILS_ENV'] ||= 'test'
+
+require 'bundler'
+Bundler.require :default, :development
+
require 'bundler/setup'
require 'active_set'
+require 'ostruct'
# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
+
+Combustion.initialize! :active_record
+
+begin
+ FactoryBot.find_definitions
+rescue FactoryBot::DuplicateDefinitionError
+end
# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start