-
Why is Ruby on Rails silently failing to generate my new site?
So here’s a little wrinkle I ran into on one occasion where I was setting up a Rails project in a new environment.
As you can see, Rails never complained, yet almost everything is missing. Without an error message, this was a real head-scratcher for me at first, although the observant reader might notice the hint in the last thing Rails executes before bailing out to the shell.
Fortunately, the solution is simple. The only problem is that the system is either missing Git or doesn’t have it in the user’s PATH
. Installing the git
package with your Linux distribution’s package manager normally does the trick.
Or if you have git in a custom location, just add it to your path.
And in other good news, this was noticed by the devs and is fixed in version 6.