This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
檔案/目錄 用途 | |
Gemfile 設定Rails應用程式會使用哪些Gems套件 | |
README 專案說明:你可以用來告訴其他人你的應用程式是做什麼用的,如何使用等等。 | |
Rakefile 用來載入可以被命令列執行的一些Rake任務 | |
app/ 放Controllers、Models和Views檔案,接下來的內容主要都在這個目錄。 | |
config/ 應用程式設定檔、路由規則、資料庫設定等等 | |
config.ru 用來啟動應用程式的Rack伺服器設定檔 | |
db/ 資料庫的結構綱要 | |
doc/ 用來放你的文件 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 安装 | |
每次安裝時,加上以下參數: | |
$ gem install gem_name --no-ri --no-rdoc | |
或是新增一個~/.gemrc檔案內容如下,預設就不產生文件: | |
gem: --no-ri --no-rdoc | |
Linux的使用者需要加上sudo,例如sudo gem install gemname。 | |
安裝Ruby on Rails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |