On Jun 12, 8:03 am, Soutom <[email protected]> wrote:
> I have a RoR project in rails version 1.1.6.
> Just to start this project i just install rails of version 1.1.6
>
> but when i am going to start  to start the server then i got the
> following error..
>
> D:\simpleticket>ruby script/server
> ./script/../config/boot.rb:25:Warning: Gem::SourceIndex#search support
> for Strin
> g patterns is deprecated
> ./script/../config/boot.rb:28: undefined method `require_gem' for
> main:Object (N
> oMethodError)
>         from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `ge
> m_original_require'
>         from D:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `re
> quire'
>         from script/server:2
>
> So, At this Present  How can i able to start this lower version
> project,
> Please Help me...

You're rails app doesn't like the version of rubygems you have
installed ( require_gem was deprecated and then replaced with gem). It
may be enough to replace occurrences of require_gem with gem

Fred
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to