summaryrefslogtreecommitdiff
path: root/bin/console
blob: f97ee3ab7627abd4c3d427fe8b3d8073942d4376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env ruby
# frozen_string_literal: true

require 'bundler/setup'
require 'del'

# 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.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

require 'irb'

settings = YAML.safe_load(IO.read(Pathname.new(Dir.home).join('.delrc')))
settings[:start_server] = false
Del.start(settings)
IRB.start(__FILE__)