Skip to content

Commit

Permalink
Also move the activated marker to after activating dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed May 4, 2011
1 parent 5936589 commit 71bf043
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rubygems/specification.rb
Expand Up @@ -705,12 +705,11 @@ def activate

return false if Gem.loaded_specs[self.name]

self.activated = true

activate_dependencies
add_self_to_load_path

Gem.loaded_specs[self.name] = self
self.activated = true

return true
end
Expand Down

0 comments on commit 71bf043

Please sign in to comment.