How do you start your own instance of docs for Rails and other Gems you have installed?

To view docs for all Gems installed It’s assumed that you already have RubyGems installed. The following will provide you API docs for all of the gems you’ve installed on your computer. Each gem listed will have a description, its dependencies, URL to APIs docs and URL to its corresponding web page. How to generate […]

Appending to your environment variables in Instant Rails Ruby Console Window

How do you modify your environment variables of your Instant Rails Ruby Console Window? For example, to append the location of the Git binary you’ve installed on Windows, add the following to your PATH: First figure out what you need to add to your Ruby Console PATH by looking at what was added to your […]

Sending mail via GMail with Rails ActionMailer

If you are wondering how to get your Rails app to send email through your GMail account, read on… However, you need at least Ruby 1.8.7 according to the Agile Web Development with Rails book. I use BlueHost and they are on 1.8.6, as of July 27, 2009. So, these instructions won’t work on BlueHost […]

What ruby and rails methods are available and where are they defined?

The Array class is in ruby core. It includes the Enumerable module so mixes in the methods defined there. However, there is also a Enumerable module defined in Rails. So, when using arrays you get both for free. How do you know when something is mixed in? How would I know I should also see […]

Installing a Private Git Repository on your Shared Hosting Account, BlueHost

The reason I added this blog entry is because I tried to set up a private Git repository on BlueHost (shared hosting account) and didn’t find all of the information I needed in one place. I called BlueHost and they told me they allow it but won’t support it. Initially, I wasn’t sure if it […]