I have installed ruby1.8.5-22 under windows, and then rails 1.2.3 and also i update rubygems to 0.9.3 with gems update --system however,when i enter the project directory and input the command rake db:migrate,it sucks with the following errors: rake aborted! uninitialized constant ActionController c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in `const_missing'' D:/RubyForge/gmaps/config/../app/controllers/application.rb:4 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_re quire'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' D:/RubyForge/gmaps/config/../lib/tasks/importing_tasks.rake:36 c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in `load'' c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_re quire'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' D:/RubyForge/gmaps/rakefile:10 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `raw_load_rakefile '' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in `load_rakefile'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exceptio n_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in `load_rakefile'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exceptio n_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 c:/ruby/bin/rake.bat:20:in `load'' c:/ruby/bin/rake.bat:20 anybody who can help me with that? -- 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 -~----------~----~----~----~------~----~------~--~---
fred wrote:> anybody who can help me with that?Hi Fred, rake db:migrate works for everyone who has setup their system correctly. You don''t mention what database you are using, or how you have configured it. rgds, - matt. -- 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 -~----------~----~----~----~------~----~------~--~---
Hilarious title, kudos. On May 15, 12:12 am, fred <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I have installed ruby1.8.5-22 under windows, > and then rails 1.2.3 > and also i update rubygems to 0.9.3 with gems update --system > however,when i enter the project directory and input the command rake > db:migrate,it sucks with the following errors: > > rake aborted! > uninitialized constant ActionController > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in > `const_missing'' > D:/RubyForge/gmaps/config/../app/controllers/application.rb:4 > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_re > quire'' > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > D:/RubyForge/gmaps/config/../lib/tasks/importing_tasks.rake:36 > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in > `load'' > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in > `each'' > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_re > quire'' > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > D:/RubyForge/gmaps/rakefile:10 > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in > `raw_load_rakefile > '' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in > `load_rakefile'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in > `load_rakefile'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > c:/ruby/bin/rake.bat:20:in `load'' > c:/ruby/bin/rake.bat:20 > > anybody who can help me with that? > > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
...> Hi Fred, > > rake db:migrate works for everyone who has setup their system correctly. > > You don''t mention what database you are using, or how you have > configured it.you can also get more info by adding rake --trace ; it gives more verbose info. aside from that, what migration are you trying to do? do you have a shcema.rb file in the db directory? a 001_add_table.rb or 002_migration_file.rb in db/migrate/* ? -- 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 -~----------~----~----~----~------~----~------~--~---
At first glance, it looks like there''s something wrong with your environment setting, particularly the path. and input the command rake> db:migrate,it sucks with the following errors: > > rake aborted! > uninitialized constant ActionController > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in > `const_missing'' > D:/RubyForge/gmaps/config/../app/controllers/application.rb:4 > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_re > quire'' > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > D:/RubyForge/gmaps/config/../lib/tasks/importing_tasks.rake:36 > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in > `load'' > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in > `each'' > c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_re > quire'' > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > D:/RubyForge/gmaps/rakefile:10 > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in > `raw_load_rakefile > '' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in > `load_rakefile'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in > `load_rakefile'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exceptio > n_handling'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > c:/ruby/bin/rake.bat:20:in `load'' > c:/ruby/bin/rake.bat:20 > > anybody who can help me with that? > > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---
Yeah... what''s this: D:/RubyForge/gmaps/config/../app/controllers/application.rb:4 b Joon wrote:> At first glance, it looks like there''s something wrong with your > environment setting, particularly the path. > > > and input the command rake >> db:migrate,it sucks with the following errors: >> >> rake aborted! >> uninitialized constant ActionController >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in >> `const_missing'' >> D:/RubyForge/gmaps/config/../app/controllers/application.rb:4 >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `gem_original_re >> quire'' >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `require'' >> D:/RubyForge/gmaps/config/../lib/tasks/importing_tasks.rake:36 >> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in >> `load'' >> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 >> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7:in >> `each'' >> c:/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/tasks/rails.rb:7 >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `gem_original_re >> quire'' >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `require'' >> D:/RubyForge/gmaps/rakefile:10 >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in `load'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in >> `raw_load_rakefile >> '' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in >> `load_rakefile'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in >> `standard_exceptio >> n_handling'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in >> `load_rakefile'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in `run'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in >> `standard_exceptio >> n_handling'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' >> c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 >> c:/ruby/bin/rake.bat:20:in `load'' >> c:/ruby/bin/rake.bat:20 >> >> anybody who can help me with that? >> >> -- >> Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---