25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# File 'lib/lono/bundle.rb', line 25
def handle_error(e)
puts e.message
return if e.message.include?("already activated")
puts <<~EOL.color(:yellow)
WARNING: Unable to require "bundler/setup"
There may be something funny with your ruby and bundler setup.
You can try upgrading bundler and rubygems:
gem update --system
gem install bundler
Here are some links that may be helpful:
* https://bundler.io/blog/2019/01/03/announcing-bundler-2.html
Also, running bundle exec in front of your command may remove this message.
EOL
end
|