Add .irbrc (#17)

See: https://stackoverflow.com/a/48595884/493886
This commit is contained in:
Helge Rausch
2018-04-02 21:05:30 +02:00
committed by GitHub
parent 96f5abcfe4
commit 9589ed138d
2 changed files with 4 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ RUN /usr/local/rvm/bin/rvm alias create default $(cat .ruby-version)
USER app
ADD irbrc /home/app/.irbrc
ADD database.yml config/database.yml
RUN bash -l -c 'gem install bundler'
RUN bash -l -c 'bundle install --jobs=4 --deployment --without test development'

3
irbrc Normal file
View File

@@ -0,0 +1,3 @@
require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 200
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"