No man page for rails command
-
19-02-2021 - |
سؤال
I can't access rails man page. How can I fix this? Thanks
nuno@Houdini:~/workspace/depot_a$ man rails
man: can't resolve /usr/share/man/man1/rails.1.gz: No such file or directory
No manual entry for rails
edit: But how come some people have a man page and others don't?
المحلول
Rails isn't a traditional operating system package, and usually isn't installed through apt-get or yum, but through the rubygems packaging system that does not install manpages for documentation.
نصائح أخرى
Rails is a ruby gem. Those don't have man pages. Type rails
to get a brief list of commands.
For general help use either one of these:
rails -h
rails
For help on a specific command:
rails <cmd> -h
For example: rails new -h
لا تنتمي إلى StackOverflow