diff options
| author | Michel Etienne | 2014-07-01 16:10:54 +0200 |
|---|---|---|
| committer | Michel Etienne | 2014-07-01 16:10:54 +0200 |
| commit | 570f4effc3d6fadb3273c3cea42bb5898e8c51fd (patch) | |
| tree | 1732453905710e8366fdd2453eee92e4209c7535 /lib | |
| parent | 0ddc1f22fe1d53cbbf209c2c6c4c100a518630fc (diff) | |
| download | chouette-core-570f4effc3d6fadb3273c3cea42bb5898e8c51fd.tar.bz2 | |
prevent task doc:user to load in production environment
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tasks/userdoc.rake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/userdoc.rake b/lib/tasks/userdoc.rake index 1023aa681..df72c32e4 100644 --- a/lib/tasks/userdoc.rake +++ b/lib/tasks/userdoc.rake @@ -1,4 +1,5 @@ #encoding: utf-8 +if Rails.env != 'production' require 'fileutils' require 'nokogiri' @@ -129,4 +130,5 @@ namespace :doc do end +end |
