Skip to content

Instantly share code, notes, and snippets.

View vinioliveira's full-sized avatar
🤠
Enjoy the day

Marcus Vinícius Oliveira vinioliveira

🤠
Enjoy the day
View GitHub Profile
## Prepare ###################################################################
# Remove RVM
rvm implode
# Ensure your homebrew is working properly and up to date
brew doctor
brew update
## Install ###################################################################
@vinioliveira
vinioliveira / rails31init.md
Created September 5, 2011 18:02 — forked from jraines/rails31init.md
Rails 3.1 with Rspec, Cucumber, Factory Girl, Haml, and Simple Form

Install Rails 3.1 RC

gem install rails --pre

generate new app, skipping Test::Unit file generation

rails new my_app -T

Set up Gemfile

@vinioliveira
vinioliveira / Additional Commands
Created June 29, 2011 13:10 — forked from lsbardel/redis-server-for-init.d-startup
Init.d Redis script for Ubuntu
$ 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