M
M
Maxim Grechushnikov2014-11-17 15:01:19
Ruby on Rails
Maxim Grechushnikov, 2014-11-17 15:01:19

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
47e1b8b667ee4c6d851985ad068a54d4.png
the following
84112de0464445bdbc8df513d3fde956.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
_
_ _, 2014-11-17
@AMar4enko

# 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.

I
Ilya Bondarenko, 2015-01-13
@bondarenko

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 question

Ask a Question

731 491 924 answers to any question