- 下載 create_gems_folder.sh
- 執行 bash create_gems_folder.sh [folder_name]
- 將 [folder_name] 的完整路徑放到 Fire.app 的 custom gem path 欄位中, 重開 fire.app
Created
July 19, 2012 07:47
-
-
Save tka/3141426 to your computer and use it in GitHub Desktop.
建立 custom gems folder
This file contains hidden or 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
| #!/bin/bash | |
| gem install sass --prerelease -i $1 --no-rdoc --no-ri | |
| gem install compass --prerelease -i $1 --no-rdoc --no-ri | |
| gem install rack-test fssm execjs coffee-script rack tilt activesupport tzinfo i18n rake haml slim kramdown -i $1 --no-rdoc --no-ri | |
| curl -o tka-serve.zip --location-trusted https://github.com/tka/serve/zipball/master | |
| unzip tka-serve.zip | |
| rm tka-serve.zip | |
| mv tka-serve-* $1/gems/serve-1.5.1 | |
| cp $1/gems/serve-1.5.1/serve.gemspec $1/specifications | |
| curl -o tka-rack-coffee.zip --location-trusted https://github.com/tka/rack-coffee/zipball/master | |
| unzip tka-rack-coffee.zip | |
| rm tka-rack-coffee.zip | |
| mv tka-rack-coffee-* $1/gems/rack-coffee-1.0.0 | |
| cp $1/gems/rack-coffee-1.0.0/rack-coffee.gemspec $1/specifications |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment