带有滑轨的Mac Nginx [英] Mac nginx with rails

查看:79
本文介绍了带有滑轨的Mac Nginx的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在Mac上安装了Nginx.现在我不知道如何使RoR可以使用它.在使用Webrick之前,这很简单,我只需要在RoR目录中进行cd并启动服务器即可.如何使用Nginx做到这一点?

I just installed nginx on my mac. Now I have no clue how to get RoR working with it. Before what I was doing was using Webrick and it was simple, i would just cd in my RoR dir and start the server. How can I do this with nginx?

谢谢

推荐答案

我最近不得不在Mac OS X Lion上安装并配置一个由Nginx,Passenger 4和Ruby 2组成的本地开发堆栈.我在博客文章中记录了我的团队的步骤:

I recently had to install and configure a local development stack consisting of Nginx, Passenger 4, and Ruby 2 on Mac OS X Lion. I documented the steps for my team in a blog post:

http://jrmyward.com/blog/posts/local-rails-development-with-nginx-passenger-4-and-ruby-2-on-mac-os-x

这篇关于带有滑轨的Mac Nginx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆