Displaying 20 results from an estimated 20000 matches similar to: "Unable to Connect"
2009 Aug 19
11
Rails demo not showing up.
Hi,
Can''t get the rails demo to run. I''ve started the webrick server. Here
is what the output looks like:
-----
[root@chat demo]# ruby script/server
=> Booting WEBrick
=> Rails 2.3.3 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2009-08-18 21:29:41] INFO WEBrick 1.3.1
[2009-08-18 21:29:41] INFO ruby 1.8.5
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
2010 Nov 12
1
Dashboard throwing undefined method `to_time' for nil:NilClass error on page view
Using 1.0.4 release on Solaris 10 with Ruby 1.8.7.
Starting the server in production mode works fine until I request a
page from the web browser then I get the following errors on the
console. I''m running as user puppet (have also tried as user root but
same output). All files are owned by user/group puppet/puppet.
I have dropped and recreated the database multiple times just to see
if
2010 Apr 12
2
daemon() function is unimplemented
Hi all,
I''m a newbie... so be patient pliz
;-)
I''m starting to use Rails on my machine (OS: Win 7) but when I''m trying
to connect to http://0.0.0.0:3000 I get nothing.
So I launch rails in this way: ruby script/server -d
this is the answer:
"
C:\Ruby19\rubyApps\bookmark_manager>ruby script/server -d
=> Booting WEBrick
=> Rails 2.3.5 application
2010 Aug 20
5
puppet dashboard gui looks odd from apache2
I downloaded the puppet-dashboard.git from
http://github.com/puppetlabs/puppet-dashboard and did the installation
in my
ubuntu lucid puppet server following the steps in "Installation".
Now I can run it fine using the WEBrick like this
root@sys-ubuntu { ~/git/puppet-dashboard }$ ./script/server -e production
=> Booting WEBrick
=> Rails 2.3.5 application starting on
2011 Aug 15
3
- WEBrick server refuses to launch
Running Ruby 1.8.7, Rails 3.0.7 on a Windows 7 machine - tried going
through an upgrade to Ruby 1.9.2 over the weekend, but ran into
issues, so have since gone back to 1.8.7. After restoring my app and
re-installing all of the gems, the application finally launches with
rails s:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d
2011 May 27
3
unable to start server
When i start the server "rails s",following error message appears:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:167:in
`default_controller_and_action'': missing :controller
2012 Oct 17
6
NoMethodError (undefined method `service_options' for nil:NilClass)
hi i am using rails 2.3.4 and i am facing "no method error"
there is possibility to not find method but my question is - is there
possibility to error occurred because of empty table? or error in another
controller or helper?
error trace:
Processing QuoteRequestsController#create (for 127.0.0.1 at 2012-10-17
16:07:34) [POST]
Parameters:
2010 Mar 18
13
ERROR NoMethodError: private method `gsub!' called
I have just upgraded to Ruby 1.8.7 and Rails 2.2.2. My previous project
was at Ruby 1.8.6 and Rails 2.0.2. My platform is Windows and Webrick
for development.
When I run Webrick, the server starts without error, the application
runs, database connections work and I can click through the pages and
display data. But it does not serve any stylesheets or javascript
files. What''s
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello --
Please pardon my newness -- I''m just getting started with rails, and
I''m having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I
created a new page (using script/generate controller about index), I
am not able to navigate to the new page, and Ruby either crashes or
gives me an error:
/!\ FAILSAFE /!\
2010 Mar 05
1
WEBrick 500 error only with https
I have an application i''m installing on my application server. I''ve
been
using WEBrick and for now i''d like to just keep using it working in
prototype development mode. This works fine on my development machine
using both http and https, where the host is ''localhost'' (ports
3000,3001). It also works fine on the application server http port
3000.
The
2006 Mar 18
2
problem with webrick and edge rails
i know i do not really have the right to seek help with edge rails,
but i am hoping it is something trivial.
quick scenario:
$ rails test # create a new project
$ svn import # import it into the repo, then go elsewhere, and checkout
$ 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
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
Trying to get an app up and running with Edge Rails, and I''ve run into
different issues on Mac and Windows with the exact same code. It''s similar
to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see
any answers in there (maybe I missed the real answer?) Both console/error
outputs listed below:
I can''t even get WEBrick to start on
2006 Feb 13
3
TypeError
What might cause this error?
TypeError (singleton can''t be dumped):
/usr/lib/ruby/1.8/pstore.rb:159:in `dump''
/usr/lib/ruby/1.8/pstore.rb:159:in `dump''
/usr/lib/ruby/1.8/pstore.rb:138:in `transaction''
/usr/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update''
/usr/lib/ruby/1.8/cgi/session/pstore.rb:97:in `close''
2006 Mar 28
8
Correct way to capture a select param
I''m having trouble capturing the params from a select type form.
For text field like this:
<%= text_field_tag :courseid %>
I''m able to capture the posted value with this
params[:courseid]
However with a select field like this:
<%= select(:course, :id, %w{value1 value2 value3} %>
I''m not sure how to capture the posted value.
--
Posted via
2006 Jan 14
19
Stopping WEBrick?
Is there any way to request WEBrick to shutdown besides hitting CTRL-C
at the console?
I''m looking for, perhaps, a script/shutdown command, or perhaps a
special URL that will request WEBrick to die.
It can be a command run in a different shell, or, as I said, a special
URL.
Anyone?
Tom Harris
Cisco Systems
--
Posted via http://www.ruby-forum.com/.
2006 Apr 11
9
Rails failure after upgrade to 1.1.2
Greetings,
I tried upgrading Rails to 1.1.2 and now nothing is really working. In
connection to the Rails upgrade I upgraded my Ruby version to 1.9.0. I
also upgraded all my gem installs.
Since my old rails apps stopped working I tried generating a fresh one
, alas with the same result. Below I included the full trace when
trying to reach the app. Line 3 in application.rb is :
class
2006 Sep 18
2
Datebocks and EdgeRails
Hello,
I am having trouble trying to use the Datebooks Engine with Edge Rails.
Has anybody try with it?
It seems that the problem has something with loading the layout, and
complaints about the number of arguments.
I will thank any help or guide.
Thank you very much.
=========================
I have copied the error I get
ArgumentError
wrong number of arguments (2 for 1)
RAILS_ROOT:
2011 Dec 16
4
nil object Error
hi all,
i am getting following error ,i can''t figure it out why and from where
it is coming ?
please help me out to resolved this error if anyone knows about this issue.
i am using following env.
O.S:Windows XP
Ruby:ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
Rails:Rails 2.3.11
Gem:1.6.2
ActionView::TemplateError (You have a nil object when you didn''t expect
2006 Mar 28
8
1.1 broke my app
I upgraded to Rails 1.1 (ruby 1.8.2 and ruby 1.8.4 on RHEL 4 using
webrick or fastcgi) and all of a sudden I get this hitting a
controller:
wrong number of arguments (1 for 0)
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace |
Full Trace
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in