andreshg112
andreshg112

Reputation: 722

Error trying to use Ruby on Rails

It's supposed that I installed Ruby on Rails using RailsInstaller (Windows), but when I try to use the command:

rails -v

The command prompt shows something like:

"System can not find the specified path."

I've uninstalled Rails with 'gem' command and reinstall it, but error still alive.

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

NOTE: Ruby\bin is in PATH variable.

Upvotes: 1

Views: 232

Answers (2)

andreshg112
andreshg112

Reputation: 722

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

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

It worked good with: railsinstaller-3.1.1 (Ruby 2.1.8, Rails 4.2)

NOTE: I'm using W7 OS.

Upvotes: 1

Brian Lau
Brian Lau

Reputation: 127

Check out the answer on this one. You have to add rails to path.

Installing Ruby on Rails on windows

Upvotes: 0

Related Questions