gpt4 book ai didi

ruby - gem : difference between sqlite3 and sqlite3-ruby?

转载 作者:IT王子 更新时间:2023-10-29 06:18:59 25 4
gpt4 key购买 nike

我不小心跑了:

sudo gem install sqlite3

代替:

sudo gem install sqlite3-ruby

所以现在当我运行 gem list 时,我得到:

gem list

*** LOCAL GEMS ***

sqlite3 (0.0.7)
sqlite3-ruby (1.2.5)

两者有什么区别?我需要两者吗?

最佳答案

据我今天(2011 年 6 月)所知,这两个 gem 是一样的。

在 RubyGems.org 上 sqlite3sqlite3-ruby指向相同的 sqlite3-ruby repository在 github 上。

来自github上的项目描述:

This module allows Ruby programs to interface with the SQLite3 database engine (http://www.sqlite.org). You must have the SQLite engine installed in order to build this module. Note that this module is NOT compatible with SQLite 2.x.

其中一位维护者确认将 gem 从 sqlite3-ruby 重命名为 sqlite3 here :

This announcement is to let you know that the sqlite3-ruby gem is being renamed to (drum roll please) "sqlite3".

We will maintain backwards compatibility by releasing an empty "sqlite3-ruby" gem that depends on "sqlite3". The empty sqlite3-ruby gem will contain a post installation message that will inform people to make the switch.

关于ruby - gem : difference between sqlite3 and sqlite3-ruby?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2294207/

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