D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby22
/
lib64
/
ruby
/
2.2.0
/
rubygems
/
Filename :
install_default_message.rb
back
Copy
require 'rubygems' require 'rubygems/user_interaction' ## # A post-install hook that displays "Successfully installed # some_gem-1.0 as a default gem" Gem.post_install do |installer| ui = Gem::DefaultUserInteraction.ui ui.say "Successfully installed #{installer.spec.full_name} as a default gem" end