我正试图在我的Ruby on Rails 3应用程序中使用此tutorial来AJAXfy文件上传。在“第6步。使用iframe和responds_to_parent”一章中,我必须安装'responds_to_parent'插件,但我无法使用。在运行“Snow Leopard”的Mac OS上安装'responds_to_parent'插件
我用运行 “雪豹” 在Mac OS,所以在我的终端I输入:
script/plugin install http://responds-to-parent.googlecode.com/svn/trunk/
但响应:
-bash: script/plugin: No such file or directory
我要进入?
顺便说一句:“我有什么做的” /“如何处理”为我的回报率3应用程序的宝石和插件的时候,我会一个托管服务器上部署呢?
将其克隆到供应商/插件目录中。如果你安装了git客户端,请进入你的shell和“cd/your_rails_app/vendor/plugins”和“git clone git://github.com/itkin/respond_to_parent.git”。这会将其安装为插件 – johnmcaliley 2011-01-20 05:07:00