RubyGems 1.3.7 doesn’t play nice with OSX 1.5.8

If you ever run into this pain in the butt error, hopefully this’ll save you some time: Installing a gem without the version works fine; installing a gem using “-v 2.x.x” or whatever version you like ends in: spec_fetcher.rb:254: warning: getc is obsolete; use STDIN.getc instead Guess what? RubyGems 1.3.7 doesn’t play nice with OSX … [Read more…]

Ruby on Rails: When Textmate Breaks

After installing Ruby 1.8.7 on my shiny iMac, Textmate decided that it no longer knew where the Ruby environment was. Oh, it knew where Ruby was, and would run Ruby scripts just fine, but whenever I tried to use anything from any bundle, all I got was: “env: ruby: No such file or directory” Maddening. … [Read more…]

Ruby on Rails: Autocomplete with jQuery error: “Couldn’t find FileData with ID”

Just in case anyone else has this problem and does not want to bang their head against the wall for an hour like I did: When using the autocomplete plugin that uses jQuery instead of scriptaculous, you need to add a route: map.auto_complete ‘:controller/:action’, :requirements => { :action => /auto_complete_for_\S+/ }, :conditions => { :method … [Read more…]