Having an issue I think with Ruby version. Gem file specifies 2.6.4 but netlify environment seems to be using 2.6.2??. log suggests rvm install “ruby-2.6.4” but not sure how/where to do this or if you have to do it for me?. Please advise. . Site built with latest version of middleman, have just managed to get it all working on local environment, hoping I can match this on netlify. Dave
update: I noticed the topic on the right while typing this and checked it out. It mentioned using ENV and setting ruby to the version I want. I have done this, but still an issue with bundler :Could not find command “1.17.3”. Not sure how to fix this. My gemfile lock file was created with 1.17.3. Netlify appears to be looking for underscores??
UPDATE2: It works locally, netlify user is daveharrisonnet.
11:15:46 PM: Using /opt/buildhome/.rvm/gems/ruby-2.6.4 11:15:47 PM: Using ruby version 2.6.4 11:15:47 PM: Using bundler version 1.17.3 from Gemfile.lock 11:15:47 PM: Using PHP version 5.6 11:15:47 PM: Started restoring cached ruby gems 11:15:47 PM: Finished restoring cached ruby gems 11:15:47 PM: Installing gem bundle 11:15:47 PM: Could not find command "_1.17.3_". 11:15:47 PM: Error during gem install 11:15:47 PM: Error running command: Build script returned non-zero exit code: 1 11:15:47 PM: failed during stage 'building site': Build script returned non-zero exit code: 1 11:15:47 PM: Failing build: Failed to build site 11:15:47 PM: Finished processing build request in 33.257535263s
I am using Bundler version 1.17.3 which is in my gem.lock file
Note I had to add an ENV on netlify specifying my ruby version as it did not install when reading version specifically posted in my gem file??