package paths import ( "os" "path/filepath" ) func BaseDir() string { home, err := os.UserHomeDir() if err != nil { return "." } return filepath.Join(home, ".rails") }