Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

Add function for rails, rake to recipe #8

Merged
merged 3 commits into from Feb 3, 2015

Conversation

sachin21
Copy link
Contributor

@sachin21 sachin21 commented Feb 3, 2015

WHAT

bin/以下を勝手につかってくれるようにする設定をシェル設定ファイルに追加

WHY

bin/以下を使うのがrailsで推奨されているから

HOW

oh-my-zshのrails pluginを参考にし、コードをコピペ

REF

ここのファイルに書いていいのかとか、chef初めて書くので動くかわからないのでレビューお願いします。
@spesnova

@sachin21
Copy link
Contributor Author

sachin21 commented Feb 3, 2015

@spesnova あ、ここですかね? > cookbooks/projects/files/default/bash_profile

@sachin21 sachin21 force-pushed the sachin21/add_function_for_rails_to_recipe branch from f7772da to a1a84da Compare February 3, 2015 18:30
@sachin21 sachin21 force-pushed the sachin21/add_function_for_rails_to_recipe branch from a1a84da to 4f1d246 Compare February 3, 2015 18:37
@@ -1,3 +1,5 @@
export PATH=/usr/local/bin:$PATH
which rbenv > /dev/null 2>&1
test $? -eq 0 && eval "$(rbenv init -)"

curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/plugins/rails/rails.plugin.zsh | sed -e "/compdef/d" | sh
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compdefがbashで使えないので削除するコード書きました。
zshの場合でも別に特にあっても変わらないですしお寿司

@spesnova
Copy link
Contributor

spesnova commented Feb 3, 2015

@sachin21 ありがとう!
LGTM 👍

spesnova added a commit that referenced this pull request Feb 3, 2015
…o_recipe

Add function for rails, rake to recipe
@spesnova spesnova merged commit e2e7e45 into master Feb 3, 2015
@spesnova spesnova deleted the sachin21/add_function_for_rails_to_recipe branch February 3, 2015 23:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants