这几天我用的是腾讯的 云 IDE
遇到的一些问题

2019-06-15_011355.png

Ruby on Rails 运行出错

You must use Bundler 2 or greater with this lockfile.

报了这个错误

1.解决方案

rvm requirements

gem install bundler

查看 Ruby

rvm  list 

bundler install 

就会安装 所有依赖包

2019-06-17_092630.png

依然报错

2019-06-17_101953.png
2.解决方案

sudo apt-get install nodejs

依然报错

rbenv — 'find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)

stack voerflow 上面的回答

解决 方案

2019-06-17_102122.png

1) update rubygems

gem update --system

或着

I removed my Gemfile.lock and it worked fine after that.

2019-06-17_102210.png