Displaying 20 results from an estimated 10000 matches similar to: "Problem with server"
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 Apr 22
0
Connecting to existing postgreSQL database in Win32
I''ve been runnning Perl under Apache for a while but have decided to try
using Ruby-on-Rails. My current database is postgreSQL 8.1. I have no
problem connecting to it using Perl or PHP 5. However, I''m obviously
missing something ''cos no matter what I do I cannot connect to the
database from RoR.
I have followed all of the instructions I could find and when I start
2009 Apr 15
0
hpricot bug?
I get an error in the hpricot-gem on Windows XP sp3. I have tested
different versions of it and combined them with different versions of
sequel (including the latest of both).
The error triggers on the line when I do: require ’hpricot’.
The line that causes the error in the hpricot-gem in the file
elements.rb (line 395) looks like this:
nth = proc { |num,i| self.position == num.to_i }
What is
2006 Jun 06
1
stack level too deep
Iam new to ferret Iam trying to do a sample application on ferret
this is my code:
class SearchController < ApplicationController
require ''ferret''
include Ferret
index = Index::Index.new(:path => ''/path/to/index'')
def list
end
def index
index << {:title => "Programming Ruby", :content => "blah blah
blah"}
2006 Jun 21
1
WEBrick won''t answer
Hi
I''m starting with RoR, trying to get things working. I''m following the
onLamp tutorial for my first steps. At the point where i''m supposed to
start the server for the first time i''m not getting any further. WEBrick
seems to work:
=======================================
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
2006 Jun 27
1
Errno::EINVAL: Invalid arguments - IE crash
Hi,
When I run my app on IE, it crashes everytime. However, when running
on Firefox, it is perfectly fine. I saw the following error on the my
server.
[2005-11-15 10:45:20] ERROR Errno::EINVAL: Invalid argument
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `gets''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `__send__''
2006 Jan 01
4
i2 wiki
hello.
i downloaded the latest i2 wiki from the subversion repository. i''m
not able to see it working even running under webrick (under windows
xp sp2).
i created the database (mysql 4.1) via "rake migrate" and instantiated
the first web through the console (as suggested by the readme file).
when running it what i get in the browser window is a blank page and
in the webrick
2006 Jan 24
1
Newbie: Cookbook Application problem with MYSQL
Hi everybody,
I''ve been reading lot of material about Ruby on Rails, and it looks like
really rocks.
I''ve downloaded the one-click version for Windows and started to build
the example cookbook app, found in:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
Everything looks good, but when I''m trying to create a new Recipe
2006 Aug 17
6
NameError in AdminController#index building scaffold
I''m a pretty big newbie with ROR, but when following a tutorial I
encounter an ugly error when building a scaffold. Here is my
environment
Dev system:
- Windows XP
- java version "1.5.0_06"
- MySQL java version "1.5.0_06"
- Ruby 1.8.4
- Ruby Gems 0.9.0
- Gem install mysql
Successfully installed mysql-2.7.1-mswin32
Installing ri documentation for
2009 Apr 25
0
problem when run script/server
hello, I have some problem when run command "ruby script/server" to
display website on localhost:3000
first I create rails by "rails demo" and then I "cd" to demo and use
command "ruby script/server"
=> Booting WEBrick
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2009-04-25
2008 Jul 21
2
webrick needs 80 seconds for starting
ruby script/console webrick
after 23 seconds:
=> Booting WEBrick...
after 78 seconds:
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-21 08:07:17] INFO WEBrick 1.3.1
[2008-07-21 08:07:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-21 08:07:17] INFO WEBrick::HTTPServer#start: pid=4664
port=3000
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
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 May 21
8
Rails and Postgres
Hi, I''m new to Ruby on Rails and am having a little difficulty working
through the ''Rolling with Ruby on Rails'' tutorial. Can anyone help?
I''m trying to get the cookbook application to work via a Postgresql db.
But get the following error when trying to access
http://127.0.0.1:3000/recipe/new
Errno::EINVAL in RecipeController#new
Invalid argument
2006 May 03
2
WEBrick initialisation error
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server
=>
2008 Jan 31
1
[WebOrb] Error: Send failed while I am trying to run Primitive Tests
Hi, all
Could someone help me with weborb''s tests from Flex application?
Then I run server and it is working, but when I click Run Primitive
Tests - I have error message Send failed.
C:\ruby\loginexample>ruby script/server
=> Booting WEBrick...
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-01-30
2006 Jan 10
1
Cooky cookies causes trouble
Hi All,
Yesterday wrote about my troubles with naming a table and model cookies and
cookie respectively. I know that everybody hates the newbie screaming bug as
soon as he encounters behaviour he doesn''t understand. But I''ve reproduced
the error in the simplest application possible, and dare therefore say that
this quite possible could be a bug in Rails.
Database:
CREATE TABLE
2007 Nov 21
3
Mongrel Timeout?
Hi,
I am using a railsapp to call an external app and print some barcode-labels.
My problem is, after a while there seems to be a timeout. Then I need to
stop the Mongrel-Server and restart it.
Below you can see the error message, when i stop the server.
Has somebody seen this before?
Greetings,
Oli
C:\etikett>mongrel_rails start -d -e production
** WARNING: Win32 does not support daemon
2006 Feb 26
2
Help - WEBrick won''t start - "Bad file descriptor" error
I have been working for a few days on a new (Windows) system, and
suddenly WEBrick won''t start. Full error text is at bottom of message.
It began after I followed Brian Hogan''s (terrific!) instructions for
setting up Eclipse w/Rails in Windows
(http://www.napcs.com/howto/railsonwindows.html). The server started
fine from w/in Eclipse when I reached that part of the instructions,
2006 Jan 21
2
flickr demo
hi --
i''m a beginner to rails, so thanks for your patience.
i was following the flickr video demo step-by-step
(http://media.rubyonrails.org/video/flickr-rails-ajax.mov).
i''m using ruby 1.8.2 on mac OS X.
i keep getting this error message after typing in a tag and submitting the
form:
ArgumentError in Flickr#search
wrong number of arguments (1 for 0)
RAILS_ROOT: