设置 Rhodes 环境并已安装 Ruby on Rails
我正在学习并且已经基于 Hartl 的书。我还想为移动应用程序开发建立一个 Rhodes 环境。
设置 Ruby on Rails 后,如何设置 Rhodes,而不弄乱我的 Ruby on Rails 环境?另外,如果我有带有 WEBrick(或 Apache)的 SQLite3(或 MySQL),我还需要 RhoSync 吗?
我正在运行 Ubuntu 11.04(我将使用 RhoHub 进行编译)
注意:我找到了这些说明 在 Ubuntu 论坛上,但它们并不完全是我正在寻找的,因为我正在使用 ruby 和 RVM
任何帮助将不胜感激。
I am learning and have already set up a Ruby on Rails environment based on Hartl's book. I would also like to set up a Rhodes environment for mobile app development.
How would I set up Rhodes after having set up Ruby on Rails, without messing up my Ruby on Rails environment? Also, will I still need RhoSync if I have SQLite3 (or MySQL) with WEBrick (or Apache)?
I am running Ubuntu 11.04 (I will use RhoHub for the compiles)
NOTE: I have found these instructions on the Ubuntu Forum but they are not exactly what I'm looking for, as I am using ruby with RVM
Any help would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
经过大量搜索和阅读 Rhomobile 书< /a> 刚刚发布,如果您有 Ruby on Rails 环境,您需要做的就是:
RhoSync 是手机上的一个服务器,它可以与您需要的任何后端进行通信,无论是您自己的服务器/数据库还是像 Heroku 这样的服务器/数据库(本书给出了一个 Heroku 示例)。这意味着您的数据库和服务器不是问题。
给大家一个友好的提示,我是一个初学者,所以我可以接受纠正。我只回答了我的发现,因为没有多少人回答过这个问题,所以我假设没有多少人知道答案。
希望这对其他初学者有所帮助,如果需要,请随时纠正我的发现。
After much searching and reading the Rhomobile book that was just released, if you have a Ruby on Rails environment, all you need to do is:
RhoSync is a server on the phone which talks to whatever backend you need, whether it is your own server/DB or another like Heroku (the book gives a Heroku example). This means your DB and Server are not an issue.
A friendly note to all, I am a beginner so I could stand under correction. I only answered with my findings as not many people had answered this questions, so I assumed not many people knew the answer.
Hope this helps other beginners, and feel free to correct my findings if it's needed.