Skip to content

Commit

Permalink
it is not yet sure if rubygems 1.9 will include regenerate command
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Jun 12, 2011
1 parent 7d95a56 commit da057e8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/rubygems_plugin.rb
@@ -1,7 +1,8 @@
require 'rubygems/command_manager'
require 'rubygems_bundler/rubygems_bundler_installer'
require 'rubygems_bundler/regenerate_binstubs_command'
if Gem::VERSION < '1.9' then
require 'rubygems/command_manager'
require 'rubygems_bundler/rubygems_bundler_installer'
require 'rubygems_bundler/fix_wrapper'
require 'rubygems_bundler/regenerate_binstubs_command'
Gem::CommandManager.instance.register_command :regenerate_binstubs
end

Gem::CommandManager.instance.register_command :regenerate_binstubs

0 comments on commit da057e8

Please sign in to comment.