Deprecated: add_custom_background is deprecated since version 3.4.0! Use add_theme_support( 'custom-background', $args ) instead. in /home/pqmz7qzy9yt5/public_html/wp-includes/functions.php on line 5084

Deprecated: add_custom_image_header is deprecated since version 3.4.0! Use add_theme_support( 'custom-header', $args ) instead. in /home/pqmz7qzy9yt5/public_html/wp-includes/functions.php on line 5084

Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the jquery handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/pqmz7qzy9yt5/public_html/wp-includes/functions.php on line 5536

Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the smoothscroll handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /home/pqmz7qzy9yt5/public_html/wp-includes/functions.php on line 5536

Deprecated: The called constructor method for WP_Widget in Yoko_SocialLinks_Widget is deprecated since version 4.3.0! Use __construct() instead. in /home/pqmz7qzy9yt5/public_html/wp-includes/functions.php on line 5177
Adventures in Ruby | Megan Taylor

Megan Taylor

front-end dev, volunteacher, news & data junkie, bibliophile, Flyers fan, sci-fi geek and kitteh servant

Adventures in Ruby

It’s been about 2 months since I joined Ruby Nuby, and I haven’t posted any updates on my progress.

I joined Ruby Nuby (a soon-to-be non-profit dedicated to teaching the first year of Ruby Programming, Rails Framework and Related Technologies) because I’ve been wanting to learn some deep programming, but needed a little bit of structure and guidance to do it. I didn’t really care what the language was, because I know the skills are transferable between languages.

I’d been working with Ruby Nuby and Rails 3 for a few weeks when a friend mentioned that he was looking for a hacking/learning buddy. He’s playing with the Ruby framework Sinatra, but I figured that would just let me see more of the actual Ruby-ness going on.

So, I innocently started out to add Sinatra to my programming environment. We had discussed Ruby Version Manager at a Ruby Nuby meetup, so I knew that was the way to go to keep everything neat and avoid conflicts. Surely it couldn’t take more than an hour to get everything properly set up.

Hah.

It took me two days of hanging out in forums and IRC channels before I finally got everything going.

My issue was that, having started out with Rails 3, I had installed Ruby 1.9.2-p0 as my system default. When I wanted to start playing with Sinatra as well, I installed RVM, and used the awesome project .rvmrc feature to set up folders for my various projects.

But there’s some sort of conflict between Sinatra 1.0 and Ruby 1.9.2-p0, (I never did figure out exactly what was going on there, but I couldn’t get Sinatra to launch at all) and so I had to re-install Ruby 1.8.7 using RVM and create new project files to use that version of Ruby with Sinatra.

Really, figuring all that out shouldn’t have taken more than an hour or two. But the RVM docs aren’t n00b-friendly, and I spent a lot of time just researching errors and trying to figure out what was going on.

But I did, and I’ve even had some time to write a little bit of code (I’m posting all my code to GitHub, you can check out my work there).

The point of all this is that setting up programming environments in a big fat pain in the butt. I remember when I wanted to teach myself Python/Django in college, and it took me almost a year just to get everything properly installed and hooked up. Talk about barrier to entry.

So I’d like to see some thought put into this setup process. I did finally find an awesome solution to my Django issues (Bitnami), but it took so long just to get the environment running that most of my motivation and excitement had petered out.

Comments are closed.


Notice: Undefined index: host in /home/pqmz7qzy9yt5/public_html/wp-content/plugins/jetpack/modules/stats.php on line 209