Where is my rails installation located? Where are

2019-08-22 22:58发布

I'm trying to delete a plugin I installed for rails (paperclip). But I actually don't have any idea where I can find my local rails installation directory.

So where can I find rails and rails plugins in my local file system? I have OS X.

Or how can I uninstall paperclip from the command line?

Thx!

3条回答
啃猪蹄的小仙女
2楼-- · 2019-08-22 23:01

Under the directory vendor/plugins of directory created by the rails command.

查看更多
欢心
3楼-- · 2019-08-22 23:09

if your environment is cygwin: /usr/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib

查看更多
ら.Afraid
4楼-- · 2019-08-22 23:11

paperclip is a rails plugin, which means it is in

[your rails app directory]/vendor/plugins/paperclip

so if you delete that folder, paperclip is gone.

查看更多
登录 后发表回答