Where is my rails installation located? Where are the rails plugins?

与世无争的帅哥 提交于 2019-12-25 04:33:52

问题


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!


回答1:


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.




回答2:


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




回答3:


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



来源:https://stackoverflow.com/questions/635136/where-is-my-rails-installation-located-where-are-the-rails-plugins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!