The “rails” command can be executed in jruby/bin folder only. I want to create my applications in other folder.
For example:
C:/jruby/Projects/
But in this folder the “rails” command is not recognized. Is there a way to create some kind of alias which I can used do to somethings like that:
C:/jruby/Projects/alliasname rails
You can add the
jruby/binfolder to your PATH environment variable. But be sure to actually add the full path.Simply search in the start menu for “env” and then edit the
PATHvariable: