Permalink
Browse files

Require version file

  • Loading branch information...
1 parent 30d80c5 commit ab9550855a7301069932caa289e49e6a6a7ebfb1 @sferik committed Dec 13, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/merb-admin.rb
View
@@ -1,7 +1,5 @@
if defined?(Merb::Plugins)
- $:.unshift File.dirname(__FILE__)
-
require 'merb-slices'
Merb::Plugins.add_rakefiles "merb-admin/merbtasks", "merb-admin/slicetasks", "merb-admin/spectasks"
@@ -24,6 +22,7 @@ module MerbAdmin
# Slice metadata
self.description = "MerbAdmin is a Merb plugin that provides an easy-to-use interface for managing your data."
+ require File.expand_path('../merb-admin/version', __FILE__)
self.version = VERSION
self.author = "Erik Michaels-Ober"

0 comments on commit ab95508

Please sign in to comment.