Error trying to use Ruby on Rails

I was supposed to install Ruby on Rails using RailsInstaller (Windows), but when I try to use the command:

rails -v

The command prompt displays the following:

"The system cannot find the path specified."

I uninstalled Rails with the gem command and reinstalled it, but the error is still alive.

Is there any other way to install Ruby on Rails? How can I solve this problem?

NOTE. Ruby \ bin is in the PATH variable.

+1
source share
2 answers

I found a solution: installed the previous version of RailsInstaller.

I tried to use: railsinstaller-3.2.0 (Ruby 2.2.4, Rails 4.2)

It did a great job with: railsinstaller-3.1.1 (Ruby 2.1.8, Rails 4.2)

. W7.

+1

Source: https://habr.com/ru/post/1789033/


All Articles