Ubuntu 12.10 setup (rbenv/RVM, Janus, PostgreSQL)
- Some utilities:
sudo apt-get install vim tmux git curl- Copy/paste from the command line:
| PAPERCLIP_CONFIG = {} |
| def tip(msg); puts; puts msg; puts "-"*100; end | |
| # | |
| # 30 Ruby 1.9 Tips, Tricks & Features: | |
| # http://www.igvita.com/2011/02/03/new-ruby-19-features-tips-tricks/ | |
| # | |
| tip "Upgrading to Ruby 1.9 is simple: rvm install 1.9.2 && rvm --default 1.9.2" | |
| tip "Ruby 1.9 supports named captures in regular expressions!" |
| RSpec.configure do |config| | |
| config.before(:suite) do | |
| ActiveRecord::Base.establish_connection database['one'] | |
| DatabaseCleaner.strategy = :deletion | |
| ActiveRecord::Base.establish_connection config.database['two'] | |
| DatabaseCleaner.strategy = :deletion | |
| end | |
| config.before(:each) do |
sudo apt-get install vim tmux git curl| # Configure the reverse-proxy on port 443 | |
| server { | |
| # general configs | |
| keepalive_timeout 30; | |
| listen 127.0.0.1:443 ssl; | |
| server_name api.example.com; | |
| # ssl configs | |
| ssl_certificate /path/to/api.crt; | |
| ssl_certificate_key /path/to/api.key; |
http://support.apple.com/kb/HT5856?viewlocale=en_US&locale=en_US
Download the macOS installer from the Mac App Store and make sure it's in your main Applications folder.
Connect a properly formatted 8GB (or larger) drive. Rename the drive to Untitled. (The command in the next step assumes the drive is named Untitled.)
Run command in terminal:
master branch is always production-ready, deployable, 100% green test suitegit pull is configured to automatically rebase)