Skip to content

Commit

Permalink
Fix packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Aug 21, 2008
1 parent 1ccdf73 commit ab9a95e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Expand Up @@ -21,11 +21,13 @@ end
def git_tree_version
if File.directory?(".git")
@tree_version ||= `git describe`.strip.sub('-', '.')
@tree_version << ".0" unless @tree_version.count('.') == 2
else
$: << "lib"
require 'rack'
@tree_version = Rack.release
end
@tree_version
end

def gem_version
Expand Down

0 comments on commit ab9a95e

Please sign in to comment.