Can’t start at the beginning
This blog will mainly be about my attempt to learn Ruby on Rails and the mayhem that will follow. After working in interactive jobs for over a decade, mainly on front end design/dev, I have decided to attempt a more technical pursuit. I am a couple of weeks into this process, so I can’t start at the beginning. Here is what I have gone through in my first couple of weeks:
I am working on Windows 7 for the time being, so to start I had to choose my tools and install everything. I am using Cygwin for command line stuff and pspad for my text editor. I have encountered a few issues with installing and configuring Cygwin, but everything is working fine now.
Initially I found a couple of pages that gave ideas on the ‘best’ way to learn RoR. The Best Way to Learn Rails by Ian Murray and Best Way to Learn Ruby & Rails by Aston J. These are both informative pages pointing you to many available resources for learning RonR.
I started with Learn to Program by Chris Pine, which is a nice straightforward introduction to Ruby. I got most of the way through and now I have moved to Ruby on Rails Tutorial by Michael Hartl. This book was also available at my local library so I have the hard copy as well. Currently I am on Chapter 3 and have encountered an error in Cygwin that I have to figure out before I can move on.
The error while trying to generate a pages controller:
$ rails generate controller Pages home contact
cygwin warning:
MS-DOS style path detected: C:\ProgramData/gemrc
Preferred POSIX equivalent is: /cygdrive/c/ProgramData/gemrc
CYGWIN environment variable option
"nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
(I was able to get rid of this error message. Read this post about nodofilewarning).
Next post I will discuss how I solved this problem. But for now I am heading to Eureka Springs with my family and will be back tomorrow evening. Bet.