similar to: starting webrick from ruby (tar2rubyscript.rb)

Displaying 20 results from an estimated 1000 matches similar to: "starting webrick from ruby (tar2rubyscript.rb)"

2006 Sep 04
11
balancer://mongrel_cluster
A couple of questions please: What is the benefit of having more than one Mongrel/Rails instance on the same machine, could one instance not serve as many requests as say three instances? Is Mongrel Cluster a Apache add-in (like mod_*) or a separately running load balancer which runs on a separate port, I could not work it out from the sample Apache config... |# Redirect all non-static
2006 Sep 25
5
HTTP Parser (Regal)
Hi I was interested to see how Mongrel uses Lex/Yacc to parse the HTTP requests using a Regal generated parser. I downloaded the source but do not see the lex and yacc files...
2007 Mar 25
2
Mongrel & Mint (PHP related)
Hi, Does anyone have the Mint stats package setup with their Rails application. I have uploaded Mint to the public folder, but when I try and request domain.com/mint/index.php the page is served as a download instead of being processed by mod_php. Im guessing this isn''t really a Mongrel problem but what I actually need to do is prevent Apache proxying certain requests to Mongrel.
2006 May 26
3
Packaging with mongrel
Hi All First of all - I would like to say Mongrel is fantastic! We are developing a hybrid solution incorporating a central server and local servers (which allows offline working) - with Webrick we were suffering from 500 (and other errors) that the switch to Mongrel has fixed. Since we are providing the local server as a download application we wanted to find a way to package up the code and
2006 Jan 21
5
Distributing a Rails app
I''ve developed a Rails application that I''d like to make generally available, but I''m not sure how to go about this, or even what tools are most appropriate. Is this something that the Rails framework provides, or is it a job for Rake? for Rubygems? for Tar2rubyscript or Rubyscript2exe? A pointer to a "Distributing your Rails Application" would be ideal. --
2006 Feb 14
7
Launching a standalone Rails app
Hi, I''ve developed a standalone Rails app - using tar2rubyscript and rubyscript2exe. The users aren''t going to understand that the''ll need to open the browser and go to 127.0.0.1:3000 to view the app, after running the exe. I am wondering whether other people have tackled this problem in the past, and how they went about solving it. One way would be to write a
2007 Mar 08
10
bad URI(is not URI?): c:\boot.ini
Please note this message is not related to my previous one from yesterday, this is on a different server (textdrive server). I have only one mongrel application running but ''randomly'' it will go down, the mongrel.log file shows: ERROR: undefined method ''request_uri'' for #<URI::Generic:0x5383948 URL:*> ERROR: bad URI(is not URI?): c:\boot.ini [FATAL]
2008 Jan 29
4
Setting up release-1.0.1
Hello, I am unable to get the backgroundrb server to run. Initially I got: /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant BackgrounDRb::MasterProxy (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in
2008 Feb 12
1
$:.unshift File.join(File.dirname(__FILE__),'..','lib')?
What this code lines mean? Especially $:. before the unshift? $:.unshift File.join(File.dirname(__FILE__),''..'',''lib'') Regards, Mohsin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2007 Apr 30
1
collection_select - prepending a "any" option
Say I have a normal <SELECT> tag being generated thusly: <%= collection_select :task, :id, Task.find(:all), :id, :name %> what is the easiest way to add a "ANY" option to the top of the option list? I know Task.find(:all) returns a collection object, so is there a unshift() for that? well OK I tried: Task.find(:all).unshift([:id=>0,
2007 Apr 10
2
What does the end user need to run wxruby apps ?
Hi ! I''m new to this mailing list ! I''m just beginning to learn ruby programmation, ( so far mainly coded php web apps, and math algorithms with Caml ), so i''m a noob about libraries, toolkits, etc .... I wondered what does the end user need to run wxruby applications ? _ On Windows, he''ll need the ruby interpreter ( such as the one click ruby installer ), and
2016 Jul 08
2
Re: [PATCH v3 4/8] mllib: Add some imperative list manipulation functions.
On Thu, Jul 07, 2016 at 06:08:43PM +0100, Richard W.M. Jones wrote: > On Thu, Jul 07, 2016 at 07:00:46PM +0200, Pino Toscano wrote: > > On Thursday 07 July 2016 17:30:03 Richard W.M. Jones wrote: > > > This adds imperative list manipulation functions inspired by Perl. > > > The functions are passed list refs which get updated in place. > > > > > > This
2010 Apr 20
2
shift and pop equivalent in R
Dear All, I am wondering is there any shift (or pop or push or unshift) equivalent in R? For example, shift(x) # should return x[1], and x becomes x[-1] Thanks a lot. Best Regards, Xie Chao
2007 Nov 24
5
Service.start arguments failing or causing segfault
Hi, Unless I''m mistaken the final arguments to Service.start should be passed to the Daemon''s service_main method. Correct? I modified the Service.start method (now in CVS) to look something like this: def self.start(service, host=nil, *args) ... num_args = args.length if args.empty? args = nil else args.unshift(service) # Necessary?
2016 Jul 07
2
Re: [PATCH v3 4/8] mllib: Add some imperative list manipulation functions.
On Thursday 07 July 2016 17:30:03 Richard W.M. Jones wrote: > This adds imperative list manipulation functions inspired by Perl. > The functions are passed list refs which get updated in place. > > This allows us to replace some awkward pure functional code like: > > let xs = ys in > let xs = if foo then xs @ zs else xs in > > with: > > let xs = ref ys in
2005 Feb 08
2
test_process.rb => LoadError
Line 4 and following of test_process.rb reads: if defined?(RAILS_ROOT) # Temporary hack for getting functional tests in Rails running under 1.8.2 class Object #:nodoc: alias_method :require_without_load_path_reloading, :require def require(file_name) begin require_without_load_path_reloading(file_name) rescue Object => e
2006 Sep 21
5
Static files in public
My question is about the static files in the Rails public folder. These files should be served by Apache instead of Mongrel, so do I need to upload these files to Apache''s htdoc''s or will Apache cache them the first time they are requested from Mongrel... Im not sure how this works? Many thanks.
2006 Jan 23
3
date.to_s trimming
When I convert a datetime to a string, it prints out something like this Jan 20 12:00:00 EST 2006 I want to trim off the last twelve characters, i.e. :00 EST 2006 I tried to do it like so: @date = @meeting.date.to_s.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp.chomp but the chomps seem to do nothing. I''d love to use regex, but I don''t know which
2006 May 05
3
Plugin refresh time
Hi there, I''m currently developing a plugin to do authentication and authorisation. In the init.rb file of the plugin I have this code:- $:.unshift File.expand_path(File.join(File.dirname(__FILE__), ''lib'')) require ''open_advantage/authorisation'' ActionController::Base.send :include, OpenAdvantage::Authorisation and this is the skeleton of my
2009 Mar 08
2
rspec 1.1.99.12, Rails 2.3.1, undefined method `rspec_options=''
Hi David, all: I recently upgraded to Rails 2.3.1RC2 (Ubuntu 8.10, ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]) and have been dilligently following the instructions for upgrading rspec and rspec-rails according to: http://wiki.github.com/dchelimsky/rspec/rails-with-rspec-gems. and when I run ''rake gem'' fails with error: rake aborted! undefined method