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
ack_rocket_cms-0.7.2.4 lib/rocket_cms/tasks.rb
ack_rocket_cms-0.7.2.3.2 lib/rocket_cms/tasks.rb
ack_rocket_cms-0.7.2.3.1 lib/rocket_cms/tasks.rb
ack_rocket_cms-0.7.2.3 lib/rocket_cms/tasks.rb
rocket_cms-0.6.11 lib/rocket_cms/tasks.rb
ack_rocket_cms-0.7.2.2 lib/rocket_cms/tasks.rb
rocket_cms-0.6.10 lib/rocket_cms/tasks.rb
ack_rocket_cms-0.7.2.1 lib/rocket_cms/tasks.rb
rocket_cms-0.6.9 lib/rocket_cms/tasks.rb
rocket_cms-0.6.8 lib/rocket_cms/tasks.rb
rocket_cms-0.6.7 lib/rocket_cms/tasks.rb
rocket_cms-0.6.6 lib/rocket_cms/tasks.rb
rocket_cms-0.6.5 lib/rocket_cms/tasks.rb
rocket_cms-0.6.4 lib/rocket_cms/tasks.rb
rocket_cms-0.6.3 lib/rocket_cms/tasks.rb
rocket_cms-0.6.2 lib/rocket_cms/tasks.rb
rocket_cms-0.6.1 lib/rocket_cms/tasks.rb
rocket_cms-0.6.0 lib/rocket_cms/tasks.rb
rocket_cms-0.5.24 lib/rocket_cms/tasks.rb
rocket_cms-0.5.23 lib/rocket_cms/tasks.rb