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

script/generate friendly_id doesn't make sure lib/tasks exist #22

Closed
technicalpickles opened this issue Nov 11, 2009 · 2 comments
Closed

Comments

@technicalpickles
Copy link
Contributor

I was running the generator on a project I had cloned from git... and because git doesn't keep around empty directories, lib/tasks didn't exist. The generator failed because it was trying to copy friendly_id.rake into a directory that didn't exist yet.

To address this, the generator just needs to do m.directory "lib/tasks" before putting a file in there.

@technicalpickles
Copy link
Contributor Author

This should be sufficient: 5960251

@norman
Copy link
Owner

norman commented Nov 11, 2009

I just applied your commit to the edge branch and will get it in the next release (along with your other recent patch). Thanks a lot for the help.

This issue was closed.
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