如何在heroku.com 上为bamboo-mri-1.9.2 堆栈设置Virtual box 虚拟机
我想建立一个 Ruby/Rails 开发环境,该环境反映了我在 heroku.com 上获得的 bare-mri-1.9.2 堆栈。我需要这个,以便我可以遵循 Michael Hartl 的 Rails 教程。所以我认为我需要:
- Debian Lenny 5.0
- git
- curl
- rvm
- Ruby MRI 1.9.2
- Rails 3.0.3
- PostgreSQL - 但我不确定哪个版本
- Ruby/PostgreSQL 驱动程序
- zlib
- readline
- openssl
- rubygems
- autotest
- drb
- spork
每次我尝试新步骤时在教程中,我遇到了一些问题,说我缺少库或 gem,或者 gem 未加载,或者其他什么。 (我的计算机是 Ubuntu 10.4,并且设置得很好,可以运行 Ruby 1.8.7 和 Rails 2.3.x)。
我做了一些挖掘,最终弄清楚了如何让 openssl 和 readline 适用于我的系统。但是,我想知道是否有人有可重复的指令集,可以告诉我需要安装什么才能在我的计算机上(最好是在 VirtualBox 或 VMWare VM 中)安装此开发堆栈。
我感谢您能给我的任何帮助。
I would like to set up a Ruby/Rails development environment that mirrors what I would get on heroku.com for the bamboo-mri-1.9.2 stack. I need this so that I can follow along with Michael Hartl's Rails Tutorial. So I think that I need:
- Debian Lenny 5.0
- git
- curl
- rvm
- Ruby MRI 1.9.2
- Rails 3.0.3
- PostgreSQL - but I'm not sure which version
- Ruby/PostgreSQL drivers
- zlib
- readline
- openssl
- rubygems
- autotest
- drb
- spork
Every time I try a new step in the tutorial I run into problems saying that I am missing a library or a gem, or that a gem didn't load, or whatever. (My computer is Ubuntu 10.4, and was set up nicely to run Ruby 1.8.7 and Rails 2.3.x).
I did some digging and I eventually figured out how to get openssl and readline working for my system. However, I would like to know if anybody has a repeatable instruction set that will tell me what I need to install to get this development stack on my computer, preferably in a VirtualBox or VMWare VM.
I appreciate any help that you can give me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然我不能保证这将与 Heroku 完全一样,但以下内容应该足够相似,并且是 Rails 开发的良好平台。
While I can't promise this will be exactly the same as heroku, the following should be sufficiently similar and a good platform for rails development.