Ask for Help
“Why does RubyGems 1.8.1 say ‘No method “basename” for #’ when running Spork?”
It looks like RubyGems thinks that somethings a Pathname when it’s actually a String. That’s weird, since it seems to be entirely inside RubyGems’ own code. It might have something to do with all the changes happening in RubyGems. The team’s downgraded to 1.7.2 and the problem went away.
Interestingly, 1.7.2 is the version currently listed on RubyGems.org. 1.8.1, however, is what
gem update --system installs.