二つの方法が..私は
第一の方法好適:
を私は、端末でのホームディレクトリからこれを入力した:
nano .bash_profile
とファイルでこれを貼り付け:
bundle_commands="rake spec rspec cucumber cap watchr rails rackup"
function run_bundler_cmd() {
if [ -r ./Gemfile ]; then
bundle exec [email protected]
else
[email protected]
fi
}
for cmd in $bundle_commands
do
alias $cmd="run_bundler_cmd $cmd"
done
次に入力したもの:
source ~/.bash_profile or restart terminal
第2の方法。
私は、端末でのホームディレクトリからこれを入力した:
nano .bashrc <br />
nano .bash_profile <br />
をコピーしてファイルにこれを貼り付け:
# fix for ruby on rails rake issue
alias bi="bundle install --binstubs=.bin"
export PATH="./.bin:$PATH"
は、端末を閉じて、すべてが動作を取得するために再度開か。
私のgitignoreファイルに.binも追加しました。
同じエラーが発生しています。 – LondonGuy
レイクルートでテストしたところ、レイクルートだけでは動作しません。私は上記のリクエストを投稿しました。 – LondonGuy
問題を解決しましたか?私は同じことを持っています。 – Sebastien