在Mac OS X上安装sqlite3? [英] Install sqlite3 on mac osx?

查看:659
本文介绍了在Mac OS X上安装sqlite3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚买了一个新的MBP

I just bought a new MBP

我已经在线阅读了Sqlite3在OSX上已经存在.

I've read online Sqlite3 already exists on OSX.

我已经从官方网站下载了mac端口(并安装了它)以及sqlite3的bin文件.

I've downloaded mac ports (and installed it) as well as the bin file for sqlite3 from the official web site.

在我正在阅读的关于Rails的指南中,告诉我更新sqlite3,我在终端中运行以下命令:sudo port upgrade sqlite3

In a guide I'm reading about rails, which tells me to update sqlite3, I run the following in terminal: sudo port upgrade sqlite3

我收到以下错误:错误:未安装sqlite3

I receive the following error: Error: sqlite3 is not installed

我真迷失!请帮助

推荐答案

它不是通过mac端口安装的,因此port对此一无所知.您可以通过端口进行安装,也可以使用Rails来使用Mac上已经安装的软件.

It's not installed via mac ports, so port doesn't know about it. You could either do an install via port or get rails to use the one that's installed on the Mac already.

这篇关于在Mac OS X上安装sqlite3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆