smileraccoon

记录:最近在研究Ruby的一个比较流行的框架----ralis

按照官网一步一步走下来的,参考:https://ruby-china.github.io/rails-guides/getting_started.html

但是,启动项目,打来本地3000之后报错下图:

大概判断了一下 ,应该是跟数据库相关的,一顿百度,发现是因为下图:

 框住的那行缺少sqlite3的版本号,改成:gem 'sqlite3','~> 1.3.6',就可以了,别忘了最后sudo bundle install 绑定一下

相关文章:

  • 2021-05-24
  • 2021-04-27
  • 2021-08-05
  • 2021-04-13
  • 2021-06-21
  • 2021-12-12
  • 2022-01-08
猜你喜欢
  • 2021-11-28
  • 2021-04-21
  • 2021-09-19
  • 2021-10-24
  • 2021-08-22
  • 2022-01-07
  • 2021-07-22
相关资源
相似解决方案