I want to run a legacy rails app to interact with it as an end point. I am not allowed to update it but am only required to set it up
Its documentation requires ruby -v 2.5.3
and is bundled with 2.4.22
I have only successfully installed the ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
using asdf
: /home/eight/.asdf/shims/ruby
But I am failing to install bundler 2.4.22
as it is outputting the following :
There are no versions of bundler (= 2.4.22) compatible with your Ruby & RubyGems
bundler requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.
But can successfully install bundler -v 2.3.27
but still can not run bundle _2.3.27_ install
as it is outputting:
ERROR: Error installing bundler:
There are no versions of bundler (= 2.4.22) compatible with your Ruby & RubyGems
bundler requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.
yet i have installed bundle 2.3.27 but i can not also locate the gem bundler:
$ :bundler -v
/usr/bin/env: ‘ruby3.0’: No such file or directory
So in short i want to install the gem bundler compatible with the project, either 2.4.22 or 2.3.27 and be able to use it with my ruby installed with asdf.
I have tried installing the recommended bundler 2.4.22
but have failed, so I have opted for the closer which is 2.3.27
but i can not use it nor even locate it.
I have also tried making the asdf ruby globally and i only have i ruby installed in my system.
And finally reviewing matching questions on stackoverflow.