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

Rake mktmpdir issues means not compatbile with pre-1.8.7 Ruby #10

Open
natevw opened this issue Nov 30, 2010 · 2 comments
Open

Rake mktmpdir issues means not compatbile with pre-1.8.7 Ruby #10

natevw opened this issue Nov 30, 2010 · 2 comments

Comments

@natevw
Copy link

natevw commented Nov 30, 2010

When trying to build Couch with an older version of Ruby (Mac OS X 10.5 Leopard ships with 1.8.6) the build fails due to a missing Dir mktmpdir method. If this dependency (hopefully no others are hiding after this one?) could be eliminated it would be much easier to build Couch on slightly older platforms/distros.

@jhs
Copy link
Contributor

jhs commented Dec 14, 2010

I agree! I am frustrated with mktmpdir myself. I think it should be easy to re-implement or perhaps copy the code from a newer build, since I imagine it is written in pure Ruby.

I will close this ticket when I find the time to write that and thus depend on pretty much any Ruby anybody might have.

@jhs
Copy link
Contributor

jhs commented Mar 7, 2011

Hi! I just committed an experimental Dir.mktmpdir backport into the master branch. It works for me with new Ruby, however I have not tried it with Ruby 1.8.6 or newer.

I did, however, visually confirm that all of the functions called by Dir.mktmpdir do exist in the 1.8.6 library (e.g. Dir.tmpdir, FileUtils.remove_entry_secure).

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

No branches or pull requests

2 participants