summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index d09b419..8b58316 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,6 +2,14 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
+require 'rake/packagetask'
+require 'rubygems/package_task'
+
+spec = eval(File.read('leap_web.gemspec'))
+Gem::PackageTask.new(spec) do |p|
+ p.gem_spec = spec
+end
+
require File.expand_path('../config/application', __FILE__)
-LeapWebDemo::Application.load_tasks
+LeapWeb::Application.load_tasks