Sha256: dc8f659f5fad12562760398482c292a61aae0a13376e03d4eb37e6f54a533e51

Contents?: true

Size: 491 Bytes

Versions: 188

Compression:

Stored size: 491 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 :rs 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

188 entries across 188 versions & 3 rubygems

Version Path
rocket_cms-0.37.1 lib/rocket_cms/tasks.rb
rocket_cms-0.37.0 lib/rocket_cms/tasks.rb
rocket_cms-0.36.0 lib/rocket_cms/tasks.rb
rocket_cms-0.35.0 lib/rocket_cms/tasks.rb
rocket_cms-0.34.0 lib/rocket_cms/tasks.rb
rocket_cms-0.33.1 lib/rocket_cms/tasks.rb
rocket_cms-0.33.0 lib/rocket_cms/tasks.rb
rocket_cms-0.32.0 lib/rocket_cms/tasks.rb
rocket_cms-0.31.1 lib/rocket_cms/tasks.rb
rocket_cms-0.31.0 lib/rocket_cms/tasks.rb
rocket_cms-0.30.0 lib/rocket_cms/tasks.rb
rocket_cms-0.29.0 lib/rocket_cms/tasks.rb
rocket_cms-0.28.0 lib/rocket_cms/tasks.rb
rocket_cms-0.27.8 lib/rocket_cms/tasks.rb
rocket_cms-0.27.7 lib/rocket_cms/tasks.rb
rocket_cms-0.27.6 lib/rocket_cms/tasks.rb
rocket_cms-0.27.5 lib/rocket_cms/tasks.rb
rocket_cms-0.27.4 lib/rocket_cms/tasks.rb
rocket_cms-0.27.3 lib/rocket_cms/tasks.rb
rocket_cms-0.27.2 lib/rocket_cms/tasks.rb