# Has 'ping' been dropped from 1.9.1?

**URL:** <https://www.ruby-forum.com/t/has-ping-been-dropped-from-1-9-1/162877>\
**Category:** Ruby\
**Created:** [March 14, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/has-ping-been-dropped-from-1-9-1/162877 "2009-03-14T23:37:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [March 14, 2009, 11:37pm UTC](https://www.ruby-forum.com/t/has-ping-been-dropped-from-1-9-1/162877/1 "2009-03-14T23:37:33Z")

</div>

=begin  
RUBY\_REVISION  
=\> 21895  
=end

require ‘ping’  
LoadError: no such file to load – ping  
from (irb):1:in `require’  
from (irb):1

–  
John M.  
07739 171 531  
MSc (DIC)

Timezone: GMT

---

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [March 15, 2009, 3:14am UTC](https://www.ruby-forum.com/t/has-ping-been-dropped-from-1-9-1/162877/2 "2009-03-15T03:14:38Z")

</div>

> require ‘ping’  
> LoadError: no such file to load – ping  
> from (irb):1:in `require’  
> from (irb):1

if you desperately need it (though yes it seems it wasn’t included in  
the source package) just move it over from 1.8 or download it  
separately.

mv /usr/lib/ruby/1.8/ping.rb /usr/lib/ruby/1.9.1/

Not the best solution but work with wut yuh got!

- Mac

---

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [March 15, 2009, 5:11pm UTC](https://www.ruby-forum.com/t/has-ping-been-dropped-from-1-9-1/162877/3 "2009-03-15T17:11:21Z")

</div>

On Sat, 14 Mar 2009 21:12:24 -0500, Michael L. wrote:

> mv /usr/lib/ruby/1.8/ping.rb /usr/lib/ruby/1.9.1/
> 
> Not the best solution but work with wut yuh got!
> 
> - Mac

That’s a horrible idea. If the 1.8 version works, include it in your  
project, but don’t go modifying your standard library.

---

<div class="post-metadata">

**Author:** ![john\_maclean](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e8c25b/32.png) [@john\_maclean](https://www.ruby-forum.com/u/john_maclean)\
**Post date:** [March 15, 2009, 7:10pm UTC](https://www.ruby-forum.com/t/has-ping-been-dropped-from-1-9-1/162877/4 "2009-03-15T19:10:03Z")

</div>

> That’s a horrible idea. If the 1.8 version works, include it in your  
> project, but don’t go modifying your standard library.

Hence “not the best solution”. And it wouldn’t be modifying the  
‘standard’ library because ping wasn’t included in the standard library;  
therefore it isn’t standard. I would agree with you if I was replacing  
Find or something with a 1.8 distro file, a file that was already  
included in the standard library.

If ping is re-added in a future release, the 1.8v of ping will be  
overwritten.
