Name |
Last commit
|
Last Update |
---|---|---|
cucumber | ||
features | ||
gemfiles | ||
lib | ||
shoulda_macros | ||
spec | ||
.gitignore | ||
.travis.yml | ||
Appraisals | ||
CONTRIBUTING.md | ||
Gemfile | ||
LICENSE | ||
NEWS | ||
README.md | ||
RUNNING_TESTS.md | ||
Rakefile | ||
UPGRADING | ||
paperclip.gemspec |
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 |
---|---|---|
cucumber | Loading commit data... | |
features | Loading commit data... | |
gemfiles | Loading commit data... | |
lib | Loading commit data... | |
shoulda_macros | Loading commit data... | |
spec | Loading commit data... | |
.gitignore | Loading commit data... | |
.travis.yml | Loading commit data... | |
Appraisals | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
Gemfile | Loading commit data... | |
LICENSE | Loading commit data... | |
NEWS | Loading commit data... | |
README.md | Loading commit data... | |
RUNNING_TESTS.md | Loading commit data... | |
Rakefile | Loading commit data... | |
UPGRADING | Loading commit data... | |
paperclip.gemspec | Loading commit data... |