Skip to content

Commit 28bf531

Browse files
authored
Merge ab88b59 into 8702b3b
2 parents 8702b3b + ab88b59 commit 28bf531

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scanner/ruby.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"strings"
88

99
"github.com/pkg/errors"
10+
"github.com/superfly/flyctl/internal/command/launch/plan"
1011
)
1112

1213
func configureRuby(sourceDir string, config *ScannerConfig) (*SourceInfo, error) {
@@ -24,6 +25,8 @@ func configureRuby(sourceDir string, config *ScannerConfig) (*SourceInfo, error)
2425
return nil, errors.Wrap(err, "failure extracting Ruby version")
2526
}
2627

28+
s.Runtime = plan.RuntimeStruct{Language: "ruby", Version: rubyVersion}
29+
2730
vars := make(map[string]interface{})
2831
vars["rubyVersion"] = rubyVersion
2932
s.Files = templatesExecute("templates/ruby", vars)

0 commit comments

Comments
 (0)