Chinaunix首页 | 论坛 | 博客
  • 博客访问: 617486
  • 博文数量: 140
  • 博客积分: 2635
  • 博客等级: 少校
  • 技术积分: 1353
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-04 15:46
文章分类
文章存档

2015年(2)

2014年(12)

2013年(10)

2012年(10)

2011年(85)

2010年(21)

分类: LINUX

2015-03-19 09:39:51


# yum groupinstall 'Development Tools' 'Development Libraries'

The rest of the packages can be installed with:

# yum install zlib-devel libyaml-devel openssl-devel gdbm-devel readline-devel ncurses-devel libffi-devel curl git openssh-server redis libxml2-devel libxslt-devel libcurl-devel libicu-devel python


3.yum install git-all vim ruby mysql-server rubygem-bundler ruby-mysql ruby-devel \ libicu-devel libicu tar nginx libxml2 libxml2-devel libxslt libxslt-devel mysql-devel \ gdm-devel gdbm-devel readline-devel ncurses-devel libffi libffi-devel redis \ libcurl-devel postfix mlocate wget cmake

  • Check the installed verison of python

                 #  python —version
                    Python 2.7.3

  • Start postfix mail server

               systemctl enable postfix
             systemctl start postfix

  • Install the newest ruby bundler (the installed RPM is not very recent!)

gem install bundler bundle —version Bundler version 1.3.5



1.
2.
gem install bundler -p 
安装成功
不过很奇怪貌似上面那个源我都加入进去了的:
gem source --add ''
 added to sources
[root@db5 soft_bak]# gem source -l
*** CURRENT SOURCES ***




gem source -u
source cache successfully updated


Gemfile.lock用来记录Application中的依赖Gem包,并详细记录了依赖Gem包的版本。当Application的环境发生变化时,我们可以用Bundle update来更新相关依赖包,也可以保持Gemfile.lock不变。

    当我们希望Application中的引用的包保持一致不变时,只要保持Gemfile.lock不变即可。


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

上一篇:undefined reference to `request_dma' 问题

下一篇:没有了

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