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

推荐订阅源

爱范儿
爱范儿
WordPress大学
WordPress大学
博客园 - 【当耐特】
The Cloudflare Blog
B
Blog
Last Week in AI
Last Week in AI
小众软件
小众软件
量子位
S
SegmentFault 最新的问题
V
Visual Studio Blog
博客园 - 叶小钗
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
宝玉的分享
宝玉的分享
A
About on SuperTechFans
雷峰网
雷峰网
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
腾讯CDC
MongoDB | Blog
MongoDB | Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Martin Fowler
Martin Fowler

博客园 - 黄尚

年前辞职,年后找工作 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)    收藏  举报