Displaying 20 results from an estimated 10000 matches similar to: "Problems getting WEBrick server up and running (new to ruby)"
2006 May 24
7
OCI8::Cursor (Name Error) in HP-UX 11.11 error
Hi
I have looked at google about this error as well as in ruby on rails
forums, but I can not specifically locate the exact problem and the
solution for it.
Basically, I successfully installed ruby 1.8.4 on HP-UX 11.11 with rails
gem.
But unfortunately whenever I try to create a test application by using
"rails testapp", I am getting the follwing errror:
$ rails testapp
2011 Dec 08
3
Problem with running "WEbrick"
Hi
After I installed ruby 1.9.2p290(with rubyInstaller) on windows 7 and
connected MySQL to it ( I checked it
and it worked ) I installed rails then I create a project on
"C:\Users\Amiref\Documents\Sites\simple_cms"
with this order : "rails new simple_cms -d mysql"
then when I use "rails server" to run webrick I saw this error on
command prompt :
"rails.bat :
2007 Nov 23
6
Fresh install on Debian Etch - Mongrel immediately hangs
Hi,
I just did a clean install of
Ruby 1.8.5
Rubygems 0.9.0
and the Mongrel and Mongrel_Cluster gems.
I used only the Debian Etch package manager, nothing compiled myself.
Now, on a testapp when I do a script/server, I get the:
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
warning. But it''s not serving my app. Ruby is immediately on 100% CPU
load (and 0.7%
2007 Feb 20
1
"Text is not a module"
Hello all,
After upgrading to Rails 1.2.2, I''m getting a strange error when one of my
workers is invoked. The worker is responsible for monitoring a folder
(using directory_watcher) and emailing a specific user when a file is
dropped there, but it''s bombing immediately upon instantiation (or maybe
when trying to instantiate ActionMailer?) with the error "Text is not a
2006 Aug 16
3
(no subject)
Hi everybody,
We are developing several applications on a single server and I''m
looking for a way to use mongrel with each of them. Right now,
http://testapp.com/ is being served on that machine through apache
and mongrel. Here''s what a part of my apache config looks like:
<Proxy balancer balancer://testappcluster>
BalancerMember http://127.0.0.1:8000
2006 Aug 16
5
Class redefinition
Hi,
Suppose I want to redefine the Ruby String class in a Rails app. In which
file is it the most suitable to write the redefinition?
Thanks
Guillaume Carbonneau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060816/5b0da204/attachment.html
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody
I am trying to get RoR to work with lighttpd.
Nearly there, but I am stuck with a strange phenomenon.
If I configure lighttpd to serve pages on say port 2000, I can get at my
testapp fine and see the "Welcome aboard" page.
However, if I configure lighttpd to use port 80, I get a download prompt
from my browser.
If I access my URI like
2006 Jun 19
1
How to deploy rails apps from a VM Ware Virtual Machine?
Has anyone had any luck deploying rails apps in a Linux VM image on a
production MS Server 2003 with IIS ?
If so which image did you use a a base?
I am currently using a Gentoo image and have installed ruby and rails but
after performing a rails testapp and running webrick with ruby
script/server I get a page timeout when trying to visit http://0.0.0.0:3000or
http://127.0.0.1:3000 and I get no
2009 Aug 31
3
NameError: undefined local variable or method `testapp' for main:Object
Hi,
I am new to Ruby on Rails. Recently, I downloaded and installed the
InstantRails in the D:\ drive of my system. Now I wanted to try some
small examples in ''irb'', so I created a file "testapp.rb" and in that
pasted a code like this:
========================
class sample_class
def sample_method
puts "sample program"
end
2010 Feb 15
1
moved from ruby 1.8.6 to 1.8.7 and "We're sorry, but something went wrong."
I''m a windows user, and I was using ruby 1.8.6 installer over at
RubyInstaller.org. All was working well, but I decided to give ruby
1.8.7 a try. I uninstalled 1.8.6, downloaded and installed ruby 1.8.7
from rubyinstaller, reinstalled rails and all of my gems, and copied
over sqlite3.def and sqlite3.dll to the Ruby/bin.
I then my start my server (just using webrick for now, same as
2006 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
2008 Jun 06
1
Unexpected NameError when invoking task on worker
Hi, I''m brand new to BackgrounDRb and trying to figure out the setup.
I cloned the git repository today as listed on the BackgrounDRb website.
Starting out with a very basic worker, but BackgroundDRb is crashing
on a NameError. Any help to resolve this issue would be greatly
appreciated! Thank you in advance!!
I am also attaching a text file with the output below since it might
be
2013 Jan 02
2
How to move rails 3.2.8 project from ubuntu to windows7?
Currently, I have xubuntu installed on a bootable 16gb usb drive - the
rails app lives on this drive. This is for the benefit of a friend that
uses a win7 laptop - she boots from the usb drive to run the rails app -
works fine. I would like to have this app run in windows, so she doesn''t
have to reboot to use it. I see that I can install rails via rubyinstaller
2014 Dec 10
4
PJSIP configuration question
Not sure why, but Vitelity changed the settings to IP based authentication on me. Here's the new sip.conf settings they sent me.
type=friend
dtmfmode=auto
host=64.2.142.93
allow=all
nat=yes
canreinvite=no
trustrpid=yes
sendrpid=yes
When I use these settings to originate calls using the sip.conf they sent me, everything works.
Action: Originate
ActionID: S8
Channel:
2011 Nov 25
4
Sprockets File not Found Exception.
Hi Everyone,
I was trying out some sample applications for Rails. I created some
controllers and pages. But when i try to access one of them i get an
exception on the webpage:
---------------------------------------------------------------------
Sprockets::FileNotFound in Pages#home
Showing c:/railscode/test_app/app/views/layouts/application.html.erb
where line #6 raised:
couldn''t
2006 Feb 14
5
problem with apache
Hi!
I don''t know much about linux and apache configuration, so we''re using
cpanel on our server to manage accounts etc.
I was trying to install ror (according to this page:
http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel)
on our server, but it didn''t worked.
If i enter "server.com/rails" i get "/testapp/index.html was not
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 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi,
I''ve generated a new Rails app and dummy controller "foo" with method
"hello". I am trying to run it under Apache/2.0.53 with fastcgi, and
getting the index.html page when I hit http://localhost/foo/hello, or
for any other request (http://localhost/kdjfslkfjs). Also, there is
nothing in the rails logs, and no errors in the apache logs.
Relevant bit of
2006 Aug 06
3
Bug or feature: WEBrick threading (vs script/console thread)
I don''t know whether this is a bug or feature, and I don''t know whether
this belongs to Gmailer (http://rubyforge.org/projects/gmailutils) in
specific or Rails/Ruby in general.
I have an instance method in an ActiveRecord model, that upon a web
request using WEBrick, spawns off a thread, in which it invokes Gmailer
to perform some processing. What fails is that simply
2006 Jan 01
4
rails under windows and mysql make webrick unstable
hi, I have installed ruby and rails under windows(exactly this one:
http://rubyforge.org/frs/download.php/4174/ruby182-15.exe that
includes rubygems)
the thing is that while trying to install the mysql gem, it seemd to
try to build the native extension, so I finally added a compiled
version that I found in http://dema.ruby.com.br/
the problem is that webrick behaves quite unstable while