开发者

Rails and sqlite 3 in different locations - problem?

I'm working with an Agile Web Development book to learn Rails, and it's using sqlite 3 for a database. On my Mac Snowl开发者_运维知识库eopard system sqlite3 is installed in

/opt/local/bin/sqlite3

whereas the other necessary components are all

/usr/bin/ruby
/usr/bin/irb
/usr/bin/gem
/usr/bin/rake

Will this create a problem? If so, how can I fix the problem in advance? If it involves doing something with the PATH variable, can you please provide detailed instructions how to fix it.

Thanks from a newbie...

UPDATE

This is my current bash profile

export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"

MacPorts Installer addition on 2011-09-20_at_01:30:15: adding an appropriate PATH variable for use with MacPorts.

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

Finished adapting your PATH environment variable for use with MacPorts.


As long as everything's in the PATH, it will be fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜