Displaying 20 results from an estimated 7000 matches similar to: "Rails demo not showing up."
2011 May 06
2
Unable to Connect
Hey folks,
I''m just starting out learning Rails, so I picked up "Agile Web
Development with Rails" and tried to get a demo server going. I
entered the command C:\Sites\demo>rails server and got the
following messages:
=> 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
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
2009 Oct 28
6
undefined method `^' for "e":String
I''m attempting to learn Ruby on Rails, but these errors aren''t helping.
I''m currently trying to follow the lessons available on
www.learningrails.com. I received this error after trying to visit a
page generated by using the scaffold command. Actually, this is all I
did up until the error:
rails sample2 -d mysql
mysqladmin -u root -p create sample2_development
ruby
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 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
2009 Aug 19
27
First App- Error 500
I''ve created a simple hello world app that doesnt appear to serve up
the view greeting.rhtml. :<
Any ideas ?
The error message is from development.log is...
# Logfile created on Tue Aug 18 16:49:55 -0400 2009/!\ FAILSAFE /!\
Tue Aug 18 16:50:34 -0400 2009
Status: 500 Internal Server Error
unknown error
PS . It does show the default web page ok at http://localhost:3000
just not
2009 Sep 14
2
Set a select box with default value selected
I am relating to the book & subject example mentioned in the tutorial
mentioned here:
http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-examples.htm
There is a file that goes like show_subjects.html.erb and it will list
all the books for that particular subject we''ve selected.
Suppose if there were no books to show for the subject we can ideally
show a corresponding message
2010 Aug 09
6
configure question and passenger
Greetings all.
I have seen a couple of diagrams on the net that look like a computer
set up as an nginx server and more than one mongrel server running at
once.
What is the advantage of having more than one mongrel server running?
Is there a good how-to that explains it very well.
thanks
shawn
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Nov 11
7
problem starting mongrel server
Hi, I am newbie started learning ruby on rails i had an application
which used to run pretty well latter i upgraded from webbrick to mongrel
1.1.5 then I am getting the
foloowing errors and a default application runs on port 3000 by name
iphone configuration utility
i am unable to attach the screen shot as it is saying file to large.
Error which i get in terminal is listed below
=> Booting
2010 Oct 02
6
Can't stop webrick with ctrl-c or ctrl-d on linux host
Hi All
I have setup a new dev system running LinuxMint 9 (Ubuntu 10.4). Running
ruby 1.9.2, rails 3.0, RVM etc.
One issue I have run into is that I can''t stop webrick with ctrl+c or ctrl+d
and killing the terminal always leaves a stranded ruby process.
Has anybody else run into this? Btw, webrick gets started by running "rails
s" in.
Also, ctrl+c works fine to stop a
2010 Jun 09
4
db connection issues in production but not in dev mode
We have an application Ruby on rails, which fires a number of queries to
the database. I Suspect it is connection timeout error or something
When we run the application in development mode, it works as expected.
However when we switch to Production mode, we get the following error in
Postgre console:
--------------------------
LOG: could not receive data from client: No connection could be made
2009 Sep 30
17
Apache2.2 + what to get Rails
Me: not experienced with Rails or Ruby,
Problem: Ubuntu 9.04 server in my shop ...couldn''t get Apache2.2 +
Passenger + Rails to work for Redmine. (No answer at Redmine list and
I don''t think its their problem anyway). Also couldn''t get Apache2.2
and just Rails to work, though some people said it would. Webrick
works.
Goal: run Redmine on a server that also runs PHP
2010 Jan 18
5
Re: puts & logger ... flush immediately
Marnen Laibow-Koser wrote:
> Ralph Shnelvar wrote:
>> newbie here ...
>>
>> I am tracing logic putting puts and logger.info calls in my code.
>>
>> I _think_ Rails is buffering output so that I can''t see what happens
>> until I close out webrick.
>
> But you are probably wrong. If you watch the log scroll by, you will
> generally see
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am
getting:
''
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3003
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3003
** Starting Rails with development environment...
2007 Jan 24
8
Viewing Rails from non-localhost using WEBrick server
During development, I''d like to see my Rails app from a computer other
than localhost on a Linux system and also want to change the default
port#. I thought this would do it:
Linux server:
$ script/server -b 10.4.1.84 -p 5432
=> Booting WEBrick...
=> Rails application started on http://10.4.1.84:5432
=> Ctrl-C to shutdown; call with --help for options
...
Windows browser URL:
2009 Jun 29
2
Cannot Run Ruby on Rails on windows Vista or 7
Hi There,
I have installed ruby on rails on a windows 7 box as mentioned on the
official ror manual and it works perfectly for some times. but when I
refresh web browser page few times I got this error and now nothing is
working on my pc.
here is the error I get when i try to start the server now. does
anyone has experienced this before?
C:\Users\Randika\emktplcusers>ruby script\server
=>
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 /!\
2008 Dec 19
14
Can duplicate "back" browser function in Rails?
In Rails I have a DB Table index.html.erb view. It has 100''s of items.
When I gen via scaffold I get index, show, edit, update, etc view.
But when I page down several pages, use the "show" link and then the
"back" link I do not go back to where I was on the index view.
Instead, I go back to the TOP of the index not the place where I clicked
on the "show"
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
2011 May 18
9
Address already in use - bind(2) (Errno::EADDRINUSE)
I made a new rails app and when i started the server ,it gave
following error message.
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in
`initialize_without_backlog'': Address already in use - bind(2)
(Errno::EADDRINUSE)
from