1.安装ruby2.3.1报错安装ruby2.3.1 报错 Error running ‘__rvm_make -j4’,please read /Users/Magic/.rvm/log/1555663804_ruby-2.3.1/make.logThere has been an error while running make. Halting the installation.
最终解决方案:改装ruby2.6.0正常使用。
2.产生一个新的空 Hello World 页面出错
rails g controller welcome 无法创建
/Users/Magic/.rvm/gems/ruby-2.6.0/gems/activerecord-5.0.7.2/lib/active_record/connection_adapters/connection_specification.rb:176:in rescue in spec': Specified 'sqlite3' for database adapter, but the gem is not loaded. Add
gem ‘sqlite3’` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)
借鉴群友解决方案,观察也是sqlite3 出错,按照处理,问题解决。
今日学习记录
Objective
关于今天的课程, 你记得什么?
重新操作rails101,重新安装ruby
完成了什么?
解决了程序安装错误,项目得以继续操作
Reflective
你要如何形容今天的情绪
前期很沮丧接近放弃,不断重新安装ruby2.3.1
今天的高峰是什么?
在群友的作业日记里找出解决方案,豁然开朗
今天的低点是什么?
几次重头装过程序还是同样报错,搜索不到解决方案
Interpretive
我们今天学到了什么?
要善于多方面角度去查找答案
Decisional
我们会如何用一句话形容今天的工作
虽然还是有偷懒的地方,但是最终结局了bug
有哪些工作需要明天继续努力?
继续努力,bug不在一往无前,加油