tag:blogger.com,1999:blog-3203176475121480523.post8263204461437085340..comments2023-07-18T03:46:19.824-07:00Comments on /* The Schmitzer's Comment */: Rails 2.2 - undefined method 'write_inheritable_attribute'Jeff Schmitzhttp://www.blogger.com/profile/16709142000425590583noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-3203176475121480523.post-6809996446985089122009-02-07T10:40:00.000-08:002009-02-07T10:40:00.000-08:00Install the ruby-iconv port... it is required for ...Install the ruby-iconv port... it is required for the 2.0+ activerecord gem. <BR/><BR/>#package (if available)<BR/>pkg_add -r ruby-iconv<BR/><BR/>- or -<BR/><BR/>#port tree<BR/>/usr/port/converters/ruby-iconv/ make clean installAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3203176475121480523.post-14139248788644736072009-01-05T07:28:00.000-08:002009-01-05T07:28:00.000-08:00Thanks Sprewell. This is great info.Thanks Sprewell. This is great info.Jeff Schmitzhttps://www.blogger.com/profile/16709142000425590583noreply@blogger.comtag:blogger.com,1999:blog-3203176475121480523.post-788410169645696762009-01-05T07:23:00.000-08:002009-01-05T07:23:00.000-08:00I just wasted hours on this so here's some more in...I just wasted hours on this so here's some more info. Active Support relies on iconv but if you load Active Record without incov installed, it will silently fail and tell you it couldn't find cattr_accessor, which is part of Active Support. The solution is to make sure iconv is installed. Unfortunately, because of <A HREF="http://www.cygwin.com/ml/cygwin/2008-09/msg00603.html" REL="nofollow">aAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3203176475121480523.post-54125686962645889732008-12-26T00:36:00.000-08:002008-12-26T00:36:00.000-08:00if your using Ruby Enterprise you will not get the...if your using Ruby Enterprise you will not get the iconv error as noted above but sure enough it is a missing iconv problem.<BR/><BR/>refer to this post if your using ruby enterprise<BR/>http://groups.google.com/group/emm-ruby/browse_thread/thread/e4aa78aa9c1e4c9dAnonymousnoreply@blogger.com