lib/baldwin/gem_tasks.rb in baldwin-0.2.3 vs lib/baldwin/gem_tasks.rb in baldwin-0.2.4

- old
+ new

@@ -27,9 +27,16 @@ desc "Install testing awesomeness" task :install do Baldwin::Installer.start end + + desc "Start up a dummy application" + task :server => :'baldwin:env' do + APP_PATH = Baldwin.rails.join 'config/application' + require Baldwin.rails.join 'config/boot' + require 'rails/commands' # this automatically runs 'rails server' + end end RSpec::Core::RakeTask.new :rspec => [ :'baldwin:env', :'baldwin:rails' ] desc "Run specs for all supported rails versions"