Options for distribution of an offline Ruby on Rails application

前端 未结 7 1572
轮回少年
轮回少年 2020-12-14 02:44

I am developing an application in using Ruby on Rails, mostly as an excuse to learn the language.

This is not intended to be a web-based application - and perhaps I

相关标签:
7条回答
  • 2020-12-14 03:35

    You can include Ruby on Rails by freezing it to the version of Rails you want to use in your project. They call this Freezing. The user will not have to install Rails to use your application. You can do this with any library you use in your project. If the project uses a library, just place it under the Vendor folder in your project. Then use a tool similar to what @Josh answered with to package it.

    You will need a web server to run the project though. There is no way around this. Ruby on Rails is just like ASP.NET in this regard, in that it is a server side framework. The server runs the code and outputs the HTML to the browser by using the Rails framework.

    Unfortunately, you may have picked the wrong framework to do what you want. Instead of Ruby on Rails, you may want to check out Shoes, which is a framework for developing GUI applications using Ruby.

    0 讨论(0)
提交回复
热议问题