install redmine code review plugin error
Added by hao tang over 7 years ago
when i migrate plugin:
rake redmine:plugins:migrate RAILS_ENV=production
I get a rake aborted!
> # rake redmine:plugins:migrate RAILS_ENV=production > rake aborted! > No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) > /var/lib/gems/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' > (See full trace by running task with --trace)
then ,i assign Rakefile to the path "/var/lib/gems/2.3.0/gems/rake-12.0.0/exe/rake"
> # rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production -f /var/lib/gems/2.3.0/gems/rake-12.0.0/Rakefile --trace > rake aborted! > Unable to determine name from existing gemspec. Use :name => 'gemname' in #install_tasks to manually set it. > /usr/lib/ruby/vendor_ruby/bundler/gem_helper.rb:29:in `initialize' > /usr/lib/ruby/vendor_ruby/bundler/gem_helper.rb:13:in `new' > /usr/lib/ruby/vendor_ruby/bundler/gem_helper.rb:13:in `install_tasks' > /usr/lib/ruby/vendor_ruby/bundler/gem_tasks.rb:5:in `<top (required)>' > /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' > /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' > /var/lib/gems/2.3.0/gems/rake-12.0.0/Rakefile:13:in `<top (required)>' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in `load' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in `load_rakefile' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:687:in `raw_load_rakefile' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:96:in `block in load_rakefile' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:95:in `load_rakefile' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:79:in `block in run' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:in `standard_exception_handling' > /var/lib/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:77:in `run' > /var/lib/gems/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' > /usr/local/bin/rake:23:in `load' > /usr/local/bin/rake:23:in `<main>'
Could you help me ?