[linux] Bundler 安装过程

主要参考了两篇文章:

http://www.cnblogs.com/weizhoupan/archive/2011/03/05/Intro_on_Bundler.html

http://www.cnblogs.com/weizhoupan/archive/2011/03/08/1977366.html

第一篇:介绍了bundler,以及其在windows下的安装等

第二篇:介绍了bundler在ubuntu下的安装

主要就是按照第二篇来的,但是,不完善。

补充如下:

1.需要安装ImageMagick,可以使用 apt-get直接安装。

2.安装完成后,找不到 libANN_char.so,

不在库文件的自动搜索路径中,

有以下几种方法:

a.将libANN_char.so copy到自动搜索路径中,比如默认的 /lib和/usr/lib,然后 sudo ldconfig来更新ld.so.cache

b.在 /etc/ld.so.conf 文件中添加库的搜索路径,然后sudo ldconfig。(亲测)

http://blog.sina.com.cn/s/blog_54f82cc201011ve4.html

c.在环境变量 LD_LIBRARY_PATH 中指明库的搜索路径。

http://www.cnblogs.com/waterlin/archive/2011/07/14/2106056.html


你可能感兴趣的:([linux] Bundler 安装过程)