The list is based on the .travis.yml of each rails versions.
| Rails | latest | min. Ruby | max. Ruby |
|---|---|---|---|
| 5.0.x | master | 2.2.2 | 2.2.2 |
| 4.2.x | 4.2.1 | 1.9.3 | 2.2 |
| 4.1.x | 4.1.10 | 1.9.3 | 2.2 |
| 4.0.x | 4.0.13 | 1.9.3 | 2.2 |
| 56k: "https://123.campfirenow.com/images/56k.gif" | |
| bell: ":bell:" | |
| bezos: ":laughing::thought_balloon:" | |
| bueller: "anyone?" | |
| clowntown: "https://123.campfirenow.com/images/clowntown.gif" | |
| cottoneyejoe: ":notes::hear_no_evil::notes:" | |
| crickets: "hears crickets chirping" | |
| dadgummit: "dad gummit!! :fishing_pole_and_fish:" | |
| dangerzone: "https://123.campfirenow.com/images/dangerzone.png" | |
| danielsan: ":fireworks: :trophy: :fireworks:" |
| require 'formula' | |
| class Vim < Formula | |
| homepage 'http://www.vim.org/' | |
| # Get stable versions from hg repo instead of downloading an increasing | |
| # number of separate patches. | |
| url 'https://vim.googlecode.com/hg/', :tag => 'v7-3-692' | |
| version '7.3.692' | |
| head 'https://vim.googlecode.com/hg/' |
| II. Creating a Certificate Signing Request (CSR) | |
| Note: To create an SSL certificate, you must first generate and submit a Certificate Signing Request (CSR) to the Certification Authority (CA) (i.e. GoDaddy). The CSR contains your certificate-application information, including your public key. The CSR will also create your public/private key pair used for encrypting and decrypting secure transactions. | |
| These instructions are based on my experience using a Mac OS X laptop. The following probably won't work if you are not working from a unix-based system (i.e. Mac OS X / Ubuntu Linux / etc.). | |
| Steps to create a CSR: | |
| 1. Make a new directory to hold your project's SSL-related stuff. It doesn't really matter where you put this, but I recommend not putting it in your rails project (i.e. alongside app, config, db, etc.), as it will get included in your git repository if you do. Rather, I put it in a folder that is one level above my rails project. |
| # Some benchmarking I did on a local redis instance | |
| # Tested using: | |
| # Mac OSX Lion | |
| # Ruby 1.9.3 | |
| # IRB | |
| # Redis 2.4.8 | |
| # 10_000 | |
| >> r.info['used_memory_human'] |
The latest Xcode and Command Line Tools for Xcode changes the default compiler from gcc to the llvm compiler. Only ruby-1.9.3-p125+ is LLVM ready. So, you will have to install gcc-4.2 to compile older versions of Ruby. More detail here https://github.com/mxcl/homebrew/wiki/Custom-GCC-and-cross-compilers.
This worked for me. I hope it saves some people time:
brew install https://raw.github.com/adamv/homebrew-alt/master/duplicates/apple-gcc42.rb
CC=/usr/local/bin/gcc-4.2 rvm install 1.8.7
| #!/usr/bin/ruby | |
| # restart-unicorn: Graceful restart for Unicorn | |
| # depends on Linux's proc(5) | |
| # | |
| # MIT License: Copyright(c)2011 MATSUYAMA Kengo | |
| require 'scanf' | |
| require 'timeout' | |
| class ProcFS |
| #!/usr/bin/env ruby | |
| require "shellwords" | |
| def run_tags | |
| `ctags -R . 2>/dev/null` | |
| end | |
| def project_dir | |
| File.basename Dir.pwd |
What I do after I do a fresh install. Things are sorta grouped by type.