我刚刚第一次从GitHub克隆了一个存储库.
我去了我的本地机器,所以在我的Mac上的本地存储库中运行以下命令
bin/rails服务器
我收到以下错误:
无法在任何源中找到activesupport-5.0.0.1运行bundle install以安装缺少的gem.
所以我按照建议运行了bundle install命令,但后来它给了我以下错误
安装oj(2.12.14)时发生错误,Bundler无法继续.gem install oj -v '2.12.14'在捆绑之前确保成功.
所以我按照建议运行:gem install oj -v'2.12.14'
然后我得到了一个非常长的消息,警告和错误(见下文).有什么想法吗?
ERROR: Error installing oj:
ERROR: Failed to build gem native extension.
current directory: /usr/local/lib/ruby/gems/2.4.0/gems/oj-2.12.14/ext/oj
/usr/local/opt/ruby/bin/ruby -r ./siteconf20170218-3717-1p2bvl9.rb extconf.rb
>>>>> Creating Makefile for ruby version 2.4.0 on x86_64-darwin16 <<<<<
creating Makefile
current directory: /usr/local/lib/ruby/gems/2.4.0/gems/oj-2.12.14/ext/oj
make "DESTDIR=" clean
current directory: /usr/local/lib/ruby/gems/2.4.0/gems/oj-2.12.14/ext/oj
make "DESTDIR="
compiling cache8.c
compiling circarray.c
compiling compat.c
compiling dump.c
dump.c:503:8: warning: implicit conversion loses integer precision: 'long' to …Run Code Online (Sandbox Code Playgroud)