-namespace 'db' do
- desc 'Adds a version number to the nodes table'
- task :node_version do
- require File.dirname(__FILE__) + '/../../config/environment'
+namespace "db" do
+ desc "Adds a version number to the nodes table"
+ task :node_version => :environment do
+ require File.dirname(__FILE__) + "/../../config/environment"