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.5.1 lib/rocket_cms/tasks.rb
rocket_cms-0.5.0 lib/rocket_cms/tasks.rb
rocket_cms-0.5.0.rc.5 lib/rocket_cms/tasks.rb
rocket_cms-0.5.0.rc.4 lib/rocket_cms/tasks.rb
rocket_cms-0.4.2 lib/rocket_cms/tasks.rb
rocket_cms-0.3.2 lib/rocket_cms/tasks.rb
rocket_cms-0.2.12 lib/rocket_cms/tasks.rb
rocket_cms-0.2.10 lib/rocket_cms/tasks.rb