Isaac Sloan - Web Developer, Photographer, Musician and Citizen of Earth
Banner700

How to Create a Ruby Gem

November 10, 2014

Here is the most modern approach to gem crafting with Bundler:

bundle gem your_gem
cd your_gem

edit your_gem.gemspec and add description, summary and optional website. Add required gems such as rspec to the Gemfile.

rspec --init
How to Create a Ruby Gem

Setting up Rails/Passenger/Nginx/Mysql with xdelta3 on RED HAT ENTERPRISE LINUX

October 29, 2014

Step 1: Install Redhat RHEL

Step 2: Add a deploy user

adduser deploy

Step 3: Update and Install dependencies

Setting up Rails/Passenger/Nginx/Mysql with xdelta3 on RED HAT ENTERPRISE LINUX

Everything a Web Designer needs to know about Git!

September 05, 2013

Step 1: Delete your Git GUI!

Don't use Tower because somehow you'll manage to break everything in magical ways that make no sense to me.

Step 2: Assume things!

Everything a Web Designer needs to know about Git!

Setting up MiniTest for a Rails 4 App

October 03, 2014

Getting started is easy!

Add this code:

Gemfile

gem "minitest-rails", github: "blowmage/minitest-rails"
gem "minitest-reporters"

application.rb

config.generators do |g|
Setting up MiniTest for a Rails 4 App

Deploying a Rails Application

September 18, 2014

Setting up servers.

  • Follow this guide or clone from another instance that is setup this way.

Deploying to staging.

Deploying a Rails Application