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

No such file to load -- ftools #9

Open
zaknixon opened this issue Jan 28, 2010 · 4 comments
Open

No such file to load -- ftools #9

zaknixon opened this issue Jan 28, 2010 · 4 comments

Comments

@zaknixon
Copy link

I get this error when using attachment_fu with Ruby 1.9.1p378 and Rails Rails 2.3.5.
Any ideas on how to fix this problem ?

@bultacorick
Copy link

Change:
require 'ftools'
To:
require 'fileutils'

@zaknixon
Copy link
Author

zaknixon commented Feb 2, 2010

Now I get the following error:

undefined method `cp' for File:Class

@bultacorick
Copy link

You should probably do a git://github.com/technoweenie/attachment_fu.git. Attachment_fu has been upgraded to be compatible with Ruby 1.9 and now explicitly points to FileUtils.

@bultacorick
Copy link

Of course, what I meant to say was scripts/plugin install git://github.com/technoweenie/attachment_fu.git.

j1wilmot pushed a commit to Punchbowl/attachment_fu that referenced this issue Jul 11, 2017
Refactor DbFileBackend for Rails 4 AREL conformity
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