Sha256: 44e5854658b6d3b68b3111dd9c90f3b67bf4675334bc2463435443a4e2efdf77

Contents?: true

Size: 494 Bytes

Versions: 34

Compression:

Stored size: 494 Bytes

Contents

# require this file to load the tasks
require 'rake'

# Require generator at runtime. If we don't do this the ActionView helpers are included
# before the Rails environment can be loaded by other Rake tasks, which causes problems
# for those tasks when rendering using ActionView.
namespace :enjoy do
  # Require generator only. When installed as a plugin the require will fail, so in
  # that case, load the environment first.
  task :require do
    Rake::Task['environment'].invoke
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
enjoy_cms-0.4.1 lib/enjoy/tasks.rb
enjoy_cms-0.4.0.5 lib/enjoy/tasks.rb
enjoy_cms-0.4.0.4 lib/enjoy/tasks.rb
enjoy_cms-0.4.0.3 lib/enjoy/tasks.rb
enjoy_cms-0.4.0.2 lib/enjoy/tasks.rb
enjoy_cms-0.4.0.1 lib/enjoy/tasks.rb
enjoy_cms-0.4.0 lib/enjoy/tasks.rb
enjoy_cms-0.4.0.beta3 lib/enjoy/tasks.rb
enjoy_cms-0.3.7.4 lib/enjoy/tasks.rb
enjoy_cms-0.3.7.3 lib/enjoy/tasks.rb
enjoy_cms-0.3.7.2 lib/enjoy/tasks.rb
enjoy_cms-0.3.7.1 lib/enjoy/tasks.rb
enjoy_cms-0.3.7 lib/enjoy/tasks.rb
enjoy_cms-0.3.6.2 lib/enjoy/tasks.rb
enjoy_cms-0.3.6.1 lib/enjoy/tasks.rb
enjoy_cms-0.3.6 lib/enjoy/tasks.rb
enjoy_cms-0.3.5 lib/enjoy/tasks.rb
enjoy_cms-0.3.4 lib/enjoy/tasks.rb
enjoy_cms-0.3.3 lib/enjoy/tasks.rb
enjoy_cms-0.3.2.1 lib/enjoy/tasks.rb