I'm having some issues with Netlify. I created a new website using Jekyll and I have my repository on Bitbucket and everything works.
I set the deploy from Bitbucket on my Netlify account but when I try to deploy it always fails and I get this error in the log:
9:59:15 AM: ruby_dep-1.5.0 requires ruby version >= 2.2.5, which is incompatible with the
9:59:15 AM: current version, ruby 2.1.2p95
9:59:15 AM: Error during gem install
9:59:15 AM: Build complete: exit code: 1
9:59:15 AM: Error running command: Build script returned non-zero exit code: 1
9:59:15 AM: Failing build: Failed to build site
9:59:15 AM: failed during stage 'building site': Build script returned non-zero exit code: 1
9:59:15 AM: Finished processing build request in 11.891885136s
I'm currently using this version of ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin17] and I've already generated and committed a .rubyversion file:
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin17]
I can't understand what the problem could be. Could please someone help me? Thank you.
As you can see in netlify doc ruby version file name is /.ruby-version.
In your case, you can try 2.4.2
, which is the highest supported version today.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With