I''ve posted a different question just before -- but before I can try
and get a better idea of my error message, I was trying to start my
application and ran into other problems.
My application was developed last year in rails 1.2.3. I since
upgraded my computer and have the latest version of rails. When I
tried to star the application I got the following error message:
/.../config/environment.rb:62: undefined method `require_gem'' for
main:Object (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `gem_original_require''
my environment.rb: 62 has:
require_gem ''acts_as_taggable''
which I know isn''t compatible
Would anyone have a suggestion on how to solve this?
Thanks
Elle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Hi elle,
require_gem method has been deprecated. use simply
''require''.
Thanks,
-Sadeesh kumar
On Jul 12, 2:28 pm, elle
<wazne...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I''ve posted a different question just before -- but before I can
try
> and get a better idea of my error message, I was trying to start my
> application and ran into other problems.
> My application was developed last year in rails 1.2.3. I since
> upgraded my computer and have the latest version of rails. When I
> tried to star the application I got the following error message:
>
> /.../config/environment.rb:62: undefined method `require_gem'' for
> main:Object (NoMethodError)
> from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `gem_original_require''
>
> my environment.rb: 62 has:
> require_gem ''acts_as_taggable''
> which I know isn''t compatible
>
> Would anyone have a suggestion on how to solve this?
>
> Thanks
> Elle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Changing it to ''require'' I now get the following error
message:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- acts_as_taggable
(MissingSourceFile)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:27:in `require''
....
I did install the gem. Should I install/update it?
Thanks,
Elle
On Jul 12, 9:40 pm, sadeesh kumar
<sadath...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi elle,
> require_gem method has been deprecated. use simply
''require''.
>
> Thanks,
> -Sadeesh kumar
>
> On Jul 12, 2:28 pm, elle
<wazne...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > I''ve posted a different question just before -- but before I
can try
> > and get a better idea of my error message, I was trying to start my
> > application and ran into other problems.
> > My application was developed last year in rails 1.2.3. I since
> > upgraded my computer and have the latest version of rails. When I
> > tried to star the application I got the following error message:
>
> > /.../config/environment.rb:62: undefined method `require_gem''
for
> > main:Object (NoMethodError)
> > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:27:in `gem_original_require''
>
> > my environment.rb: 62 has:
> > require_gem ''acts_as_taggable''
> > which I know isn''t compatible
>
> > Would anyone have a suggestion on how to solve this?
>
> > Thanks
> > Elle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
On 12 Jul 2008, at 20:14, elle wrote:> > Changing it to ''require'' I now get the following error message: >Actually require_gem should be replaced with gem Fred> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'': no such file to load -- acts_as_taggable > (MissingSourceFile) > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:27:in `require'' > .... > > I did install the gem. Should I install/update it? > Thanks, > Elle > > > > On Jul 12, 9:40 pm, sadeesh kumar <sadath...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Hi elle, >> require_gem method has been deprecated. use simply ''require''. >> >> Thanks, >> -Sadeesh kumar >> >> On Jul 12, 2:28 pm, elle <wazne...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >>> I''ve posted a different question just before -- but before I can try >>> and get a better idea of my error message, I was trying to start my >>> application and ran into other problems. >>> My application was developed last year in rails 1.2.3. I since >>> upgraded my computer and have the latest version of rails. When I >>> tried to star the application I got the following error message: >> >>> /.../config/environment.rb:62: undefined method `require_gem'' for >>> main:Object (NoMethodError) >>> from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ >>> custom_require.rb:27:in `gem_original_require'' >> >>> my environment.rb: 62 has: >>> require_gem ''acts_as_taggable'' >>> which I know isn''t compatible >> >>> Would anyone have a suggestion on how to solve this? >> >>> Thanks >>> Elle > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yep, that worked. Thanks Fred. Elle On Jul 13, 8:02 am, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 12 Jul 2008, at 20:14, elle wrote: > > > > > Changing it to ''require'' I now get the following error message: > > Actually require_gem should be replaced with gem > > Fred > > > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require'': no such file to load -- acts_as_taggable > > (MissingSourceFile) > > from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:27:in `require'' > > .... > > > I did install the gem. Should I install/update it? > > Thanks, > > Elle > > > On Jul 12, 9:40 pm, sadeesh kumar <sadath...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> Hi elle, > >> require_gem method has been deprecated. use simply ''require''. > > >> Thanks, > >> -Sadeesh kumar > > >> On Jul 12, 2:28 pm, elle <wazne...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > >>> I''ve posted a different question just before -- but before I can try > >>> and get a better idea of my error message, I was trying to start my > >>> application and ran into other problems. > >>> My application was developed last year in rails 1.2.3. I since > >>> upgraded my computer and have the latest version of rails. When I > >>> tried to star the application I got the following error message: > > >>> /.../config/environment.rb:62: undefined method `require_gem'' for > >>> main:Object (NoMethodError) > >>> from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ > >>> custom_require.rb:27:in `gem_original_require'' > > >>> my environment.rb: 62 has: > >>> require_gem ''acts_as_taggable'' > >>> which I know isn''t compatible > > >>> Would anyone have a suggestion on how to solve this? > > >>> Thanks > >>> Elle--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---