Sha256: 1657a97f1ce9b09d0e0c77601c1c56f32f7e6a317abe6db6097c4f0c2258b943

Contents?: true

Size: 813 Bytes

Versions: 48

Compression:

Stored size: 813 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'bundler/setup'

if File.exist?('.env.development')
  # This loads our development environment when running dev.
  require 'dotenv'
  Dotenv.load('.env.development')
end

require 'dsu'
require 'pry-byebug'

# So we can use FactoryBot in the console.
require 'factory_bot'
require 'ffaker'
FactoryBot.find_definitions

if Dsu.env.development?
  # This simply allows us to use a folder other than dsu folder for the production
  # release, so we don't mess with our current production dsu folder.
  module Dsu
    module Support
      module Fileable
        def root_folder
          File.join(gem_dir, '.development_home')
        end
      end
    end
  end

  puts "ATTENTION: Dsu root folder is: #{Dsu::Support::Fileable.root_folder}!"
end

Pry.start

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
dsu-3.0.5 bin/console
dsu-3.0.4 bin/console
dsu-3.0.3 bin/console
dsu-3.0.1 bin/console
dsu-3.0.0 bin/console
dsu-3.0.0.beta.3 bin/console
dsu-3.0.0.beta.2 bin/console
dsu-3.0.0.beta.1 bin/console
dsu-3.0.0.beta.0 bin/console
dsu-3.0.0.alpha.12 bin/console
dsu-3.0.0.alpha.11 bin/console
dsu-3.0.0.alpha.10 bin/console
dsu-3.0.0.alpha.9 bin/console
dsu-3.0.0.alpha.8 bin/console
dsu-3.0.0.alpha.7 bin/console
dsu-3.0.0.alpha.6 bin/console
dsu-3.0.0.alpha.5 bin/console
dsu-3.0.0.alpha.4 bin/console
dsu-3.0.0.alpha.3 bin/console
dsu-3.0.0.alpha.2 bin/console