Note that there are some explanatory texts on larger screens.

plurals
  1. POErrors during rake db:migrate
    text
    copied!<p>I have been trying to upgrade my app from Rails 2.3 to Rails 3. I got the rails s to work with no errors but nothing will come up because I have not migrated the db. There has been numerous errors I have fixed trying to run rake db:migrate but I cannot get past this...</p> <pre><code>rake aborted! no such file to load -- config/environment (See full trace by running task with --trace) </code></pre> <p>my config environment is</p> <pre><code>#Load the rails application require File.expand_path('../application', __FILE__) # Initialize the rails application AppName::Application.initialize! </code></pre> <p>with trace</p> <pre><code> rake aborted! no such file to load -- config/environment /Users/Kyle/Desktop/Rails_Projects/unitedaction3/lib/tasks/account.rake:2:in `require' /Users/Kyle/Desktop/Rails_Projects/unitedaction3/lib/tasks/account.rake:2:in `&lt;top (required)&gt;' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/engine.rb:131:in `load' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/engine.rb:131:in `block in load_tasks' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/engine.rb:131:in `each' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/engine.rb:131:in `load_tasks' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:141:in `load_tasks' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.0/lib/rails/application.rb:77:in `method_missing' /Users/Kyle/Desktop/Rails_Projects/unitedaction3/Rakefile:9:in `&lt;top (required)&gt;' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load_rakefile' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:495:in `raw_load_rakefile' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:78:in `block in load_rakefile' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:77:in `load_rakefile' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:61:in `block in run' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:59:in `run' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/bin/rake:32:in `&lt;top (required)&gt;' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `load' /Users/Kyle/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `&lt;main&gt;' </code></pre> <p>Any ideas?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload