baldwin 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/baldwin/gem_tasks.rb +7 -0
- data/lib/baldwin/version.rb +1 -1
- metadata +1 -1
data/lib/baldwin/gem_tasks.rb
CHANGED
@@ -29,6 +29,13 @@ namespace :baldwin do
|
|
29
29
|
task :install do
|
30
30
|
Baldwin::Installer.start
|
31
31
|
end
|
32
|
+
|
33
|
+
desc "Start up a dummy application"
|
34
|
+
task :server => :'baldwin:env' do
|
35
|
+
APP_PATH = Baldwin.rails.join 'config/application'
|
36
|
+
require Baldwin.rails.join 'config/boot'
|
37
|
+
require 'rails/commands' # this automatically runs 'rails server'
|
38
|
+
end
|
32
39
|
end
|
33
40
|
|
34
41
|
RSpec::Core::RakeTask.new :rspec => [ :'baldwin:env', :'baldwin:rails' ]
|
data/lib/baldwin/version.rb
CHANGED