Completely misses the point« an older post
a newer one »Should I?

This was supposed to be easy


So, in interviewing for a job as a front end developer (awwwwwwwww yisssssssssss, automate all the things front end!), I ended up excited about a company that uses Rails (and Ruby) as their application framework. When I was asked, "How would you feel about never writing another line of code in PHP?" I responded, "I'd be okay with it." Languages are ways to communicate, with PHP being just one dialect. If I need to learn how to speak Ruby, *shrug* If the people are awesome, hand me the Ruby book.

Right, the Ruby book.

I'm heading through "Agile Web Development with Rails 4," as it was recommended by the director of engineering at the company. The contents indicate that it's a reasonable introduction to Ruby, which is great. Fortunately for me, I took Chookie's suggestion of problems from Project Euler to play around with languages. I'm currently solving my problems in PHP, JavaScript, Python and Ruby, so that Ruby isn't a blocker on the learning.


Except I have to say, the length of time it took me to get to this screen:

was stupidly too long.

Seriously, this file exists:

bash-3.2$ more /usr/bin/rails 
echo 'Rails is not currently installed on this system. To get the latest version, simply type:'
echo '    $ sudo gem install rails'
echo 'You can then rerun your "rails" command.'

I really want to ask who thought having this was a good idea, when THIS is the correct response on every single flavor of *nix I can think of:

bash-3.2$ rails
bash: rails: command not found

I'm really glad I know what I'm doing on the command line, because the "oh, just run it with sudo before the command" really doesn't cut it. Really.

Hey, how about those PATH variables?


Okay, fine now. All set with the demo app. Hello, localhost:3000 (groan! that port will stay around maybe 2 chapters in, and then it's back to my numbering scheme).