Nick Res
Nick Res

Reputation: 2244

Can't Delete Files

Using a Mac.

I've created a blog for a demo learning Ruby on Rails. I'm trying to delete the files to the blog I created but there are some files remaining that won't delete.

I keep getting an error saying that "development.sqlite3" is in use. I don't what is using this file, how to find it, and how to quit it.

Thanks for your help.

Upvotes: 1

Views: 243

Answers (3)

Greg Hewgill
Greg Hewgill

Reputation: 992737

You've probably got a ruby process running somewhere. Launch Activity Monitor, find a ruby process, and kill it. (Presumably this is the only Ruby program you have running on your machine, but double check.)

Upvotes: 4

meanme
meanme

Reputation: 144

Restarting the computer works most of the times. If it doesn't you can try to hold "alt" key when you empty the trash can if the files are already there.

Alternatively you can use the terminal

sudo rm -rf yourFileName

Upvotes: 0

BvuRVKyUVlViVIc7
BvuRVKyUVlViVIc7

Reputation: 11811

Restart your mac and try it again

Upvotes: 0

Related Questions