LoginSignup
0
0

More than 5 years have passed since last update.

IntelliJがRuby on Railsのプロジェクトを認識してくれなかったのを解決した

Last updated at Posted at 2017-04-02

課題

ここら辺を参考にIntelliJでRuby on Railsのプロジェクトを開こうとした。

"Select directories to be used as project roots, you'll see as well that it's already defined as Ruby type:" のところで、railsのプロジェクトではなくvendor/bundle以下のディレクトリがjavaのプロジェクトとして認識されて5個くらい表示された。

そこからにっちもさっちも行かなかかった。

解決策

vendor/bundle を削除したらちゃんと認識された。
よくわからんけど先にbundle install --path vendor/bundleしたらダメだったらしい。

環境

  • Mac 10.11.6
  • IntelliJ IDEA 2017.1
  • Rails 5.0.2
  • ruby 2.4.1(rbenv)
0
0
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
0