About
Click here to check if anything new just came in.
November 20 2011
使用gem安装Github上的东西
1.使用gems.github.com
gem install username-projectname –source http://gems.github.com
2.下载源代码并安装
wget http://github.com/username/projectname/zipball/master
unzip username-projectname-version.zip
cd username-projectname-version.zip
gem build projectname.gemspec
gem install projectname-version.gem
Related posts:
- Ruby On Rails在Debian下的安装
- Debian下Tomcat的安装
- Debian下Redmine+Lighttpd安装部署(Linode VPS)
- 升级到2.9
- Debian5下Ruby On Rails 自编译
© David for 空想枫, 2011. |
Permalink |
No comment |
Add to
del.icio.us
Post tags: gems, git, github, ruby
October 25 2011
Debian下Redmine+Lighttpd安装部署(Linode VPS)
Redmine官方站点: http://www.redmine.org
Redmine是基于RoR开发的Web项目管理应用,本次部署的是1.2.1版本。
(...)
Read the rest of Debian下Redmine+Lighttpd安装部署(Linode VPS) (209 words)
© David for 空想枫, 2011. |
Permalink |
No comment |
Add to
del.icio.us
Post tags: debian, debian squeeze, lighttpd, rails, redmine, ruby
April 14 2010
Mac OS X 10.4(Tiger)下Ruby On Rails 编译安装
1.安装Xcode 2.5
下载链接:xcode25_8m2558_developerdvd.dmg,完成后直接安装即可。
2.安装Ruby
curl –O ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.gz
tar xzvf ruby-1.9.1-p376.tar.gz
cd ruby-1.9.1-p376
./configure –prefix=/usr/local
make
sudo make install
3.安装RubyGem
curl –O http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz
tar xzvf rubygems-1.3.6.tgz
cd rubygems-1.3.6
sudo ruby setup.rb
4.安装Ruby On Rails
sudo gem install rails –include-dependencies
5.配置路径
安装完成后如果你直接执行ruby -v,看到的将还是系统已有的1.8.2版本,还需要执行如下操作。
nano ~/.profile
加入如下内容,保存退出。
export PATH=”/usr/local/bin:/usr/local/sbin:$PATH”
执行:
. ~/.profile
检查是否加入/usr/local/bin等内容,执行如下命令:
echo $PATH
如果已经包含我们加入的部分,再运行ruby -v就可以看到是版本已经是1.9.1p376。
完成。
© David for 空想枫, 2010. | Permalink | No comment |
Add to del.icio.us
Related posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...

