We refactored OERGlue to use backbone.js. That makes our life a lot simpler. Along the way we discovered require.js and I entered nerdvana. The documentation for require.js and backbone.js are both good and it doesn’t take to long to read through the code. However, putting them together, getting the development environment right and then deploying…
Script Your Development Environment Setup on Your New Mac
Just in time for Christmas. Every developer who’s been good this year is hoping for a new MacBook under the tree. (Actually your better off waiting since Apple is likely to release new machines in 4 or 5 months). Anyway, if you need to setup a development environment in a hurry here are some scripts…
Customizing Views for a Multi-Tenant Application Using Ruby on Rails Custom Resolvers
Like so many other internet startups, OER Glue is a multi-tenant application. The process of hosting many of clients using a single piece of software presents a number of challenges and one of the largest has been customizing the look for each customer. I’ve tried solving this a number of different ways over the years…
Backbone.js – Clean up your views
I’ve been integrating backbone.js into OER Glue. After years of writing all kinds of spaghetti javascript code to manage client side ajax backbone.js is like manna from heaven. If you’re new to backbone.js and you want to use it with Ruby on Rails James Yu has a couple of great posts to get you going….
Pushing my luck with jQuery. Scope matters.
OER Glue makes heavy use of jQuery. We’re currently working on a proxy version of the technology that won’t require installing a browser plugin. It’s pretty cool. One of the biggest challenges for us has been ensuring consistent look, feel and operation of our technology across any possible website on the Internet. That’s not a…
Loving Goliath. Watch Out for Stones
We’ve been looking at proxy solutions to help us deliver OER Glue courses to learners without the requirement of installing an extension. There are an insane number of proxy solutions out there that do all kinds of really incredible things. For the delivery of courses and modification of pages we really only need something that…
ruby 1.9.2, rvm and a Nasty Error When Installing RubyGems: couldn’t parse YAML at line 2 column 10 (Psych::SyntaxError)
It’s ‘funny’ how seemingly simple things take you down nasty paths. I was hoping to spend a few minutes playing with Goliath. That led me to installing ruby 1.9.2 using rvm which spit out this error: Removing old Rubygems files… Installing rubygems dedicated to ruby-1.9.2-p290… Installing rubygems for /Users/jbasdf/.rvm/rubies/ruby-1.9.2-p290/bin/ruby ERROR: Error running ‘GEM_PATH=”/Users/jbasdf/.rvm/gems/ruby-1.9.2-p290:/Users/jbasdf/.rvm/gems/ruby-1.9.2-p290@global:/Users/jbasdf/.rvm/gems/ruby-1.9.2-p290:/Users/jbasdf/.rvm/gems/ruby-1.9.2-p290@global” GEM_HOME=”/Users/jbasdf/.rvm/gems/ruby-1.9.2-p290″ “/Users/jbasdf/.rvm/rubies/ruby-1.9.2-p290/bin/ruby”…
Cycling in Teton Valley (Driggs, ID)
Just spent the week with my family in Teton Valley and Grand Teton National Park. After four days of kids, mosquitoes and me biking every day my wife is not going to divorce me so it’s been a great vacation. Of course as I type this Callie is giving me grief that of all the…
Upgrade to MySQL 5.5.12 and now MySQL won’t start
I messed up my local install of MySQL (it’s a long story that involves me almost throwing a punch to my 30” monitor). I finally gave up, deleted everything MySQL related according to these notes and then I used homebrew to do a clean install. After the install I started getting this error: ERROR 2002…
Brew Install MySQL Issue
I ran into a problem while trying to install mysql using homebrew: ~/projects/oerglue (master)$ brew install mysql ==> Downloading http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.12.tar.gz curl: (7) couldn’t connect to host Error: Failure while executing: /usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-174; Mac OS X 10.6.8) http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.12.tar.gz -o /Users/jbasdf/Library/Caches/Homebrew/mysql-5.5.12.tar.gz Basically, the script couldn’t find the mysql source code. Luckily homebrew uses…