similar to: How do I get Webrick to autoload modules?

Displaying 20 results from an estimated 50000 matches similar to: "How do I get Webrick to autoload modules?"

2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination? The sequence of actions I perform to consistently get WEBrick to hang is: 1. start WEBrick 2. list a table form my Oracle 10g DB 3. startup sqlplus and update a few records in the table 4. go back to my browser and reload the table Here none of the chances I made directly to the table are reflected in the listing.
2006 Mar 21
3
Do module source code changes require reboot of WEBrick?
Assume that I refactor some code into a module and "require it into" my controller. Do I then need to restart my WEBrick server each time that I change the module? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches thereafter noticed that WEBrick is no longer functioning? I have a machine at school that I believe to be patched with 10.4.5 but not with the latest security patch and WEBrick seems to run fine for it. However, on my machine at home I can''t get WEBrick to successfully run even freshly generated apps. For both
2005 Jan 30
1
how to autoload modules on boot
Hi, I want to autoload ide-scsi.o on each boot. In debian there is a file /etc/modules in which I can iclude the names of the modules that are to be loaded at boot time As I remember in gentoo there was a similar /etc/modules.auto or something ... is there an appropriate place in a redhat distribution or I should write my own rc script? sasoon
2006 Jan 06
1
DHTML on WEBrick
I have some simple dhtml code in my rails app that hides fields I do not need displayed. This worked great as soon as I click on the item that initiates the hide, but within one second it pops back up. My assumption is WEBrick is refreshing to a previous state and I wondered what y''all thought was the appropriate way to handle. I thought maybe the default environment in production would
2004 Dec 21
2
Minimal modules.conf (e.g. with autoload=no)?
Did anybody already attempt to strip down an asterisk config to an absolute minimum for a specific use? Let's say I have a home installation and want to use capi and iax exclusively, and load only the channels, apps, codecs, file formats I really need. Obviously, to dig through the whole stuff, while maybe being educational, is still a major task. I'm aware of the fact that requirements
2006 Aug 14
1
AWDWR Chpt6: Webrick Get...200... then ...500...
Hi, Rails produces to diff Gets on the Webrick: AWDWR Chpt 6 strange results: First browser call to /Admin shows correct form; - And WEBrick reports: "Get /admin HTTP/1.1" 200 485 - -> /admin Subsequent browser calls to /Admin show: NoMethodError in AdminController#index undefined method `each'' for #<Mysql:0x37aba80> - And WEBrick reports: "Get /admin
2007 Dec 06
0
Rails Newbie--where do I configure webrick to start using ssl certs/https?
Hello all- Though I''ve got eons of java dev experience, I''m a fresh RoR noob with a server configuration question. Because it has to be tied into a single sign on solution(that uses secure cookies), an application that I''ve inherited absolutely requires that all requests go over secure http. I''ve seen this:
2006 Jun 27
0
Webrick & Internet Explorer... timeout POST issues?
I am using IE 7 beta2... but I have tested this with previous IE versions (6+) and get the same results... both FireFox and Opera work fine. My app does a search (POST), then I click on a record (GET), but if I hit the BACK button my app breaks because IE tells me that the web page has expired. I can click on RELOAD, it will ask me to send the POST request again, I do, and everything is
2006 Nov 04
0
page caching urls with space characters broken in webrick and mongrel
Page caching of urls with spaces in them using WEBrick and Mongrel is broken in Edge Rails (and Rails 1.1.6, where I started). This is due to the dispatch flow of control in both servers converting ''+'' in requested paths into '' '' chars, whereas the page caching system writes cache files for URLs with spaces in them out as encoded ''+''
2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32] latest version of edge rails - patched to make the server work with win32 (http://dev.rubyonrails.org/ticket/4139) On some pages WEBrick is crashing with the following: d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object when you didn''t expect it! (NoMethodError) You might have expected an instance of Array. The error occured
2006 Jan 23
1
Do non-AR models reload in development?
When working in development mode, do non-AR models reload? I''m not seeing changes I make reflected in the app unless I restart webrick, so I''m assuming the answer is no. How would get these model objects to reload just as their AR decendant brothers and sisters do? --Ryan
2006 Jul 26
0
webrick slows and crashes on thumbnail creation
ok here is my view code: <% for img in ary %> <%= resize_image img.name %> # img.name= /homa/joe/pictureimg.jpg <% end %> here is my resize_image code in application_helper: def resize_image(imgfile) pic = Magick::Image.read(imgfile).first thumb = pic.crop_resized(maxwidth, maxheight, gravity=Magick::CenterGravity)
2006 Mar 10
0
can''t start webrick on windows (fixed?)
Looks like a patch was submitted for this error many people were getting when trying to boot webrick on windows. The error having to do with the rake tmp:create in the server.rb. Hopping on edge rails from now on should get you this new patch (patch -> http://dev.rubyonrails.org/ticket/4139) -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Oct 25
0
Unable to get Ruby/WEBrick and Eclipse working - newbie
I''m trying to setup RoR on Windows XP with Eclipse using the various plug-ins RadRails, Ruby tools, Subclipse and I am unable to run an application within Eclipse or even using command line. On Eclipse it says in the Console: => Booting WEBrick... and then in the panel it says <terminated> Start WEBrick [Program] c:\ruby\bin\ruby.exe. I have tried various versions of Ruby --
2006 Jul 01
5
how can i set the default protocol of WEBrick to https?
On my server, stunnel is running to accept HTTPS (port 443) connection from clients and redirect them to localhost:80. And on port 80 of my server, WEBrick is running to accept HTTP connection. In such situation, WEBrick generates URLs beginning with ''http://'', not with ''https://''. So one can access to ''https://myserver/'', but when he click on
2006 Jul 27
7
cannot get past "Booting WEBrick"
Hi Everyone, I am following the ''Agile Web Dev. with Rails'' book, and I used instant rails to do the install on a Windows machine. Everything seemed to work fine until I got to: Booting WEBrick... After that, nothing happens. I tried creating a new rails application, but I get the same problem. I also tried reinstalling to no avail. Any ideas? Thanks for the help.
2017 Jun 12
2
CentOS7: How to debug SEGV when asterisk starts with autoload=yes ?
Hello, I was tasked to install Asterisk 13.16.0. from source on a CentOS7 platform. For that purpose, I used an unmaintened script of mine, written 10 monthes ago, and I was surprised to get segmentation violations whenever I ran "asterisk -cvvvvvvv -U asterisk". Usually, my /etc/asterisk/modules.conf file includes "autoload=yes" setting. Basically, I see two alternative
2006 Dec 08
5
WEBrick development environment not reloading views in Windows
I recently RoR on a machine running Windows 2003 server. When I fire WEBrick using the development environment, it does not reload the app with changed views. I have to shut down WEBrick and restart it to see the changes. Has anyone else had this problem? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2007 Mar 15
2
WEBrick freezes overnight
Each morning when I return to work, I find that my WEBrick server has stopped working. The process is still running, but when I try to connect to it with a web browser, the browser doesn''t get any response back. Usually when this happens I cannot control-c the process to shut it down, and not even "kill" works-- I have to get rid of it with kill -9. I then restart it and it