2011-12-09 72 views
0

我想安裝scheduler_daemon plugin。我得到這部分的指示,我卡住了。如何在Powershell中安裝ruby插件?

script/plugin install git://github.com/ssoroka/scheduler_daemon.git 
# Install required gems 
gem install daemons rufus-scheduler eventmachine chronic -s http://gemcutter.org 

錯誤: The term 'script/plugin' is not recognized as the name of a cmdlet, function...

好了,我用Ruby序言它:

PS>ruby script/plugin install git://github.com/ssoroka/scheduler_daemon.git 
D:\Ruby193\bin\ruby.exe: No such file or directory -- script/plugin (LoadError) 

我又試圖ruby script/plugin install calendar_helper,但得到了同樣的錯誤。我試圖把腳本/插件放在引號中。我試圖把一個尾隨斜線。我嘗試使用http://github...。還有其他的事情我已經嘗試過,但無濟於事。

我需要做什麼來通過Powershell安裝Ruby插件?

回答

1

後不久發現:rails plugin install git://github.com/ssoroka/scheduler_daemon.git

事情我已經瞭解了Rails的:任何信息,是不是在官方網站Rails的可能是非常過時。先去http://guides.rubyonrails.org/,然後是第一個,然後是stackoverflow,然後是網絡的其餘部分。

0

之前的Rails 3

ruby script/plugin install git://github.com/ssoroka/scheduler_daemon.git 

應該工作,只要你在你的Rails應用程序的根目錄。

從Rails的3起,這已成爲rails plugin install