在android上启动rails开发环境

时间:2022-03-05 12:05:24

Is it possible to run the ruby on rails, development environment on android, like we do on mac/ubuntu/windows. If not then, please post comments to why isn't possible?

是否可以在rails上运行ruby,在android上运行开发环境,就像我们在mac / ubuntu / windows上运行一样。如果没有,请发表评论为什么不可能?

3 个解决方案

#1


6  

Scripting Layer for Android (SL4A): http://code.google.com/p/android-scripting/

适用于Android的脚本层(SL4A):http://code.google.com/p/android-scripting/

For Ruby specifically: http://code.google.com/p/android-ruby/

特别适用于Ruby:http://code.google.com/p/android-ruby/

#2


7  

You might want to consider Rhodes. Rhodes is a Ruby MVC environment for building mobile apps for both Android and iOS. It's folder structure is not exactly like rails, but similar enough that it should be an easy transition.

您可能想要考虑Rhodes。 Rhodes是一个Ruby MVC环境,用于为Android和iOS构建移动应用程序。它的文件夹结构与rails不完全相同,但足够相似,应该是一个简单的过渡。

#3


2  

The idea of running Rails on Android devices is very appealing to me. However, I'm afraid it may not be easy or even possible at the moment.

在Android设备上运行Rails的想法对我很有吸引力。但是,我担心目前可能不容易甚至不可能。

Key requirement for developing Rails applications is having a Ruby interpreter on device. As for as I know, the only real candidates for this are:

开发Rails应用程序的关键要求是在设备上安装Ruby解释器。据我所知,唯一真正的候选人是:

After somehow getting the Ruby running, you still would need to figure out how to install and use RubyGems, Rails itself as well as all other libraries your web application may depend on (they may or may not work on Android).

在以某种方式运行Ruby之后,您仍然需要弄清楚如何安装和使用RubyGems,Rails本身以及您的Web应用程序可能依赖的所有其他库(它们可能在Android上运行,也可能不运行)。

As a summary, at this moment I would be rather looking into some alternatives. For instance, installing RoR on some remove machine and connecting to it from Android device with some SSH application.

总而言之,此刻我会考虑一些替代方案。例如,在一些移除机器上安装RoR并通过一些SSH应用程序从Android设备连接到它。

#1


6  

Scripting Layer for Android (SL4A): http://code.google.com/p/android-scripting/

适用于Android的脚本层(SL4A):http://code.google.com/p/android-scripting/

For Ruby specifically: http://code.google.com/p/android-ruby/

特别适用于Ruby:http://code.google.com/p/android-ruby/

#2


7  

You might want to consider Rhodes. Rhodes is a Ruby MVC environment for building mobile apps for both Android and iOS. It's folder structure is not exactly like rails, but similar enough that it should be an easy transition.

您可能想要考虑Rhodes。 Rhodes是一个Ruby MVC环境,用于为Android和iOS构建移动应用程序。它的文件夹结构与rails不完全相同,但足够相似,应该是一个简单的过渡。

#3


2  

The idea of running Rails on Android devices is very appealing to me. However, I'm afraid it may not be easy or even possible at the moment.

在Android设备上运行Rails的想法对我很有吸引力。但是,我担心目前可能不容易甚至不可能。

Key requirement for developing Rails applications is having a Ruby interpreter on device. As for as I know, the only real candidates for this are:

开发Rails应用程序的关键要求是在设备上安装Ruby解释器。据我所知,唯一真正的候选人是:

After somehow getting the Ruby running, you still would need to figure out how to install and use RubyGems, Rails itself as well as all other libraries your web application may depend on (they may or may not work on Android).

在以某种方式运行Ruby之后,您仍然需要弄清楚如何安装和使用RubyGems,Rails本身以及您的Web应用程序可能依赖的所有其他库(它们可能在Android上运行,也可能不运行)。

As a summary, at this moment I would be rather looking into some alternatives. For instance, installing RoR on some remove machine and connecting to it from Android device with some SSH application.

总而言之,此刻我会考虑一些替代方案。例如,在一些移除机器上安装RoR并通过一些SSH应用程序从Android设备连接到它。