require "bundler/gem_tasks" require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec desc 'Start development Rails app' task :web do app_path = 'spec/dummy' port = ENV['PORT'] || 3000 puts "Starting application in http://localhost:#{port} ... \n" Dir.chdir(app_path) `rails s -p #{port}` end