LoginSignup
0
1

More than 5 years have passed since last update.

SublimeText2 の RubyMotionBuilder で Build が失敗する場合の対処法

Posted at

SublimeText2 Plugin の RubyMotionBuilder で 次のようなメッセージとともに Build があぼんする場合

rake aborted!
no such file to load -- bundler/setup

メッセージ通りなのですが bundler への Path が通っていないのが原因です。

対処法

~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/RubyMotion.sublime-settings

を開いて ( なければ作成 )

{
    "rubymotion_build_env_file": "$HOME/.bash_profile"
}

と記載してあげればOK。要 絶対Path。

補足

rubymotion_build_env_file は Plugin 内での Rake コマンド実行時に読み込ませる env_file を指定するオプションです。
budler への Path 設定を ~/.bash_profile 以外で実行している場合は適宜自分の環境に合わせてしてください。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1