namespace :db do
  namespace :admin do
    desc "Create admin username and password"
    task :create => :environment do
      require File.join(Rails.root, 'db', 'sample', 'users.rb')
    end
  end
end
namespace :db do
  namespace :admin do
    desc "Create admin username and password"
    task :create => :environment do
      require File.join(File.dirname(__FILE__), '..', '..', 'db', 'default', 'users.rb')
    end
  end
end
Fix db:admin:create task to locate the correct users.rb file
Fix db:admin:create task to locate the correct users.rb file
