1
A
回答
5
使用 「`」 行情:
`rake db:migrate VERSION=....`
或system
system("rake db:migrate VERSION=....")
,你也可以使用這個符號:
%x[rake db:migrate VERSION=...]
另請參閱http://blog.jayfields.com/2006/06/ruby-kernel-system-exec-and-x.html
0
相關問題
- 1. 來自方法的系統調用(ruby on rails)
- 2. 來自php的系統調用
- 3. Ruby系統('ls')來串?
- 4. Ruby中的靈活系統調用
- 5. Ruby中的多線程系統調用
- 6. 使用Ruby來自動化大型目錄系統
- 7. Linux系統調用來發現設備的文件系統
- 8. 需要來自java的系統調用的幫助
- 9. 獲得來自用戶的系統
- 10. 來自bash腳本的OS系統調用
- 11. 來自GCC內聯彙編的系統調用
- 12. 來自osc lib模塊內的系統調用
- 13. 使用logger.exe來嗅探系統調用
- 14. 來自另一個系統
- 15. 執行我自己的系統調用
- 16. Jenkins使用系統Ruby - 使用rvm ruby?
- 17. 系統(「」)調用
- 18. 系統調用來複制文件
- 19. 系統調用來阻止iphone 4
- 20. 系統登錄Ruby?
- 21. XV6加計數系統的系統調用調用
- 22. 如何指定用於ruby系統調用的shell?
- 23. 不同的方式來調用系統調用
- 24. 區分UIsegatedontrol值更改來自用戶還是來自系統
- 25. 系統調用和系統程序
- 26. 通過system調用iconv來自Ruby()
- 27. 使用來自C的系統調用,如何獲得CPU的利用率?
- 28. 來自源系統的XML文件
- 29. 來自SyncAdapter的系統通知:onPerformSync
- 30. 來自系統發育樹的簇
「mas」是什麼意思? – 2011-03-30 21:53:53