More precisely, how to perform this line from the manual?

$ script/plugin install git://github.com/technoweenie/restful-authentication.git 

Or how can this be done not in the IDE, if it is more convenient?

  • “Plugins” in Ruby are called gems - Niki-Timofe

3 answers 3

Add to Gemfile :

 gem "restful-authentication" 

And RubyMine will do the bundle install

    Manual probably for 2.3-style rails.

    1. Tools tab | Run rails script
    2. Klats on "..." and choose the installation of the plugin
    3. Add specific arguments if required

    alt text

      Sometimes there is a need to install two versions of the same gem, to do this, open the terminal (the tab is usually located in the lower left corner of RubyMine) and install it with the commands:

       gem install some_gem -v 1.0 gem install some_gem -v 2.0 

      Well, in the same place you check with the command:

       gem list some_gem 

      the output will be something like

       *** LOCAL GEMS *** some_gem (1.0, 2.0)