Skip to content

Commit

Permalink
use irb instead of pry
Browse files Browse the repository at this point in the history
  • Loading branch information
k0va1 committed Dec 13, 2024
1 parent 062a4cb commit 2e63762
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dockerdev/.pryrc → .dockerdev/.irbrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if ENV["HISTFILE"]
hist_dir = ENV["HISTFILE"].sub(/\/[^\/]+$/, "")
Pry.config.history_file = File.join(hist_dir, ".pry_history")
IRB.conf[:HISTORY_FILE] = File.join(hist_dir, ".irb_history")
end
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '2.4'

x-app: &app
build:
context: .dockerdev
Expand Down Expand Up @@ -30,6 +28,7 @@ x-backend: &backend
- bundle:/usr/local/bundle
- .dockerdev/.psqlrc:/root/.psqlrc:ro
- .dockerdev/.bashrc:/root/.bashrc:ro
- .dockerdev/.irbrc:/root/.irbrc:ro
- node_modules:/app/node_modules
environment:
<<: *env
Expand Down

0 comments on commit 2e63762

Please sign in to comment.