-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails - The system cannot find the path specified #73
Comments
I encountered the same problem. I used the latest railsinstaller version 3.2.0 and I discovered that in the install path C:\RailsInstaller\Ruby2.2.0\bin some of the batch (*.bat) files contained a wrong path. A temporary fix is to replace any string containing |
@j54n1n , wow, changing path inside batch file worked. Did not know, I could do that. Been struggling with it whole day.Thanks a lot. |
Closed at dup of #70 |
This helps me too on windows. The path was incorrect in bath file. |
Thanxxx... A lottt! Saved a loottt of time |
@j54n1n "some of the batch" can you explicitly define the batch files which require change. |
Thanks j5414, that did the trick for me and I only had to spend 10 minutes doing it! |
@priyansh1990 From what I determined sadly, was that you have to go through each of the batch files within the C:\RailsInstaller\Ruby2.2.0\bin directory. In my case I went to bundle and bundler batch files since they were the commands that were not working. |
I opened all the files under C:\RailsInstaller\Ruby2.2.0\bin in Sublime Text, and replaced with Took only a couple of seconds. This might help someone who stumbles across it after me. |
thanks , its work |
@jayantbh thanks a lot, it really saves my time! |
thanks a lot!! |
great thank you |
updated rails.bat@echo OFF |
Solved the problem . Thanks |
It is still a problem, just saying please do not give up on Windows users. |
I don't know how to fix this. If anyone knows a Windows dev who might be Evan
|
The solution by vinaymopidevi solved the problem for me too. |
Solved the problem. Is there no way to fix this? |
where could i find my .bat file? |
it work. thanks |
Just replacing it with this: which I copy pasted to the bundle.bat and bundler.bat and it worked! Hope this helps someone else. |
Worked for me! Thanks heaps! |
@jayantbh you really saved me...God bless you,your effort and others in this room |
Worked for me, as well!!! Thank you!!!!!! |
Sorry, but I know nothing of Windows batch files (*.bat). Instead of this: Do we want this: or @echo OFF or @echo OFF |
I also ask because in addition to the ruby.exe installed from http://railsinstaller.org/en I also have more recent ruby.exe from http://rubyinstaller.org/downloads/ Will I need to also modify the .bat files in Ruby 2.3.? Of note, there are only two: and rake.bat read: |
it's work. Thank so much, jayantbh. |
Go into C:\RailsInstaller\Ruby2.2.0. Change all contents in the .bat files from this: Delete that and paste in the text below: @echo OFF |
Not sure if anyone is interested, but I did not have to worry about any of the above when I followed the following to install ruby and rails on Windows. http://railsinstallfest.org/guides/installfest/rails_on_windows/ |
try to reinstall rails |
Thanks alot! I opened C:\RailsInstaller\Ruby2.3.0\bin\rails.bat with Sublime Text and replaced all @"C:\Users\emachnic\GitRepos\railsinstaller-windows\stage\Ruby2.2.0\bin\ruby.exe" with @"%~dp0ruby.exe" works perfect now. |
Used vinaymopidevi's updated Rails.bat, re-ran the batch file and fixed it up in a jiffy. Fantastic. |
fixing rails problem on windwos 7, 8, 10: I have been faced a lot of problems while I'm trying to run rails on my system, I try many solutions to solve, but all comes under failed. So, now I got one solution work good on my system, I recommend you to try this with steps it may can help you too. Download the "rubyinstall" and run on your System, Then Download "Devekite" for ruby extract on folder “C:\RubyDevKit“ after you do this. Now come to Command ruby type: |
muchas gracias me ayudaron muchisimo |
I have installed rails and ruby with railsinstaller. The problem is, when i run rails command, it gives me: "The system cannot find the path specified."
I am running windows 7 x64. Ruby 2.20
Tried uninstalling rails and installing it againt, does not help. Ruby commands executes like "ruby -v", "rails -v" doesn`t work.
Have googled,didn
t find solution for windows, that worked. I have uninstalled it and installed it, I don
t know whats happening.Ruby is in an environment path, so it executes rails with "rails -v", but gives me that message.
Someone help, please.
The text was updated successfully, but these errors were encountered: