Entries from March 2008 ↓
require_gem ‘activerecord’
March 11th, 2008 — Planet, Uncategorized
A Ruby application that uses the ActiveRecord library (not a Ruby on Rails application) stopped working for me after an update of Ruby. The error message was:
TEXT [Show Styled Code]:
undefined method `require_gem' for main:Object (NoMethodError)
TEXT [Show Plain Code]:
undefined method `require_gem’ for main:Object (NoMethodError)
The corresponding source code was:
Ruby [Show Styled Code]:
require 'rubygems'
require_gem [...]