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…
Category: ruby
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”…
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…
Babelphish is a Little Less Rotten
I’ve let Babelphish sit for a while. It did what it was supposed so why change it? Then Michael Jenik offered some changes that made it compatible with the latest Google Translate API. To work with the latest API you have to get a key, but it’s pretty easy to do and babelphish will look…
Textmate RSpec Bundle Error
After installing the Textmate RSpec bundle I started getting this error: /Applications/TextMate.app/Contents/SharedSupport/Support/lib/builder.rb:86:in `blank_slate_method_added’: stack level too deep (SystemStackError) from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/builder.rb:86:in `blank_slate_method_added’ from /Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:84:in `method_added’ from /Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:104 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require’ from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require’ from /Users/jbasdf/projects/red/vendor/rails/activesupport/lib/active_support/basic_object.rb:21 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require’ from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require’ … 32 levels… from /Users/jbasdf/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:36:in `chdir’ from /Users/jbasdf/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:36:in `run’ from /Users/jbasdf/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:24:in `run_focussed’…
Fireeagle and PortableContacts Don’t Get Along. That Makes Daddy Mad.
I have some code that looks like this: user.google.portable_contacts.all </pre> As long as user.google is a valid token provided by oauth you will get back a list of the user’s contacts from gmail. That is unless you have the Fireeagle gem included in your application. In that case you will spend the night swearing like…
Don’t Upgrade to Rails 2.3.8 Unless You Really Mean It
I just got a new laptop which means re-installing everything. This included Rails and I ended up with 2.3.8. Most of my projects use 2.3.5. I figured no big deal since various Rails versions have always played together in the past. I installed 2.3.5 with gem install rails -v=2.3.5 and figured all would be well….
Mountain West Ruby Conference
I spent last week at the Mountain West Ruby Conference which is by far the best conference I’ve ever attended due to the brilliant minds that gather from all over the country. This year Yukihiro Matsumoto (Matz), the creator of ruby came from Japan to provide his aura to to adoring minions. I had the…
River – Amazon Wishlist Gem
One more post on Amazon Wishlist code. As another follow up to my post on Amazon Wishlist RSS, Ruby and Signing/Authenticating your Requests and the site I built to run the code My Amazon Feeds (post here) I’ve created a gem to contain all the code. Get it by running sudo gem install river </pre>…
no configured for
If you are using Jeweler and get this error: no configured for Check out the troubleshooting section: You need to edit ~/.rubyforge/auto-config.yml and make sure processor_ids is set like this: processor_ids: IA64: 6000 AMD-64: 1500 Any: 8000 Sparc: 4000 PPC: 2000 Other: 9999 Alpha: 7000 i386: 1000 UltraSparc: 5000 MIPS: 3000