- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我最近更新到小牛队。为 xcode 添加了命令行工具。尝试了“捆绑更新调试器”,以及我找到的所有其他修复程序,包括此 rake add_source 以包含此处找到的相应 header :http://sponsorpay.github.io/blog/2012/06/11/ruby-debugger-and-no-source-for-ruby-error/ ,而且我仍然无法毫无错误地将我的项目推送到 heroku。任何帮助表示赞赏。提前致谢。
更新:找到了这个,但不知道怎么做。 “像 debugger-linecache 这样的 Gems 需要 Ruby 的显式补丁级别,这对开发来说很好,但不应该在生产中使用。如果你有这些 Gems 之一
在生产中并且 Ruby 补丁升级后,您的部署将失败。
解决方法是将您的依赖项移出 Gemfile 的生产组。”
这是错误:
安装 debugger-linecache (1.2.0)
安装 debugger-ruby_core_source (1.2.4)
安装调试器 (1.6.3)
Gem::Installer::ExtensionBuildError: 错误:无法构建 gem native 扩展。
/tmp/ruby-1.9.2/bin/ruby extconf.rb
checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... no
checking for rb_method_entry_t.body in method.h... no
checking for vm_core.h... no
Makefile creation failed
**************************************************************************
No source for ruby-1.9.2-p321 provided with debugger-ruby_core_source gem.
**************************************************************************
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/tmp/ruby-1.9.2/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
Gem files will remain installed in /tmp/build_3f34841b-c8ae-4ac7-a6ff-9cdb26e947fa/vendor/bundle/ruby/1.9.1/gems/debugger-1.6.3 for inspection.
Results logged to /tmp/build_3f34841b-c8ae-4ac7-a6ff-9cdb26e947fa/vendor/bundle/ruby/1.9.1/gems/debugger-1.6.3/ext/ruby_debug/gem_make.out
An error occurred while installing debugger (1.6.3), and Bundler cannot
continue.
Make sure that `gem install debugger -v '1.6.3'` succeeds before bundling.
最佳答案
我将此添加到我的 gemfile 中
gem 'debugger', group: [:development, :test]
rm Gemfile.lock
删除了我的 gem 锁文件.冉
bundle install
,并且推送成功。
关于ruby-on-rails - 没有随 debugger-ruby_core_source gem 提供的 ruby-1.9.2-p321 源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20461846/
我正在使用 STM32CubeIDE 生成代码,但是当我开始调试时出现如下错误- STMicroelectronics ST-LINK GDB 服务器。版本 5.2.3 Copyright (c)
我正在使用 STM32CubeIDE 生成代码,但是当我开始调试时出现如下错误- STMicroelectronics ST-LINK GDB 服务器。版本 5.2.3 Copyright (c)
有什么区别 Debugger.Launch(); Debugger.Break(); ? 最佳答案 阅读文档,听起来如果附加了调试器,Launch 什么都不做——它实际上break(虽然我还没有验证这
我想知道是否应该在调用其他 Debug 和 Debugger 函数之前调用 if(Debugger.IsAttached)? if(Debugger.IsAttached) { Debugger.Br
我在我的应用程序中嵌入了单声道。该应用程序是支持插件的控制台应用程序。插件是 .NET 程序集。一切都很好,但我想调试它们。要在我的 C 代码中启用调试,我有: mono_set_dirs (ASSE
我有一个 PhoneGap 应用程序,它在 iOS 上运行良好,但在设置发布版本时,在 Android 上无法运行。 我正在使用 Phonegap CLI 创建我的应用程序。 $ phonegap -
我使用的是 Xcode 10.2.1 和 macOS Catalina Developer Beta 2。每当我尝试使用内存图调试器时,我都会收到此错误: Memory Graph Debugger:
这是一个示例网址: http://www.motherjones.com/mojo/2012/05/reince-priebus-lgbt-workplace-discrimination 当粘贴到
我正在 Mac 上的 IntelliJ 中设置远程调试器。我没有做任何修改就遵循了模板。然后我单击“调试 xxx”按钮。表明 "Error running 'Remote Debugger': Una
我想知道 debuggable true 语句的确切作用: // build.gradle android { buildTypes { deb
在 Visual Studio 中,我通常采用当前断点并将其移回上一行,但在 vscode 中我不知道该怎么做。 请指教。 最佳答案 有两个可能的命令可能会对您有所帮助 - 它们对我来说效果不佳,但您
在 Eclipse 中调试 J2EE 应用程序时,我确实看到了数百个线程。 但是,我对我的断点命中的单个线程感兴趣。 每次都来回找,很痛苦。 如何过滤掉未挂起的线程? 最佳答案 据我所知,没有一种简单
我正在尝试从我的 Android 设备(运行 One UI 2.0 的非根 Exynos Galaxy S9)中提取数据库文件,每次打开 Android Studio 3.6.2 -> 设备文件资源管
我使用Grok Debugger验证我的模式:%{DATA:evolution}%{DATA:value} 但问题是它不读取变量“值”的内容。 如果要使用两个连续的字符串,请问该如何做? 最佳答案 使
在 visual studio 中调试代码时,如果将鼠标悬停在某个属性上,将执行该属性的主体。当该代码正在执行时,是否可以确定它是由于调试器而不是由于正常代码执行而被执行的? 明确地说,我不是在寻找
Android 调试器没有进入我的位置。我正在按 F8(Step Over)完成调试,调试器跳转到:View.class,AsyncTask.class。 如果我不退出类(class),调试器会等待很
我刚刚发现了 debugger 关键字或用于 JavaScript 开发的任何东西,但我不清楚它是什么。当然它不是一个表达式,它没有任何值(value)。但是我需要在它后面放一个分号吗?它被定义为什么
几个月来我一直在默默地处理这个问题,最后我觉得有必要在这里问一下。 lldb 中的“po”通常会产生以下输出: (lldb) error: :3:1: error: use of unresolved
我有无处不在的 HelloWorldApp.java 文件 /** * The HelloWorldApp class implements an application that * simpl
我正在尝试从代码中获取应用程序的可调试属性值: packageInfo = context.getPackageManager().getPackageInfo(packageName, 0);
我是一名优秀的程序员,十分优秀!