Answer the question
In order to leave comments, you need to log in
Ruby 2.1.5, RVM, RubyMine7. How to make IDE see gems?
Installed ruby 2.1.5 via rvm. (rvm install 2.1.5)
Created a project and began to configure. I noticed that rubymine does not see gems, does not see any libraries, I picked out
the following
Answer the question
In order to leave comments, you need to log in
# rvm --create use [email protected] && bundle
Select the created gemset in rubymine SDK settings.
At the root of the project, create .ruby-version in which the first line is ruby-2.1.5 and .ruby-gemset, in which the first line is my-newproject.
Judging by the list of gems in version 2.1.5, there are no cancan and the rest.
Need to run bunble install
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question