Defect #10818

Running rake in test environment causes exception

Added by John Yani about 1 year ago. Updated 8 months ago.

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

0%

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

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 Defect #10320: db migrate "ChangeAttachmentsContainerDefaults" error Closed

Associated revisions

Revision 10137
Added by Toshi MARUYAMA 10 months ago

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

Revision 10138
Added by Toshi MARUYAMA 10 months 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 10 months 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 3 months 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 10 months ago

  • Target version set to 2.0.4
  • Affected version set to 2.0.3

#2 Updated by Toshi MARUYAMA 10 months ago

  • Affected version changed from 2.0.3 to 1.4.4

#3 Updated by Toshi MARUYAMA 10 months ago

  • Category set to Ruby support

#4 Updated by Jean-Philippe Lang 8 months ago

  • Assignee set to Toshi MARUYAMA

Can we close this ticket?

#5 Updated by John Yani 8 months ago

Jean-Philippe Lang wrote:

Can we close this ticket?

Sure

#6 Updated by John Yani 8 months ago

  • Status changed from New to Resolved

#7 Updated by Toshi MARUYAMA 8 months ago

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

Thank you for your feedback.

Also available in: Atom PDF