Hola a todos,
tengo un problema cuando corro “rake db:migrate” en el servidor de
producción (en mi copia local funciona perfecto) la salida no dice mucho
(al
menos para mi) y no encuentro nada que me pueda ayudar en san google.
Este
es el comando: rake RAILS_ENV=production db:migrate --trace y esta es
lo
que devuelve:
(in /home/glow/deploy/releases/20090420231326)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
private method load' called for nil:NilClass /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:358:in
load_view_paths’
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:182:in
process' /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in
send’
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in run' /home/glow/deploy/releases/20090420231326/config/environment.rb:16 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require’
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in require' /home/glow/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
require’
/home/glow/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in
new_constants_in' /home/glow/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
require’
/usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/misc.rake:3
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:617:in call' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:617:in
execute’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:612:in each' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:612:in
execute’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:578:in
invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in
synchronize’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
invoke_with_call_chain' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:588:in
invoke_prerequisites’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:585:in each' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:585:in
invoke_prerequisites’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:577:in
invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in
synchronize’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
invoke_with_call_chain' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:564:in
invoke’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in
invoke_task' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in
top_level’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in each' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in
top_level’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
standard_exception_handling' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in
top_level’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in run' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
standard_exception_handling’
/home/glow/.gem/ruby/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in run' /home/glow/.gem/ruby/1.8/gems/rake-0.8.4/bin/rake:31 /var/lib/gems/1.8/bin/rake:19:in
load’
/var/lib/gems/1.8/bin/rake:19
Estoy usando rake 0.8.4, rails 2.2.2 y ruby 1.8.6. La verdad que no
tengo ni
idea donde puede estar el problema, asi que cualquier opinión será muy
agradecida.
Saludos.