Proyecto

General

Perfil

Problemas en la instalación en Debian 7 (wheezy)

Añadido por Anónimo hace más de 10 años

Realicé la instalación siguiendo el archivo INSTALL que viene dentro del tar.gz. Todo los pasos van sin errores hasta el último:

LANG=es_ES RAILS_ENV=production rake db:seed

La salida de este comando es la siguiente:

===== Inicio =====

DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /usr/share/gong/gor/Rakefile:14)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /usr/share/gong/gor/Rakefile:14)
rake aborted!
undefined method `pais_id_changed?' for #<Proyecto:0xb108b90>
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activemodel-3.2.9/lib/active_model/attribute_methods.rb:407:in `method_missing'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/attribute_methods.rb:149:in `method_missing'
/usr/share/gong/gor/app/models/proyecto.rb:703:in `cambiar_monedas'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:486:in `_run__833878300__save__976200439__callbacks'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/callbacks.rb:264:in `create_or_update'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/persistence.rb:84:in `save'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/validations.rb:50:in `save'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/attribute_methods/dirty.rb:22:in `save'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/transactions.rb:259:in `block (2 levels) in save'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/transactions.rb:208:in `transaction'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/transactions.rb:259:in `block in save'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/transactions.rb:270:in `rollback_active_record_state!'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/transactions.rb:258:in `save'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/persistence.rb:45:in `create'
/usr/share/gong/gor/db/seeds.rb:295:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:245:in `load'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:245:in `block in load'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:245:in `load'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/railties-3.2.9/lib/rails/engine.rb:520:in `load_seed'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/activerecord-3.2.9/lib/active_record/railties/databases.rake:333:in `block (2 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-1.9.2-p320@gor/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:seed
(See full trace by running task with --trace)

===== Final =====


Respuestas (1)

RE: Problemas en la instalación en Debian 7 (wheezy) - Añadido por Santiago Ramos hace más de 10 años

Ese fallo se debe a un bug en el proceso de provisión inicial de datos.

Ya está resuelto en la versión 2.37, así que actualiza de nuevo el código y repite el comando 'LANG=es_ES RAILS_ENV=production rake db:seed'

    (1-1/1)
    Financiado por:

    Desarrollado por:
    Software libre forjado en: