LoginSignup
3
3

More than 5 years have passed since last update.

IntelliJ IDEAでRubyプロジェクトをセットアップするときの注意

Posted at

動作させるRubyスクリプトはプロジェクトのルートディレクトリにおく
そうでない場合はbundle execが動作しない場合がある。(RunのSettingでNo Gemfile found)のエラーが出る。

IntelliJ IDEAで作成したプロジェクトのルートに、さらにRubyプロジェクトのルートを作成するとbundleを認識しないらしい。

動作させるスクリプトは環境変数RUBYLIBに動作に必要なLibraryのパスを通すこと。これをやらないとrequireの時に怒られる。

3
3
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
3
3