Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
574 views
in Technique[技术] by (71.8m points)

migration - Trying to import Issues from JIRA to Redmine

Following this: https://www.redmine.org/issues/1385#note-43

I have been trying to run the following query: rake jira_migration:test_all_migrations RAILS_ENV=production And below mentioned is the trace: rake jira_migration:test_all_migrations RAILS_ENV=production --trace rake aborted! LoadError: cannot load such file -- config/environment C:/xampp/htdocs/redmine-4.1.1/lib/tasks/migrate_jira.rake:4:in require' C:/xampp/htdocs/redmine-4.1.1/lib/tasks/migrate_jira.rake:4:in <top (required)>' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/engine.rb:656:in load' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/engine.rb:656:in block in run_tasks_blocks' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/engine.rb:656:in each' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/engine.rb:656:in run_tasks_blocks' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/application.rb:515:in run_tasks_blocks' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/engine.rb:459:in load_tasks' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/railtie.rb:190:in public_send' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/railties-5.2.4.2/lib/rails/railtie.rb:190:in method_missing' C:/xampp/htdocs/redmine-4.1.1/Rakefile:7:in <top (required)>' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/rake_module.rb:29:in load' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/rake_module.rb:29:in load_rakefile' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/application.rb:703:in raw_load_rakefile' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/application.rb:104:in block in load_rakefile' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/application.rb:186:in standard_exception_handling' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/application.rb:103:in load_rakefile' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/application.rb:82:in block in run' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/application.rb:186:in standard_exception_handling' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/lib/rake/application.rb:80:in run' C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/rake-13.0.3/exe/rake:27:in <top (required)>' C:/RailsInstaller/Ruby2.3.3/bin/rake:22:in load' C:/RailsInstaller/Ruby2.3.3/bin/rake:22:in `'


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to reply this article.

OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...