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... Thanking You
sanjib dhar
2009-Jun-12 07:34 UTC
Re: Fail to start a lower Version ( Rails 1.1.6) Rails Project
[?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?] [?][?][?][?][?][?][?][?][?][?][?][?][?][?][?] [?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?][?] [?][?][?][?][?]On Fri, Jun 12, 2009 at 12:33 PM, Soutom <soutom.dhara-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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... > > Thanking You > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2009-Jun-12 08:08 UTC
Re: Fail to start a lower Version ( Rails 1.1.6) Rails Project
On Jun 12, 8:03 am, Soutom <soutom.dh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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