Defect #11945
rake task prints "can't convert Errno::EACCES into String" in case of no permission of public/plugin_assets
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Code cleanup/refactoring | |||
Target version: | 2.1.1 | |||
Resolution: | Fixed | Affected version: | 2.0.0 |
Description
On Ruby 1.9.3.
$ ll public/plugin_assets/sample_plugin/stylesheets/example.css -r--r--r-- 1 hoge hoge 73 Sep 26 11:15 public/plugin_assets/sample_plugin/stylesheets/example.css
$ echo >> plugins/sample_plugin/assets/stylesheets/example.css
$ rake db:migrate RAILS_ENV=development rake aborted! can't convert Errno::EACCES into String Tasks: TOP => db:migrate => environment (See full trace by running task with --trace)
Associated revisions
fix "can't convert Errno::EACCES into String" in case of no permission of public/plugin_assets on Ruby 1.9.3 (#11945)
add more error message if public/plugin_assets cannot be created (#11945)
History
#1
Updated by Jean-Philippe Lang almost 10 years ago
- Status changed from New to Closed
- Resolution set to Fixed