Sha256: 7ef5a20050f9d6d4d9d513a3b0b23b8b1f111093242f8b5e71c28d84900ad6ef

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

task :environment => :disable_rails_admin_initializer

task :disable_rails_admin_initializer do
  ENV['SKIP_RAILS_ADMIN_INITIALIZER'] = 'true' if ENV['SKIP_RAILS_ADMIN_INITIALIZER'].nil?
end

namespace :rails_admin do
  desc "Install rails_admin"
  task :install do
    system 'rails g rails_admin:install'
  end
  
  desc "Uninstall rails_admin"
  task :uninstall do
    system 'rails g rails_admin:uninstall'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elucid-rails_admin-0.0.1 lib/tasks/rails_admin.rake