| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | ||
| paperclip | ||
| tasks | ||
| paperclip.rb |
As referenced in #1739 Just because the `Rails` constant is defined, it doesn't mean we're actually in a Rails app. Since there are people who use Paperclip outside of Rails, and there's no reason we shouldn't be able to run in those situations. This commit checks for `Rails.env` instead of just checking for `Rails` and assuming `Rails.env` works.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| generators/paperclip | Loading commit data... | |
| paperclip | Loading commit data... | |
| tasks | Loading commit data... | |
| paperclip.rb | Loading commit data... |