require active_support/all. fix #52
This commit is contained in:
parent
cd92f1f4f1
commit
19c9bbd32e
@ -12,10 +12,10 @@ end
|
|||||||
# It was previously defined as a dependency of this gem, but that became
|
# It was previously defined as a dependency of this gem, but that became
|
||||||
# problematic. See: http://github.com/javan/whenever/issues#issue/1
|
# problematic. See: http://github.com/javan/whenever/issues#issue/1
|
||||||
begin
|
begin
|
||||||
require 'active_support'
|
require 'active_support/all'
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
warn 'To user Whenever you need the active_support gem:'
|
warn 'To use Whenever you need the active_support gem:'
|
||||||
warn '$ sudo gem install active_support'
|
warn '$ gem install activesupport'
|
||||||
exit(1)
|
exit(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user