From: Logan Capaldo Date: 2007-07-06T06:38:09+09:00 Subject: Re: already initialized constant OPTIONS help please! ------=_Part_82834_26376106.1183671491024 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/5/07, Dan Morton wrote: > > > > I'm not sure exactly under what circumstances rails raises what > > exceptions, > > but the LoadError seems to indicate that the file acts_as_attachment.rb > > in > > the directory technoweenie is missing. Furthermore it seems to expect it > > to > > be in the plugins dir of your rails project > > > (vendor/plugins/acts_as_attachment/lib/technoweenie/acts_as_attachment.rb). > > If that file is missing I think you've found your culprit. > > I really wish the problem was this easy. I do have that plugin and path > in my rails application. > > The strange thing I discovered this afternoon was if I was to remove the > acts_as_attachment plugin from my rails app.. then I will get the same > error running ruby script/server pointing its finger at the next > remaining plugin in my list acts_as_paranoid. > > So, it would appear that whatever this problem is it has something to do > with linking the way ruby finds my plugins... it is error'ing out on the > first one it comes across. I would suggest maybe taking this to the rails list. Looks like it is some sort of issue with how rails's plugin loading works. -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_82834_26376106.1183671491024--