gpt4 book ai didi

linux - 尝试 : gem pristine bootsnap --version 1. 3.1 忽略 bootsnap-1.3.1,因为它的扩展没有构建。试试 : gem pristine bootsnap --version 1. 3.1

转载 作者:太空宇宙 更新时间:2023-11-04 10:06:49 27 4
gpt4 key购买 nike

rails 生成 acts_as_votable:migration忽略 bootsnap-1.3.1,因为它的扩展没有构建。尝试:gem pristine bootsnap --version 1.3.1忽略 bootsnap-1.3.1,因为它的扩展没有构建。尝试:gem pristine bootsnap --version 1.3.1/home/ayesha/.rvm/gems/ruby-2.2.1/gems/bundler-1.16.3/lib/bundler/definition.rb:491:in validate_ruby!': Your Ruby version is 2.2.1, but your Gemfile specified 2.5.1 (Bundler::RubyVersionMismatch)
from /home/ayesha/.rvm/gems/ruby-2.2.1/gems/bundler-1.16.3/lib/bundler/definition.rb:466:in
validate_runtime!' 来自/home/ayesha/.rvm/gems/ruby-2.2.1/gems/bundler-1.16.3/lib/bundler.rb:101:in setup'
from /home/ayesha/.rvm/gems/ruby-2.2.1/gems/bundler-1.16.3/lib/bundler/setup.rb:20:in
' 来自/home/ayesha/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /home/ayesha/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in
要求' 来自/home/ayesha/.rvm/gems/ruby-2.2.1/gems/spring-2.0.2/lib/spring/commands.rb:33:in <module:Spring>'
from /home/ayesha/.rvm/gems/ruby-2.2.1/gems/spring-2.0.2/lib/spring/commands.rb:4:in
' 来自/home/ayesha/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /home/ayesha/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in
要求' 来自/home/ayesha/.rvm/gems/ruby-2.2.1/gems/spring-2.0.2/lib/spring/server.rb:9:in <top (required)>'
from /home/ayesha/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in
要求' 来自/home/ayesha/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /home/ayesha/.rvm/gems/ruby-2.2.1/gems/spring-2.0.2/lib/spring/client/server.rb:9:in
称呼' 来自/home/ayesha/.rvm/gems/ruby-2.2.1/gems/spring-2.0.2/lib/spring/client/command.rb:7:in call'
from /home/ayesha/.rvm/gems/ruby-2.2.1/gems/spring-2.0.2/lib/spring/client.rb:30:in
运行' 来自/home/ayesha/.rvm/gems/ruby-2.2.1/gems/spring-2.0.2/bin/spring:49:in `'

最佳答案

错误消息会告诉您该怎么做,尽管可能不是很直接。

尝试运行这个命令:

gem pristine bootsnap --version 1.3.1 

这将尝试从头开始重新安装 bootsnap gem。

关于linux - 尝试 : gem pristine bootsnap --version 1. 3.1 忽略 bootsnap-1.3.1,因为它的扩展没有构建。试试 : gem pristine bootsnap --version 1. 3.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51973527/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com