Bug #2609
install.rb will not run on ruby 1.9.1 due to ftools being deprecated
| Status: | Closed | Start date: | 09/07/2009 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | - | |||
| Target version: | 1.5.8 | |||
| Keywords: | Affected Facter version: | |||
| Branch: | ||||
| Votes: | 0 |
Description
Hi,
Due to ftools being deprecated in Ruby 1.9.1 (See http://redmine.ruby-lang.org/issues/show/1401), install.rb for facter will not run properly without modifications.
Attached is a patch that should let facter use ftools if it is available or use fileutils if ftools cannot be found.
I have tested installing facter 1.5.6 with this patch using Ruby 1.9.1p243 on a Debian Lenny box
History
Updated by James Turnbull over 2 years ago
- Status changed from Unreviewed to Accepted
- Target version set to 1.5.7
Updated by Paul Nasrat over 2 years ago
- Assignee set to Paul Nasrat
Updated by Paul Nasrat over 2 years ago
- Target version changed from 1.5.7 to 1.6.0
Updated by Stéphan Gorget over 2 years ago
Updated by Jos Backus almost 2 years ago
Why not simply use FileUtils always? It should work with both 1.8 and 1.9.
Updated by Jos Backus almost 2 years ago
- File bug-2609.diff added
The patch also fixes a mode issue in the man directories (was 0644, should probably be 0755).
Updated by James Turnbull over 1 year ago
- Status changed from Accepted to Closed
Pushed in commit:d4b8401dc4b2323a0c162e59e3f98b355d2c3c40 in branch master.
Updated by James Turnbull over 1 year ago
- Target version changed from 1.6.0 to 1.5.8