similar to: Weird Script/Server Issue

Displaying 20 results from an estimated 20000 matches similar to: "Weird Script/Server Issue"

2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys, I''ve been able to successfully install the postgres adapter for a remote database machine to get rails up. My machine is running on Fedora 2. Rails version 1.1.2. Is my yml config correct? I am getting this error when I execute script/generate scaffold service_contents content : exists app/controllers/ exists app/helpers/ create app/views/spiel exists
2006 Feb 01
2
Weird problem with script/server, lighttpd, and FreeBSD
I installed lighttpd from ports on my FreeBSD-5 system last night, wanting to play with that instead of WEBrick for development work. I installed it, and ran script/server, and got this: [minter@carlton discostu]$ 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
2006 Jul 03
13
Remote Postgres is driving me crazy!
Hi guys, I need your help. Here is my database.yml: development: adapter: postgresql database: db username: username password: mypassword # Connect on a TCP socket. Omitted by default since the client uses a # domain socket that doesn''t need configuration. Windows does not have # domain sockets, so uncomment these lines. host: 192.168.22.1 (this is a remote ip in
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 Jun 13
0
Routing Error Recognition failed for "/notes"
I''m a noob to rails and i could use some help. Fedora Core 5 Ruby 1.8.4 Rails 1.1.2 Postgres for My Database Using webrick for testing at the monent but have lighttpd installed but the service is diabled. Here are my steps that i fillow. In my home directory i type rails test #cd test #sudo chmod -R 775 log #sudo chmod -R 775 public #ruby script/server Then i make my postgres database
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 May 31
2
Checkbox Help
Hi guys, I am need to help again. Sorry for the newbie query but would definitely appreciate the help. Here''s the q: I generate a list of items from the database and render them out with a checkbox beside them. A user may click more than one item and I would want to save all checked items into another table. I have been able to give each checkbox a unique id . Would anyone be able
2018 Oct 29
4
PostgreSQL port accessible even though it should be blocked by firewall
Hi, this puzzles me: On one of our developer workstations, all ports with the exception of SSH are closed: $ firewall-cmd --list-all public (active) target: default icmp-block-inversion: no interfaces: eno1 sources: services: ssh dhcpv6-client ports: 22/tcp protocols: masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: $ but still port
2006 May 18
3
How to call controller from a div
Hi guys, it''s me again, Just wanted to ask, what technique can you use to call a def inside your controller while clicking on a div? thanks, Bing -- Posted via http://www.ruby-forum.com/.
2006 May 19
2
Checking div generation technique
Hi guys, just wanted to ask, on the onset of our page, we generate several div''s. What we noticed on an intermittent connection is that several divs don''t get to generate all the div''s sometimes so we had to reload our page. Would you have any technique on how we can do this? thanks bing -- Posted via http://www.ruby-forum.com/.
2006 Apr 28
2
Trying to turn params field into a variable
Hi guys, I have another question, we have this line on our .rb code: @variable = params [:user][:bird] I need to be able to change the 2nd field into a variable because it is a changing valuename, I was wondering if you had any trick for that. Meaning I need to make [:bird] into [:dog] or [:cat]... It''s proven really tricky for me to get it to change I wonder if you guys had any
2006 May 17
9
Render No Layout?
Hi guys, Am having a problem. I have this def in my index controller that works like this: def do_something $a = variable1 $b = variable2 $c = variable3 $d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'', ''#{$a} - #{$b}''); \n </script>" $trigger = "1" render(:partial =>
2006 May 30
11
Another String Manipulation Exercise
Hi guys, And I thought it wasn''t a problem. Here''s my string "/var/www/vhosts/mysite.com/httpdocs/public/file/mypic.jpg" How do i take out all the text that comes before "mypic.jpg"? Trickier than I first thought. TIA, Bing -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
8
Sans Periodically call remote-- possible?
I was wondering, imagine this situation. You have browser 1 on machine 1 and browser 2 on machine 2. I created a div so that I can update certain elements on the database. Is it possible to have the data rendered on browser 2 using ajax but without using the periodically call remote? Is it possible to use the submit event from browser 1 to trigger browser 2 to update? thanks, Bing --
2006 Aug 07
0
lighttpd path error
Hello list, I''ve been developing a rails app using webrick as my server. I''m trying to change my server over to lighttpd as I am now attempting to deploy on a host that uses lighttpd. I had an older version of lighttpd installed and could never get it running correctly with my app. Preparing for deployment I decided to get lighty working and after poking around a bit I
2006 Jun 08
1
Using hidden fields to pass values
Hi guys, Another question from a newbie. I need to update a div on my page which gets updated regularly. So what I''ve done is to create a hidden field which technically just contains the user_id. This field doesn''t change. I was planning of pulling that text field user_id data and putting it into params but it keeps on giving me a nil value. Is there a technique I could
2005 Dec 22
1
Lighttpd/rails deployment error
I have been trying to get Lighttpd working.... we have been using webrick, but want to move to a production quality web server. I followed the instructions found here : http://brainspl.at/pages/rails_stack We are developing on windows and deploying to Fedora Linux. We''re using rails 1.0. The build actually happens on the windows box and using ant transfers the code to the Linux box.
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
2010 Jan 16
0
Postgresql error
Hello, I successfully dumped the database in postgresql. Now I want to connect my rails application to the postgresql database, able to start the server, but I am getting this error when I browse the application from the browser. script/server => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 Sphinx cannot be found on your system. You may need to configure the
2006 Apr 02
2
Problem with lighttpd on mac
Hi, I followed the instructions I founded here : http://developer.apple.com/tools/rubyonrails.html I can run a small RoR application with webrick, everything is fine in this case. But when I try to use lighttpd i can access http://localhost:3000/images/rails.png for example but not a dynamic page. In the latter case I dont get any page, the browser is just waiting infinitely. If I force