惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
Stack Overflow Blog
Stack Overflow Blog
S
SegmentFault 最新的问题
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏
U
Unit 42
GbyAI
GbyAI
B
Blog RSS Feed
博客园 - Franky
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
Last Week in AI
Last Week in AI
阮一峰的网络日志
阮一峰的网络日志
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research

博客园 - 黄尚

年前辞职,年后找工作 airport 抓包 配置ssh使用socks代理 配置git使用socks5代理 bash 相关的一些小代码片断 MacOS changed System Integrity Protection status CMakeLists.txt for nginx 构建最小的docker容器 centos 7 挂载大硬盘 rsync 通过 ssh 上传文件 php-fpm 在centos 7下的安装配置 在osx下通过vmware无GUI方式运行centos 7 ruby on rails 在centos 7下的安装配置 Mariadb 在centos 7下的安装配置 PostgreSQL 在centos 7下的安装配置 tls/ssl证书生成和格式转换 nginx相关的一些记录 用systemd脚本自动启动node js程序 SSH Tunneling
osx 编译安装配置 ruby on rails
黄尚 · 2015-06-23 · via 博客园 - 黄尚
  1. 下载源代码:
    curl -O http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
  2. 解压:
  3. 编译:
    cd ruby-2.2.2
    
    ./configure --prefix=/opt/local/ --program-suffix=22
    
    make
    
    sudo make install
  4. 安装 rails:
    sudo gem22 install rails -- --with-extension-lib=/opt/local/lib --with-opt-dir=/opt/local
  5. 测试:
    rails new hello
    
    cd hello
    
    rails server

posted on 2015-06-23 22:48  黄尚  阅读(306)  评论(0)    收藏  举报