Displaying 20 results from an estimated 1000 matches similar to: "Getting started on win32 - without Rails."
2006 Jun 30
2
Eruby.import -> "uninitialized constant" error
I''m working on porting a dynamic website done in PHP over to mod_ruby. I
have everything set up and working nicely (I can make a .rhtml page, put
ruby code between <% %> and it works etc), but when I try to use
"Eruby.import" as a sort of analog to PHP''s "require_once()", I run into
trouble.
1) eruby is in my cgi-bin
2) here''s a sample of
2006 Jun 04
4
eRuby & Rails: Not Compatible
I''m new to Ruby, Rails, and this list. I''ve tried searching for an
answer but it all seems to be over my head. I have all the books but
again they seem to leave me on my own to figure out the stuff that
really matters. Where is the best place to find out the details?
Exactly what are these much celebrated "naming conventions"; i.e. where
do I find an exhaustive
2005 Apr 08
0
switch mod_ruby to fastcgi but still use eruby?
Hello there list-
I have a question I hope someone can answer. I have a Debian server
that currently has mod_ruby and eruby installed and working great for
the last year or so. I also have one rails app working great on this
box. My question is this: I want to switch to fastcgi so i can have
more than one rails app, but there are already many scripts using eruby
with no framework at all just
2007 Apr 20
2
order of registering uri''s matters for URIClassifier ?
Hi all,
I''m playing around with mongrel handlers and I came across a behaviour
that seems abnormal to me with regard to the Configurator#uri calls. It
appears that order matters.
For instance:
...
listener do
uri "/icons", :handler => DirHandler.new("/var/www/icons")
uri "/", :handler =>
2006 Aug 10
16
Error on Solaris
Hi everyone, I''m having a problem starting rails on solaris. I have
made the changes suggested in the joyeur article but it doesn''t make
any difference. The error is below. Does anyone have any idea?
/opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in
`register'': undefined method `resolve'' for nil:Mongrel::URIClassifier
(NoMethodError)
2007 Sep 28
2
RoR uses something rather than erb or eRuby?
it seems that RoR doesn''t use erb or eRuby to generate its output for
rhtml?
the program erb and the description of eRuby at
http://www.eruby.info
both said that
<% print "foo bar" %> or <% puts "hello" %>
will be placed into the output...
but currently for RoR, it won''t...
only <%= expr %> is doing it and it cannot be print or
2006 Jun 22
2
eRuby/erb
Hello. Prospective Mongrel user here.
Can Mongrel act as a server for eruby or erb files?
Example:
<html>
<body>
<p>The time is <%= Time.now %></p>
</body>
</html>
Pistos
2008 Sep 04
1
actionmailer sends from commandline but not from web
Hello all,
I''m having trouble with this simple email class I made for postbacks.
When I run this from the command line an email is sent, however when I
access this .rb file through a browser nothing happens.
-------------------------
#!/usr/bin/ruby
require "rubygems"
require "action_mailer"
ActionMailer::Base.delivery_method = :smtp
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
Hello,
I have tried to setup Ruby-on-rails on my debian Linux machine and can
not get it to run. Maybe someone can help.
The following was installed already:
- apache2 2.0.54 (and PHP5)
- Postgresql 8.1
Now, having the ''unstable'' branch in my /etc/apt/sources.list I did:
apt-get install libapache2-mod-ruby
and Apache reports a "mod_ruby/1.2.4 Ruby/1.8.4"
2006 Feb 13
1
Is this same or different
Hi,
Is eruby & ruby on rails are same or diffrent.
If not same,then what is the diffrence?
Please.
--
Posted via http://www.ruby-forum.com/.
2007 Oct 22
30
TST is right out
Hi Zed,
I checked in a pure-Ruby URI classifier to Mongrel trunk. Ola''s Java
port of the TST had some bug, and I don''t think it''s necessary in the
first place. The Ruby classifier is around 25 lines instead of the
400-odd lines for the C extension and the 200-odd for the Java
extension. It uses a Regexp which is perhaps shady:
@matcher = Regexp.new(routes.map do
2006 Feb 28
1
New flexible plugin system in the works
Hi Everyone,
Just a quick message to say that I''m holding back the 0.3.7 release so I can
get this flexible plugin system going that we''ll need for the next step of
loading user defined handlers and filters.
What I''ve done is completely replaces pluginfactory with an alternative that
lets you create simple classes like so:
class Stop < Plugin "/commands"
2006 Jul 16
1
Mongrel starting problem on new Debian box
Hello world,
I''m having some problems setting up a new Debian deployment box...just
installed the rails stack, mongrel, etc...
When I go to start mongrel I''m getting a weird error I can''t figure out.
Some help please?
-> mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
2007 Mar 12
17
need help writing a plugin
Hi,
I''m halfway developing a tiny plugin that allows people to scrub flash
video files. I''ve got my plugin setup to monitor a directory /movies.
Whenever a .flv file is requested within that directory, some stuff
should happen, if not, the request should be processed as usual. I don''t
know how to do the latter..
require ''mongrel''
require
2006 Dec 19
1
mongrel_config has no output
I am not sure what i am doing wrong here, but no matter what i try i get no
output from mongrel_config:
$ mongrel_rails configtool
$ telnet localhost 3001
Trying 127.0.0.1...
Connected to localhost.
Escape character is ''^]''.
GET /config/ HTTP/1.1
HTTP/1.1 200 OK
Connection: close
Date: Tue, 19 Dec 2006 05:33:16 GMT
Content-Type: text/html
Content-Length: 0
Connection closed by
2006 Aug 18
2
printing out text in .rhtml files
Hi all,
In php i can do something like this:
<?php
print ''hello'';
print '' world'';
?>
Is there an equivalent to print in eruby, or do I have to use multiple
<%= %> lines?
Thanks!
Jack
p.s. I tried posting this before, but I don''t see it. Sorry if this is a
repeat.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 13
1
Executing ruby on rail program through address bar
I Want to run my ruby on rail application through address bar.
i.e like: http://localhost/rail_program/first.rhtml.
when i trying this it only executes html part but not executing rail
part.
Here is the code:
<html>
<head>
<title>eruby example</title>
</head>
<body>
<h1>Enumeration</h1>
<ul>
<%(1..10).each do|i|%>
<li>number
2006 Apr 19
8
Win32 Gem Dependencies
Yeah I just noticed that the latest mongrel gem for win32 doesn''t have
the proper dependency for ''daemons''. This of course causes the require
to fail. Any chance at getting this fixed for future gems? :)
Thanks
Josh Ferguson
2006 Jun 30
12
Mongrel 0.3.13.3 -- Ruby Licensed Release
Hello Everyone,
This is the official 0.3.13.3 release of Mongrel.
Mongrel is now released under the *Ruby license* instead of the LGPL.
I''m hoping this increases the adoption of Mongrel even further and
hopefully I can start pushing to get Mongrel included in Ruby directly.
INSTALL
As usual, you install it with your friendly gem install method of
choice:
gem install mongrel
Or
1999 Dec 06
1
Ugly patch to openssh-1.2pre15
Hi,
I am behind a firewall which does not permit connections to port 22, so I
run my ssh server on port 23. :-) Unfortunately, the stupid firewall
prints a few lines of junk when you make a connection to port 23 before
actually starting the connection. This confuses ssh.
Attached is an (ugly) patch against openssh-1.2pre15 which makes it ignore
a configurable number of lines while looking for