Displaying 20 results from an estimated 20000 matches similar to: "Really Really Important"
2006 Jun 14
0
installation problem with lighttpd
Ever since I moved my dev environment from my Powerbook to my new
MacBook Pro, I cannot run the lighttpd webserver - it starts and
immediately crashes out with an error (see below) saying a file does not
exist. I''ve checked the file does exist.
WEBrick works without any problem.
Has anyone else experienced this problem?
John:~/web john$ ruby script/server
=> Booting lighttpd
2005 Nov 22
1
What? - 500 unless class Cart included
I have been struggling with a problem for a while, and now have a
workaround, but I want to understand if something is borked in my
config or if this is a bug.
Setup: Mac OS X 10.4.3; Ruby 1.8.2; Rails 0.14.3
Problem: When I create a brand new project, I get an HTTP 500 status.
If I add a Cart model, the 500 goes away:
$ rails test
create
create app/controllers
[etc]
2006 Mar 04
6
Favicon?
I''m sure I''m missing something rudimentary here...
I seem to be having difficulty getting my favicon to appear. I have my
favicon.ico in the public folder. I''ve configured my route.rb to route
the intro page to my "home" controller. I''m using application.rb in my
views to template the headers and footers.
Here is the tag in my <head> in the
2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys,
I hope someone can help me out. I am trying to configure two
applications to run on lighttpd and each app will have its own domain.
My machine is running on Fedora. When I run my lighttpd with the
following conf file, I get no error but when I check out my app, it
dishes out a 404 error- the 404 being served isn''t the 404 inside the
railsapp/public folder.
Do hope someone
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys,
I''m here again with a problem. I have a rails app called brewed. It''s
located /home/user/brewed. My lighttpd.conf is located at
/home/user/lighty. When I execute lighty on port 80 with:
/usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems
to work fine.
If I type www.mysite.com/main/index on my browser, the page comes out
well. I have my files
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
2006 Mar 01
3
Strange Error
Hi!
I''m reading the ''Agile Web Development with Rails'' book and I tried to
write the depot application. But almost at the beginning everything
goes wrong and my application doesn''t work. When I try to open
http://localhost:3000/admin with my Firefox, a blank site comes up. This
is the first mistake. And then the window of my WEBrick shows some
strange
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
2006 Mar 17
2
Favicon.ico doesn''t show in IE 6
Hello All,
I put favicon.ico under "public" folder. Also, I put a copy into
"public/images". And I put these 2 lines in my layout file:
<link rel="icon" href="images/favicon.ico" type="image/ico" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/ico"
/>
It works fine in
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring..
uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears,
Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a
running FastCGI Rails 1.0 environment with :
- Win XP "Professional" (just brand name)
- Apache 2.0.55 (msi)
- Ruby for Apache 1.3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default
2005 Mar 03
5
Whats ''favicon.ico''
I''m seeing the following in the WEBbrick console output after every GET
192.168.0.108 - - [03/Mar/2005:15:35:19 AUS Eastern Daylight Time] "GET
/favicon.ico HTTP/1.1" 200 60
- -> /favicon.ico
What does /favicon.ico (which doesnt seem to exist in my source) do for
Rails?
_______________________________________________
Rails mailing list
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2007 Sep 10
3
Can't reach a controller :(
When I try to see a controller I get a 404 error, this is what WEBrick
says
What could it be? Thanks for the help ;)
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2007-09-10 13:30:26] INFO WEBrick 1.3.1
[2007-09-10 13:30:26] INFO ruby 1.8.6 (2007-06-07) [i486-linux]
[2007-09-10 13:30:26] INFO
2010 Dec 19
0
favicon.ico (shortcut icon) & Internet Explorer 8 & rails
For all the poor programmers out there who have been scratching their
heads ...
If you do something like
<link href=''/images/UltraDedup-icon-003---16x16.ico''
rel=''shortcut icon'' type=''image/x-icon'' />
and place it immediately after the in the <head> section of a webpage
then you may experience the following bizarre behavior:
2006 Jan 18
1
How should permissions be set for a Rails app?
I''m a newbie and I''m having a tough time figuring out how the
permissions need to be set to get a Rails app running on a shared host.
I''m attempting to follow the fastCGI instructions here:
http://wiki.rubyonrails.com/rails/pages/FastCGI
Now, I''m getting this error:
-------------
You don''t have permission to access /dispatch.fcgi/ on this server.
2006 Feb 14
8
routing failures
probably something really simple but I don''t understand.
Shifting to Apache to w/ fastcgi (definitely feels faster than webrick)
Anyway, I set the default route in routes.rb to be
map.connect '''', :controller => "placements", :action => ''list''
which worked once I figured out apache...
Anyway, now that I have done that, all attempts
2006 Jan 23
1
favicon.ico placement
<link rel="shortcut icon" href="/public/favicon.ico" >
This causes a routing error, and the icon doesn''t load. Should I add
something to my routes.rb file, or should I change the href in the above
link?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ...
I have been porting my app from dev environment on Webrick to Apache
with FastCGI. I have the app responding and pulling up the data, but it
is ignoring the "images", "stylesheets", "javascripts" directories
located in the public directory.
I''m running Apache under Suse Linux 9.x. Here is the information that I
have in my vhosts.conf file:
2006 Feb 22
2
Using ez_where
Hi All,
I am trying to pass values to ez_where to construct my conditions. I
need
to know how the params need to be formated for ez_where.
My search class looks like this:
def search
@display_ad = DisplayAd.new(params[:display_ad])
cond = Caboose::EZ::Condition.new do
pub_date == ''@display_ad.pub_date''
io_number =~