# Writing portable Ruby

**URL:** <https://www.ruby-forum.com/t/writing-portable-ruby/69234>\
**Category:** Ruby\
**Created:** [September 19, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/writing-portable-ruby/69234 "2006-09-19T15:40:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christoph\_Neubauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b782af/32.png) [@Christoph\_Neubauer](https://www.ruby-forum.com/u/Christoph_Neubauer)\
**Post date:** [September 19, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/writing-portable-ruby/69234/1 "2006-09-19T15:40:56Z")

</div>

If I need hints for writing portable Perl, I do …

> perldoc perlport

… and get a lot of information about …

newlines, …  
files and filesystems, …  
interprocess communications, …  
different implementation of Perl functions on various platforms, …

What do I have to do, to get similar information for writing portable  
Ruby ?

Any hints welcome !  
Chris

---

<div class="post-metadata">

**Author:** ![Christoph\_Neubauer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/b782af/32.png) [@Christoph\_Neubauer](https://www.ruby-forum.com/u/Christoph_Neubauer)\
**Post date:** [September 19, 2006, 5:42pm UTC](https://www.ruby-forum.com/t/writing-portable-ruby/69234/2 "2006-09-19T17:42:22Z")

</div>

On Tue, 19 Sep 2006, Christoph Neubauer wrote:

> What do I have to do, to get similar information for writing portable Ruby ?
> 
> Any hints welcome !  
> Chris

well, considering portable means windows + every\_thing\_nix these days  
i’d  
start by reviewing the win32 project. by seeing which things are  
provided  
you’ll be able to see areas where windows is either lacking, has  
different  
functionality, or provides additional functionality. it’s those areas  
where  
one need to do some os abstraction.

-a
