[Git][noosfero/noosfero][master] 2 commits: Enables IRB command history on docker dev envs

Rodrigo Souto gitlab at mg.gitlab.com
Fri Jan 18 14:52:41 BRST 2019


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
56ebd8ea by Gabriel Silva at 2019-01-14T19:46:14Z
Enables IRB command history on docker dev envs

Signed-off-by: Gabriel Silva <gabriel93.silva at gmail.com>

- - - - -
ec4005b1 by Rodrigo Souto at 2019-01-18T16:52:34Z
Merge branch 'docker-irb-history' into 'master'

Enables IRB command history on docker dev envs

See merge request noosfero/noosfero!1657
- - - - -


1 changed file:

- config/docker/dev/Dockerfile


Changes:

=====================================
config/docker/dev/Dockerfile
=====================================
@@ -7,6 +7,10 @@ EXPOSE 3000
 
 RUN apt-get update && apt-get install -y sudo cron nodejs postgresql-client
 
+WORKDIR /root
+RUN echo "IRB.conf[:SAVE_HISTORY] = 100" >> .irbrc
+RUN echo "IRB.conf[:HISTORY_FILE] = '~/.irb-history'" >> .irbrc
+
 WORKDIR /noosfero
 ADD . /noosfero/
 RUN ./script/quick-start -i



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/50dbd3ac028681c44335aa623a61d73ef1dd87ff...ec4005b100ef2a84fe24fe2dcc9e8e4f3cb888bf

-- 
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/50dbd3ac028681c44335aa623a61d73ef1dd87ff...ec4005b100ef2a84fe24fe2dcc9e8e4f3cb888bf
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20190118/25f4373e/attachment-0001.html>


More information about the Noosfero-dev mailing list