gem install rails --pre
rails new my_app -T
## Prepare ################################################################### | |
# Remove RVM | |
rvm implode | |
# Ensure your homebrew is working properly and up to date | |
brew doctor | |
brew update | |
## Install ################################################################### |
$ sudo adduser --system --no-create-home --disabled-login --disabled-password --group redis | |
$ sudo mv ~/init-deb.sh /etc/init.d/redis | |
$ sudo mkdir /etc/redis | |
$ sudo mv ~/redis.conf /etc/redis/redis.conf | |
$ sudo chmod +x /etc/init.d/redis | |
$ sudo chown -R redis:redis /opt/redis | |
$ sudo touch /var/log/redis.log | |
$ sudo chown redis:redis /var/log/redis.log | |
$ sudo update-rc.d -f redis defaults |