bundle install does not work and says undefined methods (trying to install ruby on rails on ubuntu)

Viewed 59

I'm trying to install Ruby on rails on my ubuntu, I've installed everything for Ruby on rails to work, I've created my ruby on rails project but when I run ruby server they say "run bundle install" but whenever I run it I get :

/snap/ruby/247/lib/ruby/3.1.0/rubygems.rb:1340:in `rescue in <top (required)>': undefined method `rubyforge_project=' for class `Gem::Specification' (NameError)
Loading the rubygems/defaults/operating_system.rb file caused an error.
1 Answers
Related