Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ruby-1.8.x (String#force_encoding doesn't exist on 1.8.x) #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mirakui
Copy link

@mirakui mirakui commented Dec 11, 2010

Hi.
Basepath is just what I've wanted ever!
So I wanna use it on ruby-1.8.7 . And I changed some code to support 1.8.x .
I wish you to merge this patch and push to rubygems.org .

@kch
Copy link
Owner

kch commented Dec 20, 2010

Hi. I'm kind of in the middle of a Big Rewrite™ and one of my goals was not caring about 1.8 compatibility.

(It's small enough a library that I could keep a 1.8 branch, though. Maybe.)

@kch
Copy link
Owner

kch commented Dec 20, 2010

I think I would prefer this patch to define String#force_encoding to just return self on 1.8 instead of syntactically pissing over every bit of code that calls it, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants