Thanks.
http://elm-arata.hatenablog.com/entry/2014/10/28/214243 https://qiita.com/rorono/items/ae125a23151113032e79・rbenvのインストール
yum install git cd /opt git clone git://github.com/sstephenson/rbenv.git mkdir /opt/rbenv/plugins cd /opt/rbenv/plugins git clone git://github.com/sstephenson/ruby-build.git vi /etc/profile export RBENV_ROOT="/opt/rbenv" export PATH="${RBENV_ROOT}/bin:/opt/rbenv/versions/2.3.0/bin:${PATH}" eval "$(rbenv init -)"・rubyのインストール
yum install gcc make openssl-devel libffi-devel readline-devel rbenv install 2.3.0・mailcatcherのインストール
gem install mailcatcher vi /etc/php.d/mailcatcher.ini sendmail_path = "/usr/bin/env catchmail"・httpd再起動
service httpd restart・mailcatcherの起動と確認
/opt/rbenv/shims/mailcatcher --http-ip 192.168.0.1http://192.168.0.1:1080/
0 件のコメント:
コメントを投稿