Skip to content

Commit

Permalink
Fixing Gems.activate error in Ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Jan 24, 2011
1 parent c396762 commit 7d56265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gem_template/gems.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def activate(*gems)


self.gemset ||= gemset_from_loaded_specs self.gemset ||= gemset_from_loaded_specs


gems.flatten.collect(&:to_sym).each do |name| gems.flatten.collect { |g| g.to_sym }.each do |name|
version = @versions[name] version = @versions[name]
vendor = File.expand_path("../../../vendor/#{name}/lib", __FILE__) vendor = File.expand_path("../../../vendor/#{name}/lib", __FILE__)
if File.exists?(vendor) if File.exists?(vendor)
Expand Down

0 comments on commit 7d56265

Please sign in to comment.