And could you also post your config/database.yml?

On Oct 7, 11:33 am, amrita <[EMAIL PROTECTED]> wrote:
> What files do you have in your RAILS_ROOT/db folder?
>
> On Oct 7, 8:31 am, AnaRL <[EMAIL PROTECTED]> wrote:
>
> > Hi there,
>
> > I’m learning to use RoR. I’m trying to run  rake to create my blank
> > database, but I get this
> > “rake aborted! uninitialized constant ActiveRecord ”  msg
> > I don’t know what to do about it, I’ve checked I’ve installed
> > everything I need.
> > If I go to the files and lines indicated in the stack error
> > But it doesn’t mean anything to me, I can’t see anything wrong with
> > them.
> > Anyone any idea what’s going on?
>
> > Thank you,
>
> > Ana
>
> > rake db:create --trace
> > (in /home/anarl/MyProject)
> > ** Invoke db:create (first_time)
> > ** Invoke environment (first_time)
> > ** Execute environment
> > ** Execute db:create
> > rake aborted!
> > uninitialized constant ActiveRecord
> > /home/anarl/MyProject/vendor/rails/actionpack/lib/../../activesupport/
> > lib/active_support/dependencies.rb:266:in `load_missing_constant'
> > /home/anarl/MyProject/vendor/rails/actionpack/lib/../../activesupport/
> > lib/active_support/dependencies.rb:453:in `const_missing'
> > /home/anarl/MyProject/vendor/rails/actionpack/lib/../../activesupport/
> > lib/active_support/dependencies.rb:465:in `const_missing'
> > /home/anarl/MyProject/vendor/rails/railties/lib/tasks/databases.rake:
> > 30
> > /usr/lib/ruby/1.8/rake.rb:546:in `call'
> > /usr/lib/ruby/1.8/rake.rb:546:in `execute'
> > /usr/lib/ruby/1.8/rake.rb:541:in `each'
> > /usr/lib/ruby/1.8/rake.rb:541:in `execute'
> > /usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain'
> > /usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
> > /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
> > /usr/lib/ruby/1.8/rake.rb:494:in `invoke'
> > /usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task'
> > /usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
> > /usr/lib/ruby/1.8/rake.rb:1909:in `each'
> > /usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
> > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
> > /usr/lib/ruby/1.8/rake.rb:1903:in `top_level'
> > /usr/lib/ruby/1.8/rake.rb:1881:in `run'
> > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
> > /usr/lib/ruby/1.8/rake.rb:1878:in `run'
> > /usr/bin/rake:28
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
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