Skip to content

Commit

Permalink
Add bin/console
Browse files Browse the repository at this point in the history
  • Loading branch information
ytkg authored and joshuacronemeyer committed Mar 11, 2022
1 parent ff45238 commit 0082ff4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ RUN bundle -j 4

COPY . .

CMD ['bundle', 'console']
CMD ["bin/console"]
15 changes: 15 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "timecop"

# 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"
IRB.start(__FILE__)

0 comments on commit 0082ff4

Please sign in to comment.