Rails mysql ELF header error(Rails mysql ELF 标头错误)
问题描述
我试图在 ubuntu 11.10 上启动我的 rails 应用程序,但我遇到了以下错误:
Im trying to start my rails application on ubuntu 11.10, but im hitting the following error:
如果这有所不同,我会在虚拟机(主机:Windows 7,来宾:Ubuntu 11.10)中运行它.
Im running this in a virtual machine (host: Windows 7, guest: Ubuntu 11.10) if that makes a difference.
我已经拔掉了头上的一半头发,任何帮助将不胜感激.
Ive pulled out half the hair on my head, any help would be much appreciated.
推荐答案
我很尴尬,但以防万一有人因为他/她的愚蠢而面临这样的事情,
Im quite embarrassed, but just in case there is someone else out there and faces something like this because of his/her stupidity,
该错误是因为该文件夹在 windows 和 linux 之间共享,并且 bundler 之前已在 windows 上运行.在 ubuntu 上,会选择较早安装的 Windows 库,而不是本机 linux 库.清理 vendor/cache
修复了问题
the error was because the folder was being shared between windows and linux, and bundler had been run on windows earlier. When on ubuntu, the earlier installed windows libraries were being picked up, instead of the native linux ones. Cleaning the vendor/cache
fixed the issue
这篇关于Rails mysql ELF 标头错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Rails mysql ELF 标头错误


- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- SQL 临时表问题 2022-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 更改自动增量起始编号? 2021-01-01