Hi , i am trying to create a .exe for my application using rubyscript2exe. and it is showing following error when i run the command ruby rubyscript2exe.rb application.rb . Tracing intello erp ... intello erp.rb doesn''t contain an init.rb . Gathering files... Copying files... Stripping... Creating intello erp_linux ... EEE: Couldn''t open: "intello" /usr/lib/ruby/1.8/ftools.rb:59:in `stat'': No such file or directory - /tmp/oldandnewlocation.7083/intello erp_linux (Errno::ENOENT) from /usr/lib/ruby/1.8/ftools.rb:59:in `syscopy'' from /usr/lib/ruby/1.8/ftools.rb:89:in `copy'' from /tmp/tar2rubyscript.d.7083.1/rubyscript2exe/init.rb:413 from rubyscript2exe.rb:610:in `load'' from rubyscript2exe.rb:610 from rubyscript2exe.rb:559:in `newlocation'' from rubyscript2exe.rb:487:in `newlocation'' from rubyscript2exe.rb:454:in `newlocation'' from rubyscript2exe.rb:487:in `newlocation'' from rubyscript2exe.rb:559:in `newlocation'' from rubyscript2exe.rb:603 Please help me out in solving this problem . thanks for your reply . -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/59869b26adbcb5e3715fc14c16e5577c%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
I would consider rubyscript2exe dead. According to http://rubygems.org/gems/rubyscript2exe the last release is over 6 years old. The official docs say it is tested with Ruby 1.8.2 which is not maintained any more for about a year now and it says it is tested with rubygems 0.8, woody is very old, IIRC we have 1.5 as current rubygems. Also in the projects documentation it is said that rubyscript2exe were GPL, but I couldn''t find the source code anywhere, it is not linked from the docs nor from rubygems.org. If you really need a standalone executable I would really suggest to us a language that is meant to create one, like c or c++. Also I really don''t see much sense in exefying a trails application. Probably you are just searching for a good way to depot and totally got it wrong? Please explain why you want to have a standalone rails executable and we can probably tell you a better way to achieve a similar goal. Am 19.10.2013 09:20 schrieb "rohini kambde" <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:> Hi , > > > i am trying to create a .exe for my application using rubyscript2exe. > and it is showing following error when i run the command > ruby rubyscript2exe.rb application.rb . > > > Tracing intello erp ... > intello erp.rb doesn''t contain an init.rb . > Gathering files... > Copying files... > Stripping... > Creating intello erp_linux ... > EEE: Couldn''t open: "intello" > /usr/lib/ruby/1.8/ftools.rb:59:in `stat'': No such file or directory - > /tmp/oldandnewlocation.7083/intello erp_linux (Errno::ENOENT) > from /usr/lib/ruby/1.8/ftools.rb:59:in `syscopy'' > from /usr/lib/ruby/1.8/ftools.rb:89:in `copy'' > from /tmp/tar2rubyscript.d.7083.1/rubyscript2exe/init.rb:413 > from rubyscript2exe.rb:610:in `load'' > from rubyscript2exe.rb:610 > from rubyscript2exe.rb:559:in `newlocation'' > from rubyscript2exe.rb:487:in `newlocation'' > from rubyscript2exe.rb:454:in `newlocation'' > from rubyscript2exe.rb:487:in `newlocation'' > from rubyscript2exe.rb:559:in `newlocation'' > from rubyscript2exe.rb:603 > > > Please help me out in solving this problem . > thanks for your reply . > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/59869b26adbcb5e3715fc14c16e5577c%40ruby-forum.com > . > For more options, visit https://groups.google.com/groups/opt_out. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BbCVsuTzGgbfpjOC32uuCy8DvCz8tPLXzk8W4y-SGX63pESmg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
I''ve had great success using ocra http://ocra.rubyforge.org/ the nice thing about it is you can tie it to an innosetup script and generate a windows installer w wizard etc, along w all those niceties such as being able to add tasks to the windows scheduler etc Cphone On 2013-10-19, at 0:20, rohini kambde <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi , > > > i am trying to create a .exe for my application using rubyscript2exe. > and it is showing following error when i run the command > ruby rubyscript2exe.rb application.rb . > > > Tracing intello erp ... > intello erp.rb doesn''t contain an init.rb . > Gathering files... > Copying files... > Stripping... > Creating intello erp_linux ... > EEE: Couldn''t open: "intello" > /usr/lib/ruby/1.8/ftools.rb:59:in `stat'': No such file or directory - > /tmp/oldandnewlocation.7083/intello erp_linux (Errno::ENOENT) > from /usr/lib/ruby/1.8/ftools.rb:59:in `syscopy'' > from /usr/lib/ruby/1.8/ftools.rb:89:in `copy'' > from /tmp/tar2rubyscript.d.7083.1/rubyscript2exe/init.rb:413 > from rubyscript2exe.rb:610:in `load'' > from rubyscript2exe.rb:610 > from rubyscript2exe.rb:559:in `newlocation'' > from rubyscript2exe.rb:487:in `newlocation'' > from rubyscript2exe.rb:454:in `newlocation'' > from rubyscript2exe.rb:487:in `newlocation'' > from rubyscript2exe.rb:559:in `newlocation'' > from rubyscript2exe.rb:603 > > > Please help me out in solving this problem . > thanks for your reply . > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/59869b26adbcb5e3715fc14c16e5577c%40ruby-forum.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/66F1686A-5B5F-44EC-BD91-F78D9DEC7898%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Ocra is windows only,but the OP uses a *nix. So ocra isn''t a help. Am 19.10.2013 20:45 schrieb "Drfrog" <drfrog666-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> I''ve had great success using ocra > http://ocra.rubyforge.org/ > > the nice thing about it is you can tie it to an innosetup script and > generate a windows installer w wizard etc, along w all those niceties such > as being able to add tasks to the windows scheduler etc > > Cphone > > On 2013-10-19, at 0:20, rohini kambde <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > Hi , > > > i am trying to create a .exe for my application using rubyscript2exe. > and it is showing following error when i run the command > ruby rubyscript2exe.rb application.rb . > > > Tracing intello erp ... > intello erp.rb doesn''t contain an init.rb . > Gathering files... > Copying files... > Stripping... > Creating intello erp_linux ... > EEE: Couldn''t open: "intello" > /usr/lib/ruby/1.8/ftools.rb:59:in `stat'': No such file or directory - > /tmp/oldandnewlocation.7083/intello erp_linux (Errno::ENOENT) > from /usr/lib/ruby/1.8/ftools.rb:59:in `syscopy'' > from /usr/lib/ruby/1.8/ftools.rb:89:in `copy'' > from /tmp/tar2rubyscript.d.7083.1/rubyscript2exe/init.rb:413 > from rubyscript2exe.rb:610:in `load'' > from rubyscript2exe.rb:610 > from rubyscript2exe.rb:559:in `newlocation'' > from rubyscript2exe.rb:487:in `newlocation'' > from rubyscript2exe.rb:454:in `newlocation'' > from rubyscript2exe.rb:487:in `newlocation'' > from rubyscript2exe.rb:559:in `newlocation'' > from rubyscript2exe.rb:603 > > > Please help me out in solving this problem . > thanks for your reply . > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/59869b26adbcb5e3715fc14c16e5577c%40ruby-forum.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/66F1686A-5B5F-44EC-BD91-F78D9DEC7898%40gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BbCVsuGG6ZbwitkZdeTD7NqG%3DEGxafz_2MZdM1wFWzqfYr%3D1Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
well then neither is creating a .exe :/ Cphone On 2013-10-19, at 22:46, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Ocra is windows only,but the OP uses a *nix. So ocra isn''t a help. > > Am 19.10.2013 20:45 schrieb "Drfrog" <drfrog666-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> I''ve had great success using ocra >> http://ocra.rubyforge.org/ >> >> the nice thing about it is you can tie it to an innosetup script and generate a windows installer w wizard etc, along w all those niceties such as being able to add tasks to the windows scheduler etc >> >> Cphone >> >> On 2013-10-19, at 0:20, rohini kambde <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> >>> Hi , >>> >>> >>> i am trying to create a .exe for my application using rubyscript2exe. >>> and it is showing following error when i run the command >>> ruby rubyscript2exe.rb application.rb . >>> >>> >>> Tracing intello erp ... >>> intello erp.rb doesn''t contain an init.rb . >>> Gathering files... >>> Copying files... >>> Stripping... >>> Creating intello erp_linux ... >>> EEE: Couldn''t open: "intello" >>> /usr/lib/ruby/1.8/ftools.rb:59:in `stat'': No such file or directory - >>> /tmp/oldandnewlocation.7083/intello erp_linux (Errno::ENOENT) >>> from /usr/lib/ruby/1.8/ftools.rb:59:in `syscopy'' >>> from /usr/lib/ruby/1.8/ftools.rb:89:in `copy'' >>> from /tmp/tar2rubyscript.d.7083.1/rubyscript2exe/init.rb:413 >>> from rubyscript2exe.rb:610:in `load'' >>> from rubyscript2exe.rb:610 >>> from rubyscript2exe.rb:559:in `newlocation'' >>> from rubyscript2exe.rb:487:in `newlocation'' >>> from rubyscript2exe.rb:454:in `newlocation'' >>> from rubyscript2exe.rb:487:in `newlocation'' >>> from rubyscript2exe.rb:559:in `newlocation'' >>> from rubyscript2exe.rb:603 >>> >>> >>> Please help me out in solving this problem . >>> thanks for your reply . >>> >>> -- >>> Posted via http://www.ruby-forum.com/. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/59869b26adbcb5e3715fc14c16e5577c%40ruby-forum.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >> >> -- >> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. >> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/66F1686A-5B5F-44EC-BD91-F78D9DEC7898%40gmail.com. >> For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BbCVsuGG6ZbwitkZdeTD7NqG%3DEGxafz_2MZdM1wFWzqfYr%3D1Q%40mail.gmail.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8B19F913-E103-4E41-BFE6-07D246E9294C%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Thank you for reply folks . why i want to have a standalone rails executable is , i just want my clients to feel easy to run the project , if we give it as a one click installer, it would be easier for them to use the application .This is the main reason behind creating a . EXE for rails . And can''t we create a .EXE in Ubuntu OS using the above mentioned gems ?i.e., rubyscript2exe . please tell me how can i create a .EXE for my application in Ubuntu . -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/80e85cc5eec220f149761f57f7c6c399%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
you can''t create exe for Ubuntu exe are windows ONLY you may want to look at deb pkg creation or maybe a ruby gem depending on your needs Cphone On 2013-10-20, at 22:32, rohini kambde <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Thank you for reply folks . > > > why i want to have a standalone rails executable is , i just want my > clients to feel easy to run the project , if we give it as a one click > installer, it would be easier for them to use the application .This is > the main reason behind creating a . EXE for rails . > > And can''t we create a .EXE in Ubuntu OS using the above mentioned > gems ?i.e., rubyscript2exe . > > please tell me how can i create a .EXE for my application in Ubuntu . > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/80e85cc5eec220f149761f57f7c6c399%40ruby-forum.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/B5F1BC06-9213-4BA6-9B83-FFA1358CB2DC%40gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Okay ,so we should try creating a .exe in windows only i guess. then would you please provide me the right way of steps to be followed to create .exe in windows . or suggest me how to create a executable for my application in Ubuntu.? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c8f66a9e0bf116d3bd2a8641f18919df%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
On Monday, 21 October 2013 04:58:19 UTC-4, Ruby-Forum.com User wrote:> > Okay ,so we should try creating a .exe in windows only i guess. > > then would you please provide me the right way of steps to be followed > to create .exe in windows . > > or suggest me how to create a executable for my application in Ubuntu.? > >You won''t find much information about this because it''s a really uncommon way of deploying a Rails application. Nearly all Rails apps are deployed to a server and then accessed over the network - even if you *had* a self-contained .exe you''d need to launch it and then visit the application in your browser. Can you clarify exactly what the intent is for the "one-click installer"? --Matt Jones -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5a11eabc-4135-4b28-b9f8-000163f10ce3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.