Unfortunately, for those of us on Windows, it looks like Rails Installer has a bug! We need to get going right now, so we'll have to fix it ourselves manually.
If when you type rails -v
in your Command Prompt with Ruby and Rails, you get the message
The system cannot find the path specified.
then follow these steps:
-
In Atom, from the File menu, Open folder...
-
Locate and open the folder
C:\RailsInstaller\Ruby2.3.0\bin
-
From the Find menu, Find in Project
-
In the "Find in project" field that appears at the bottom of the screen, paste the following (be careful not to select the trailing or leading spaces before you copy):
C:\Users\emachnic\GitRepos\railsinstaller-windows\stage\Ruby2.3.0\bin\
-
Click "Find". It should locate 32 matches across 16 files.
-
Leave the "Replace in project" field blank.
-
Click "Replace All" and confirm.
-
In the "Find in project" field that appears at the bottom of the screen, paste the following (be careful not to select the trailing or leading spaces before you copy):
C:/Users/emachnic/GitRepos/railsinstaller-windows/stage/Ruby2.3.0/bin/
-
Click "Find". It should locate 16 matches across 16 files.
-
Leave the "Replace in project" field blank.
-
Click "Replace All" and confirm.
-
Quit Atom, restart the Command Prompt with Ruby and Rails, and retry
rails -v
. It should now work.