# Support for ruby 1.9

**URL:** <https://www.ruby-forum.com/t/support-for-ruby-1-9/108317>\
**Category:** Ruby\
**Created:** [July 2, 2007, 6:56am UTC](https://www.ruby-forum.com/t/support-for-ruby-1-9/108317 "2007-07-02T06:56:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_DeLorme](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9d8465/32.png) [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Post date:** [July 2, 2007, 6:56am UTC](https://www.ruby-forum.com/t/support-for-ruby-1-9/108317/1 "2007-07-02T06:56:49Z")

</div>

Is there some kind of package out there that would allow me to develop  
in ruby 1.8 while avoiding incompatibility with 1.9? Something that for  
example would:  
define String#lines  
warn me when I use String#to\_a  
define Kernel#funcall  
warn me when I use Kernel#send on a private method  
…etc

That would be quite useful.

Daniel

---

<div class="post-metadata">

**Author:** ![Daniel\_DeLorme](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9d8465/32.png) [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Post date:** [July 2, 2007, 7:13am UTC](https://www.ruby-forum.com/t/support-for-ruby-1-9/108317/2 "2007-07-02T07:13:51Z")

</div>

On 7/2/07, Daniel DeLorme [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Is there some kind of package out there that would allow me to develop  
> in ruby 1.8 while avoiding incompatibility with 1.9? Something that for  
> example would:  
> define String#lines  
> warn me when I use String#to\_a  
> define Kernel#funcall  
> warn me when I use Kernel#send on a private method  
> …etc
> 
> That would be quite useful.

Austin Z. and I were talking a while ago about how it’d be cool  
to have an option like:

ruby --warn1.9

As far as I know, such initiatives haven’t taken place yet, but they’d  
be quite welcome. I want to start working on 1.9 compatibility for  
some of my projects in the next couple months, to be an ‘early  
adopter’.

---

<div class="post-metadata">

**Author:** ![Daniel\_DeLorme](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9d8465/32.png) [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Post date:** [July 2, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/support-for-ruby-1-9/108317/3 "2007-07-02T19:40:44Z")

</div>

1.9 doesn’t sound API-stable enough to start thinking about it yet,  
IMHO.

Aur S.

---

<div class="post-metadata">

**Author:** ![Daniel\_DeLorme](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9d8465/32.png) [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Post date:** [July 2, 2007, 7:46pm UTC](https://www.ruby-forum.com/t/support-for-ruby-1-9/108317/4 "2007-07-02T19:46:45Z")

</div>

On 7/2/07, SonOfLilit [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1.9 doesn’t sound API-stable enough to start thinking about it yet, IMHO.

It is scheduled to be released in December. It will need to slow down  
soon enough.
