Project

General

Profile

Actions

Bug #2626

closed

ROR project into an Executable file

Added by shobana (shobana rajaratnam) about 14 years ago. Updated almost 13 years ago.

Status:
Third Party's Issue
Assignee:
-
ruby -v:
,.
[ruby-core:27689]

Description

=begin
I have followed the below steps in creating an executabl file for my sample application in ROR . I have Ruby 1.8, Rails 2.2.2, Aptana Studio and MySql in my system. My application is converted to sample.rb, but, after that, am not geting any errors as well the exe file is not generated. Can u help me with this.

The steps i followed are:
Created a project in ROR.And then,
Step 1:

Installed following two gems
1.tar2rubyscript
2.rubyscript2exe

Step 2:

created a file init.rb with the following content in application root folder

at_exit do
require "irb"
require "drb/acl"
require "sqlite3"
end

load "script/server"

Step 3:
created the application package by :

tar2rubyscript demo

tested our Ruby Archive with the following command:

$ruby demo.rb

And again, tested the application with the following URL: http://localhost:3000/book

then run this command line:

$rubyscript2exe demo.rb

=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) about 14 years ago

  • Status changed from Open to Third Party's Issue

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0