Commit 2c34db5f4d30a33953c347dff3c01ddf7c5054ff

Authored by Antonio Terceiro
2 parents d7ee1f55 bad18a79

Merge remote-tracking branch 'origin/master' into rails4

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/version.rb
... ... @@ -5,7 +5,7 @@ end
5 5  
6 6 root = File.expand_path(File.dirname(__FILE__) + '/../..')
7 7 if File.exist?(File.join(root, '.git'))
8   - git_version = Dir.chdir(root) { `git describe --tags`.strip.sub('-rc', '~rc') }
  8 + git_version = Dir.chdir(root) { `git describe --tags`.to_s.strip.sub('-rc', '~rc') }
9 9 if git_version > Noosfero::VERSION
10 10 Noosfero::VERSION.clear << git_version
11 11 end
... ...