Raimon Fs
2008-Jun-30 15:31 UTC
can''t start rails app: vendor/rails/railties/lib/initializer
Hello, after some months of not using Ruby On Rails, I want to do more work with it, but I can''t start one of my rails projects: sh-3.2# mongrel_rails start ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- /Users/rai/Documents/Ruby/dades/config/../vendor/rails/railties/lib/initializer (LoadError) from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'' from /Users/rai/Documents/Ruby/dades/config/boot.rb:7 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'' from /Users/rai/Documents/Ruby/dades/config/environment.rb:11 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:147:in `rails'' ... 8 levels... from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in `run'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 from /usr/bin/mongrel_rails:19:in `load'' from /usr/bin/mongrel_rails:19 sh-3.2# I think I have installed rails 2.1 and 1.2.5, not sure how to check it. I figure the problem is in the environment.rb in this line: RAILS_GEM_VERSION = ''1.2.5'' unless defined? RAILS_GEM_VERSION I have some other rails project that use that line but with other rails version, and they work ok. Any clue ? thanks! raimon -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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
2008-Jun-30 16:34 UTC
Re: can''t start rails app: vendor/rails/railties/lib/initializer
On 30 Jun 2008, at 16:31, Raimon Fs wrote:> > Hello, > > after some months of not using Ruby On Rails, I want to do more work > with it, but I can''t start one of my rails projects: >what''s in vendor/rails ? Fred> sh-3.2# mongrel_rails start > ** Starting Mongrel listening at 0.0.0.0:3000 > ** Starting Rails with development environment... > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'': no such file to load -- > /Users/rai/Documents/Ruby/dades/config/../vendor/rails/railties/lib/ > initializer > (LoadError) > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `require'' > from /Users/rai/Documents/Ruby/dades/config/boot.rb:7 > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `require'' > from /Users/rai/Documents/Ruby/dades/config/environment.rb:11 > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'' > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `require'' > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/rails.rb:147:in > `rails'' > ... 8 levels... > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > gems/1.8/gems/mongrel-1.1.4/bin/../lib/mongrel/command.rb:212:in > `run'' > from > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > gems/1.8/gems/mongrel-1.1.4/bin/mongrel_rails:281 > from /usr/bin/mongrel_rails:19:in `load'' > from /usr/bin/mongrel_rails:19 > sh-3.2# > > > I think I have installed rails 2.1 and 1.2.5, not sure how to check > it. > > I figure the problem is in the environment.rb in this line: > > RAILS_GEM_VERSION = ''1.2.5'' unless defined? RAILS_GEM_VERSION > > > I have some other rails project that use that line but with other > rails > version, and they work ok. > > Any clue ? > > thanks! > > raimon > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Raimon Fs
2008-Jun-30 19:10 UTC
Re: can''t start rails app: vendor/rails/railties/lib/initial
Frederick Cheung wrote:> On 30 Jun 2008, at 16:31, Raimon Fs wrote: > >> >> Hello, >> >> after some months of not using Ruby On Rails, I want to do more work >> with it, but I can''t start one of my rails projects: >> > > what''s in vendor/rails ? > > Frednothing, just an empty foler called rails ..vendor/plugins/will_paginate ..vendor/rails/ all my other rails projects doesn''t have the rails folder ... I''ve just deleted the rails folder and now the rails application runs ok ... so, why ? thanks! raimon -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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
2008-Jun-30 19:46 UTC
Re: can''t start rails app: vendor/rails/railties/lib/initial
On 30 Jun 2008, at 20:10, Raimon Fs wrote:> > Frederick Cheung wrote: >> On 30 Jun 2008, at 16:31, Raimon Fs wrote: >> >>> >>> Hello, >>> >>> after some months of not using Ruby On Rails, I want to do more work >>> with it, but I can''t start one of my rails projects: >>> >> >> what''s in vendor/rails ? >> >> Fred > > nothing, just an empty foler called rails > > ..vendor/plugins/will_paginate > ..vendor/rails/ > > all my other rails projects doesn''t have the rails folder ... > > I''ve just deleted the rails folder and now the rails application > runs ok > ... > > so, why ? >because if there is a rails folder, boot.rb assumes that you want to load rails from that folder. Fred> thanks! > > raimon > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Raimon Fs
2008-Jun-30 20:06 UTC
Re: can''t start rails app: vendor/rails/railties/lib/initial
Frederick Cheung wrote:> On 30 Jun 2008, at 20:10, Raimon Fs wrote: > >>> >> >> I''ve just deleted the rails folder and now the rails application >> runs ok >> ... >> >> so, why ? >> > because if there is a rails folder, boot.rb assumes that you want to > load rails from that folder. > > Fredok, thanks, maybe this folder appeared when I tried to freeze my rails 1.2.5 version to this app but I don''t now what could happen ... tanks again! raimon -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---