We’ve recently moved FTBpro’s Ruby on Rails servers to the newest Ruby version on earth - Ruby 2.1. It has been running on our production servers for the past two weeks. Our stack includes: MySQL, MongoDB, Rails 3.2, ElasticSearch Memcached and Redis. We wanted to share our experience of making…
SHERLOCK FONTS MASTERPOST
I had nothing to do this morning so I collected all of my favourite fonts from Sherlock. I know some of these are already identified and well-known - but here they are. Very good to save as reference for graphics/edits.
Here are the download links to the ones who aren’t already installed on your computers, in chronological order (and what they’re mostly used for):
P22 Johnston Underground - Deductions
I AM SHERLOCKED (Free) - Titles
Astoria - John’s voice in Sherlock’s head
AF Generation Z - Text messages and deducitons
The Recon Legend (Free) - Newspapers, headlines.
P22 Underground Light - Hashtag “#SherlockLives”
Aster EF Medium - Speedy’s. Not sure of this one, but it’s similar.
Helvetica Neue Pro Cond Bold - London Street signs.
Clarion Pro Regular - John’s blog header.
Bebas (Free) - Mayfly man scene
FF Meta Pro Normal - The museum in The Blink Banker
Shanghai (Free) - The circus’ font in The Blink Banker
I hope this will become useful!
Here’s a (non-exhaustive,…
< 2.3.12 : Setting Up Bundlr-less apps
gem install rails -v 2.3.10
rvm rubygems latest-1.6
2.3.10 was released on 14 Oct 2010 so look for gems released around that time for compatibility
Mark the versions in your /config/environment.rb
Upgrading Your Ruby via RVM (Update)
see Previous post
Now just rvm upgrade 2.0.0-p195 2.0.0-p353
This will upgrade all your gemsets too, now go get that coffee
One important Visual Design Principle involves the creation of patterns to lead the user’s eyes to important things. And like all good rules, patterns are made to be broken. So today we will learn the visual principle of:
Repetition and Pattern-Breaking
(If you’re just starting the UX…
Real life is full of sun light, artificial light, heat, cold, clothing, brands, fashion, and a million other things that effect the way we perceive colours. As a UX designer we may not care about Pantones and brand guidelines, but we definitely have to learn about:
Upgrading Your Ruby via RVM
Critical patch was announced at ruby-lang.org
Here is how I upgraded my Rubies via RVM
$ rvm get stable
$ rvm list known
Find the Ruby you need in the list, in this case:
$ rvm install 1.9.3-p484
Then list out your gemsets
$ rvm list
$ rvm use ruby-1.9.3-p392
$ rvm gemset list
$ rvm use 1.9.3-p392@my_gemset
Then copy your gemsets over
$ rvm gemset copy 1.9.3-p392@my_gemset 1.9.3-p484@my_gemset
Once you have done all your testing and want to remove the older version of the ruby
$ rvm remove ruby-1.9.3-p392
This will remove all your gemsets as well.
Setting Up A Mac Mini as Rails Production Server
I have a Mac Mini Server Late 2011 just lying around and thought I’d turn it into a Rails production server, to run my software demo’s and do production testing etc etc.
It’s an i7 with 8GB RAM, which if you think about it is way more than I need considering the minute VPSes they have out there.
OK everything is setup so far, have Mavericks running so heres a checklist that you might need.
1. A “Rails Services Admin Account”
Create an account that you’ll use to administer the Rails applications , PSQL and other stuff, keep it seperate from your root account and your personal account.
System Preferences | Users and Groups | [+]
Then Login with your new credentials
2. Install/Update Xcode and command line tools
Get that in the App store. For Command line tools theres a great tutorial here. in short:
$xcode-select —install [enter]
if that doesnt work just download from apple
3. Install Node.js
Helps with asset compilation. Get it here
4. Update git
git clone https://github.com/git/git
5. Install or Update Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
6. Install RVM
You can use RBENV if you want.
$ curl -L https://get.rvm.io | bash -s
$ rvm requirements
$ brew install libtool libxslt libksba openssl
$ rvm install 2.0.0 --with-openssl-dir=$HOME/.rvm/usr
$ gem install rails --version 4.0.1
6. All Done
Kitten image placeholder for web developers