Chinaunix首页 | 论坛 | 博客
  • 博客访问: 617877
  • 博文数量: 138
  • 博客积分: 3067
  • 博客等级: 中校
  • 技术积分: 1565
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-21 12:44
文章分类

全部博文(138)

文章存档

2016年(5)

2014年(4)

2012年(1)

2011年(2)

2010年(10)

2009年(19)

2008年(97)

我的朋友

分类: LINUX

2009-04-16 16:02:31

1  download ruby 1.9
tar ...
./configure
make
sudo make install

2. download rubygem
tar ...
ruby setup.rb

3. gem update-system

4. sudo gem install rails --include-dependenices

5. sudo gem install active-support

6.
sudo apt-get install libmysqlclient15-dev
sudo gem install mysql (failed!)
-----------------------------------------
mysql.c:6:21: error: version.h: No such file or directory
mysql.c: In function 'make_field_obj':
mysql.c:185: warning: unused variable 'hash'
mysql.c: In function 'escape_string':
---------------------------------------------
download   mysql-ruby-2.8.1.tar.gz

tar ...
ruby extconf.rb install mysql -- --with-mysql-config
make 
sudo make install


Error:

…/custom_require.rb:27:in `gem_original_require’: no such file to load — net/https (MissingSourceFile)
`require_frameworks': no such file to load -- net/https (RuntimeError)

Solution:
$sudo apt-get install libopenssl-ruby

阅读(914) | 评论(0) | 转发(0) |
0

上一篇:mysql 远程连接

下一篇:linux-触摸屏 驱动

给主人留下些什么吧!~~