Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在我的 rails 应用程序中显示我的 .env 和 .gitignore 文件,以便我可以在我的应用程序环境中设置一些变量。Idk 为什么它不在我的应用程序的根路径中。任何建议都会很棒,谢谢。
您可以在 rails 根目录中使用以下 shell 命令:
find . -type f -name '.[^.]*'
这将列出该目录和任何子目录中的所有隐藏文件。