Defect #10818

Running rake in test environment causes exception

Added by John Yani over 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Toshi MARUYAMA% Done:

0%

Category:Ruby support
Target version:2.0.4
Resolution:Fixed Affected version:1.4.4

Description

The following exception
`block in non_options': file not found: _____ (ArgumentError)
is thrown for every rake task runned in a test environment.

There is a bug for this in rake https://github.com/jimweirich/rake/issues/51
Possible workarounds:


Related issues

Related to Redmine - Defect #10320: db migrate "ChangeAttachmentsContainerDefaults" error Closed

Associated revisions

Revision 10137
Added by Toshi MARUYAMA over 5 years ago

Gemfile: prevent "rake db:migrate RAILS_ENV=test" causes exception on Ruby 1.9.3 (#10320, #10818)

Revision 10138
Added by Toshi MARUYAMA over 5 years ago

Merged r10137 from trunk to 2.0-stable (#10320, #10818)

Gemfile: prevent "rake db:migrate RAILS_ENV=test" causes exception on Ruby 1.9.3.

Revision 10139
Added by Toshi MARUYAMA over 5 years ago

Merged r10137 from trunk to 1.4-stable (#10320, #10818)

Gemfile: prevent "rake db:migrate RAILS_ENV=test" causes exception on Ruby 1.9.3.

Revision 11325
Added by Toshi MARUYAMA almost 5 years ago

remove "test-unit" from Gemfile

This is added by r10137 (#10320, #10818) and shoulda version was upgraded by r11324.

History

#1 Updated by Etienne Massip over 5 years ago

  • Target version set to 2.0.4
  • Affected version (unused) set to 2.0.3
  • Affected version set to 2.0.3

#2 Updated by Toshi MARUYAMA over 5 years ago

  • Affected version (unused) changed from 2.0.3 to 1.4.4
  • Affected version changed from 2.0.3 to 1.4.4

#3 Updated by Toshi MARUYAMA over 5 years ago

  • Category set to Ruby support

#4 Updated by Jean-Philippe Lang about 5 years ago

  • Assignee set to Toshi MARUYAMA

Can we close this ticket?

#5 Updated by John Yani about 5 years ago

Jean-Philippe Lang wrote:

Can we close this ticket?

Sure

#6 Updated by John Yani about 5 years ago

  • Status changed from New to Resolved

#7 Updated by Toshi MARUYAMA about 5 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Fixed

Thank you for your feedback.

Also available in: Atom PDF