similar to: How to use MS Word features from Rails app running as servic

Displaying 20 results from an estimated 20000 matches similar to: "How to use MS Word features from Rails app running as servic"

2007 Apr 11
5
WIN32OLE MS Word Help
Hi all, I am trying to create word document in ruby using WIN32OLE. as.. require ''win32ole'' word = WIN32OLE.new("Word.Application") word.visible = true word.documents.add selection = word.selection word.Selection.TypeText "This is some text." ... .. . Can we set header and footer to document? I want to generate a document such that its header contains an
2007 Sep 04
0
RoR on windows with MS SQL Server DBI:ADO driver Memory Leak
i''m running ruby 1.8.5 and rails 1.2.3 on windows with a bunch of mongrels that are proxybalanced via apache 2.2.4 the db adapter i''m using is the sqlserver one in ADO mode. so it''s using win32ole. when a mongrel service is freshly started it consumes about 40 megs of ram. but about each and every request is leaking memory. about 20 megs per hour(!!!). so after half a
2006 Mar 30
1
What is the entry-point for a rails app?
Hi, I would like to run a DOS command such as "net send ..." when I start the rails application using script\server. Can you please tell me where I need to put the call? Is it environment.rb by any chance? -Yash -- Posted via http://www.ruby-forum.com/.
2007 Sep 10
12
mongrel_rails service on windows incompatible with recent ruby builds?
i was suffering from a massive memory leak in my application. after searching and testing for quite a while i finally found that it wasn''t my app that had a leak but the win32ole support that was used by the ADO driver in sqlserver adapter. the solution to fix the leak was to install ruby 1.8.5p52 or 1.8.6p36 but sadly as soon i install one of the fixed releases mongrel won''t
2006 May 10
7
Problems starting mongrel running a rails app as a service
Hi there I have a rails app that I want to run on a Win 2k server running Mongrel. I''ve downloaded the latest version and the win32-service gem and can run it with the mongrel_rails start -d command When I try to start the same app installed as a service I get the following error: "There was a problem starting the service: The service did not respond to the start or control
2006 Mar 13
1
How to run rails app exe on port other than 3000?
We have managed to package our rails application into an exe using the steps given at: http://www.erikveen.dds.nl/distributingrubyapplications/rails.html When we start the exe, it starts on port 3000. But when we will be installing it at the clients'' site, this may not work as some other rails application may be running on that port. What can we do to configure the port on which the
2006 Jul 24
3
Confused on URLs to my Rails App
I need a VERY SIMPLE solution to get to my rails app. We have a WHM/Cpanel linux server with numerous virtual servers on it. I have an existing website called www.mydomain.com that lives in /home/mydomain/public_html. I have written a rails app called "test" that is in /home/mydomain/test, and it''s rails "root" is therefore /home/mydomain/test/public. I am an
2008 Sep 06
1
application.menu... need a little hint :)
hi everyone, first of all i'm using ubuntu. i had the wine menu in the top of all other menus (inside Applications menu), and i dragged it on the bottom of the list under Applications menu (in the "Main Menu" editor), just where it was before deleting it involuntary, but it finished inside the Universal Access menu. then i opened application.menu file where i tried to take this
2007 Apr 11
2
can we use MS Word Template using Ruby
Hi all, I am creating MS word document using ruby. can I use a "template" document in Microsoft word with place holders for dynamic data from database using ruby. Like, I''ve a template, I want to fill it by data from database, using ruby. Please help me out. Thanks, -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received
2009 Mar 22
2
wineboot not working as expected
I'm trying to install "Microsoft Digital Image 9", and the very first thing it does is configures a few files then immediately prompts the user it's going to reboot. I press "Ok", and it then does what it just did, and pops up the same message. This can continue forever. So, I decided to try to press "Ok", then immediately enter in "wineboot".
2006 Feb 04
2
Looking for tools developed on Rails
Hi, We are trying to setup a tool developed on Ruby on Rails, that provides a Project Dashboard, with the following features: Abstract of the project. Task list Calendar The task list should provide: Task Name Owner Start and end dates %completion Dependency, etc. The Calendar should provide Day, Week and month views. Can you please suggest some tools with available source code that loosely
2006 Jul 10
7
Rails app in a subdirectory via Mongrel
I''m trying to make Mongrel the default web server for Typo, but I''m running into a problem. Is there an easy way to run a Rails app in a subdirectory ( http://foo/blog instead of http://foo/) with Mongrel? For most apps, I''d just change routes.rb to include the prefix that I wanted, but that won''t really work with Typo--I''d rather not require a few
2009 Jun 18
0
Fwd: Re: problem with ovirt-mongrel-rails on rails 2.3
temporary fix write in ./config/environment.rb RAILS_GEM_VERSION = '2.1.1' unless defined? RAILS_GEM_VERSION and "gem install rails --version"=2.1.1"" > I've figured out fixes for the installer portion for ovirt on Fedora > 11 just running into this problem currently with the > ovirt-mongrel-rails service, It will start but there are errors in the >
2009 Jun 18
1
problem with ovirt-mongrel-rails on rails 2.3
I've figured out fixes for the installer portion for ovirt on Fedora 11 just running into this problem currently with the ovirt-mongrel-rails service, It will start but there are errors in the log and can't access /ovirt in the browser. Just wanted to get some input, I've tried a few fixes from google with no success and I'm no rails expert :) ** Daemonized, any open files are
2012 Feb 01
5
Wine Executes Locally, But Not With Absolute Path
I have an uninstalled portable Windows .exe. When I type the absolute path, it doesn't work: > wine /home/ubuntu/appDir/myApp.exe but, if I cd to the application directory and execute it locally, it works: Code: cd /home/ubuntu/appDir/ wine myApp.exe I'm trying to include it in my Docky dock via a .desktop shortcut I've made in /usr/share/applications/. I don't mind
2006 Jul 08
0
[tip] running games on a dedicated display
Hi all, Here's a small mechanism I have built to run games in a dedicated display. The main reasons for doing that were: - to avoid desktop stuff to pop over my games display - to run games in a display matching the game resolution - to avoid manually switching my main resolution back and forth - to avoid problems where quitting a games leaves my desktop in the wrong resolution The idea is
2007 Apr 16
4
newbie :: Running script at client side
Hi all, I am newbie to Ruby and web programming as well. My show.rhtml is like, . .. ... <% require ''win32ole'' %> <% ie = WIN32OLE.new(''InternetExplorer.Application'') %> <% ie.visible = true %> <% ie.gohome %> ... .. . At server, when I access http://.../show it''ll open Iexplorer.exe as expected, but when I access same from
2005 Sep 12
0
WIN32OLE file context during unit test
Hello all, I''m having trouble with the WIN32 file opening. I don''t'' know how to tell if this is a WIN32OLE issue or an issue with the application (Adobe Illustrator CS2) Review the included files below, which exist within a rails application. When IllustratorMinimalTest is run, #testFullPath succeeds, #testFileName fails. Thanks in advance for any advice on how to
2006 May 30
1
Error in mongrel_rails script with Cygwin/Mongrel/Rails
Hi, I am experiencing an error in the mongrel_rails script on a pc under cygwin/mongrel/rails. My installation details and error are as follows: With some guidance from various blogposts out there, I installed Cygwin on a Windows XP box followed by: Ruby 1.8.4(via cygwin setup), Gems (0.8.1 via ruby install.rb), Mongrel .3.12.4 (via gems), Rake 0.7.1(via gems, GemPlugin (via gems), Rails (via
2006 May 04
1
conditional require? conditional action code?
Greetings all. I have some controller code that uses win32ole (only available on windows). This code is now solid, and I''d now like to resume development on (any) other OS(grin). But alas, the controller bails because the OS specific library can''t be found. Can I conditionally specify action code compilation (and a require ''win32ole'') based on OS or