Skip to content

Commit

Permalink
Fixed stupidly tiny bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien committed Sep 13, 2008
1 parent 5b7d03c commit 35c5d96
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions merb-gen/lib/generators/templates/application/merb/merb.thor
Expand Up @@ -83,9 +83,8 @@ module MerbThorHelper
require 'rubygems'
if local_gem_dir = File.join(File.dirname(__FILE__), '..', 'gems')
$BUNDLE = true
Gem.clear_paths; Gem.path.unshift(local_gem_dir)
if File.directory?(gems_dir = File.join(File.dirname(__FILE__), '..', 'gems'))
$BUNDLE = true; Gem.clear_paths; Gem.path.unshift(gems_dir)
end
version = "#{Gem::Requirement.default}"
Expand Down

0 comments on commit 35c5d96

Please sign in to comment.