Skip to content

Commit

Permalink
Fix docker .pryrc/.bashrc setup
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Apr 28, 2020
1 parent fe66e56 commit 3d4555c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .dockerdev/.pryrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

if ENV["HISTFILE"]
hist_dir = ENV["HISTFILE"].sub(/\/[^\/]+$/, "")
Pry.config.history.should_save = true
Pry.config.history.file = File.join(hist_dir, ".pry_history")
Pry.config.history_save = true
Pry.config.history_file = File.join(hist_dir, ".pry_history")
end
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ x-backend: &backend
- .:/app:cached
- rails_cache:/app/tmp/cache
- bundle:/usr/local/bundle
- .dockerdev/.pryrc:/root/.pryrc:ro
- .dockerdev/.bashrc:/root/.bashrc:ro
tmpfs:
- /app/tmp/pids
environment:
Expand Down

0 comments on commit 3d4555c

Please sign in to comment.