(嵌入式?)Ruby/Python,现有的 XAMPP 堆栈
我已经在本地 XAMPP 安装上使用 PHP 工作了大约一年多的时间。我学到了很多东西,但现在需要扩展我的知识库,涉及其他语言。
所以,我想我应该尝试处理 Ruby/Python。
现在,由于我坚持进行 Web 应用程序开发,因此我认为嵌入式 Ruby/Python 将是从 PHP 过渡的最佳选择。
我在 Windows 7 x64 机器上安装了现有的 XAMPP,我想在其上堆放 Ruby 和 Python。但是,我对如何执行此操作有点困惑(阅读,如果我可以这样做)
我想迁移到较新的 XAMPP 版本(从 1.7.4 ......无论我如何)我正在运行)无论如何,我已经下载了 RubyInstaller 1.9.2,但我想在我去破坏某些东西之前我会询问一些见解。
那么,如何配置 XAMPP 安装以支持嵌入式 Ruby/Python?
I've been plugging away for about a year and a bit now with PHP on my local XAMPP install. I've learned very much, but am now needing to expand my knowledge base with concern to other languages.
So, I figured I'd try tackling Ruby/Python.
Now, since I'm sticking to web application development, I would assume embedded Ruby/Python would be the way to go, transitionally, moving from PHP.
I have an existing XAMPP install on my Windows 7 x64 machine, which I'd like to pile Ruby and Python on top of. However, I'm a bit confused with how to do this (read, if I can do this)
I want to move to the newer XAMPP release (to 1.7.4 from... whatever I'm running) anyways, and I've downloaded the RubyInstaller 1.9.2, but I figured I'd ask for some insight before I go and break something.
So, how do I go about configuring a XAMPP install to support embedded Ruby/Python?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不能只安装 ruby 和 python,然后使用 mod_rails 和 mod_wsgi?我在本地计算机(不过 MacOS)上做了同样的事情,而且效果很好 - 但从未通过 XAMPP 尝试过。有些人在 MAMP 上很幸运,但由于他们如何分发它而感到痛苦 - 您可能在 XAMPP 上有更好的运气。不过,在这种特殊情况下,我不会太担心破坏任何东西 - 最多,您会编译一个错误的 mod_wsgi 模块并将其扔掉。
Couldn't you just install ruby and python, and then use mod_rails and mod_wsgi? I do the same thing on my local machine (MacOS, though) and it works great - never tried it through XAMPP though. Some people have had luck with MAMP but it's a pain due to how they distribute it - you may have better luck with XAMPP. In this particular case, though, I wouldn't be too worried about breaking anything - at most, you'll compile a bad mod_wsgi module and throw it away.