Displaying 20 results from an estimated 300 matches similar to: "Rails Gem Not Installing Properly?"
2006 Jan 15
7
Dreaded Internal 500 Error on DreamHost.
Hey guys,
I often get this problem the first time I try to deploy a rails app
on dreamhost and I''m not sure what the cause is. Basically, I have
an app that''s running fine on my local machine. I''ve uploaded the
app, configured and migrated to the latest version of the db, and set
all of the necessary directories to 755. But when I run dispatch.rb
in ssh or
2005 Dec 14
3
Advanced routing question.
Hello All,
I''m making a quick application that tracks outgoing links to referral
sites. I need to track the user and the url they went to so the
easiest way would be to take the entire url as a parameter and log
that into the database. I was wondering if I could do something like
this with routing:
http://www.example.com/user/jump/http://www.myvendor.com/referral.php?
2006 Feb 10
4
Handling a relationship between users and newsletter subcriptions.
Hey Everyone!
I have a newsletter system that contains a multitude of different
newsletters. In this case three but the system allows the user to
add more. Every user can be subscribed to any amount of given
newsletters. So what I did was I created a user model, newsletter
model, and subscription model.
The subscription model belongs to one user and one newsletter.
However,
2005 Dec 19
1
Is there a guide for using ERBSQL?
I''m not sure I completely understand the benefits of using ERBSQL or
how to use it. Google searches have proved it to be rather
undocumented.
From what I understand the embedded ruby sql allows you to write sql
that''s easier to deploy via the create_db script and also more
portable to postgres, myslq, or whatever.
But what I can''t find is a resource that
2005 Dec 25
5
understanding session fixation attacks
is there a way that, our application can understand wheteher the session id
sent from the browser is forged or created by rails? I understand that if
the attacker guesses session id, theres nothing we can do about it; but can
we understand if he/she is trying to guess by creating random session ids.
_______________________________________________
Rails mailing list
2005 Oct 03
3
WriteBoard for Programmers? (code support)
Anyone think it''d be useful to make a WriteBoard type application
that supported ruby, html, etc. and allowed programmers to
collaborate on writing scripts or just code in general and track each
others changes? Just a thought.
- Jim
2003 Jun 11
3
more on PXELinux confiuration file woes
I performed an experiment in which I had dhcpd specify a named file ("foo")
instead of
one based on a client's MAC address. Lo and behold, the same problem
occured. The PXE
stack requested and was served the right file, the kernel loaded as did the
initrd. But again, the
boot sequence stopped at "Ready."
Keep in mind that the contents of the file are the same as was in the
2005 Nov 09
3
AJAX form Parameters jumbled.
Sorry for the repost but I originally posted this as a response to
another thread. I have a text field called ''phrase'' but the
parameter values always come up as nil and when I check the
parameters dumped in the error message I do not get the normal hash
you''d expect. Instead of something like
{"phrase"=>"jim"}
I get:
2005 Nov 08
2
Ruby equivalent of PHP Explode / Implode
Anyone know what the Ruby equivalent of PHP''s explode and implode are
for arrays?
- Jim
2005 Dec 15
6
Dynamic Text Replacement
I noticed there are a lot of PHP based dynamic text replacement
examples out there such as:
http://artypapers.com/csshelppile/pcdtr/
Is there anything like this for Ruby / Rails? I know there''s always
SiFR but that method is often frustrating because I''ve noticed
significant slow down in page load time even on pages that use it
sparingly.
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 Mar 22
8
Premature end of script headers: dispatch.cgi
Hi
I am running ruby 1.8.4 and rails 1.0.0 with Apache 2. I made a simple
rails application called demo and also created a controller called say
and an action called hello which is working fine using webrick. To run
it under Apache I created a symlink demo1 which is linked to the
demo/public directory. If I run it using www.example.com/demo1 then I
get the "Rails- Welcome Aboard"
2012 Feb 18
1
Gluster NFS and symlink
Hi list,
Is there a configuration for gluster to have symlinks working with gluster nfs exports?
When I try to create a symlink on a glusterfs nfs mount I get:
ln: creating symbolic link `test' to `httpdocs': Unknown error 526
From nfs.log:
[2012-02-18 01:27:27.541155] E [client3_1-fops.c:173:client3_1_symlink_cbk] 0-dcm-gluster-backup1-client-0: remote operation failed: Operation not
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
2009 Jan 01
1
gem_original_require no such file to load -- /var/www/vhosts/gophotoswap.com/httpdocs/current/config/environment ( LoadError )
** Daemonized, any open files are closed. Look at /var/www/vhosts/
gophotoswap.com/httpdocs/shared/pids/mongrel.8000.pid and /var/www/
vhosts/gophotoswap.com/httpdocs/shared/log/mongrel.8000.log for info.
** Starting Mongrel listening at 127.0.0.1:8000
** Initiating groups for "mongrel":"mongrel".
** Changing group to "mongrel".
** Changing user to
2014 Oct 28
3
find troubles
Hey guys,
Sorry not sure what's wrong with this statement. I've tried a few
variations of trying to exclude the /var/www directory.
[root at 224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name www \)
/usr/lib/httpd
/usr/lib64/httpd
/var/www/vhosts/johnnyenglish/httpdocs
/var/www/lpaddevbkp/alchemist/namespace/system-config-httpd
/var/www/lpaddevbkp/httpd
The
2006 Sep 30
3
Domain setup w/ RoR & Plesk
Hi all. I have Rails installed on a dedicated virtual server that''s
running Plesk.
I''ve been told by my hosting service that removing or altering Plesk''s
default domain root folder (httpdocs) is likely to muck things up.
So what''s my best option for setting up rails apps, given that I can''t
create them as the domain root?
2006 Apr 12
13
Public Directory not accessible
Been trying to deploy my rails app on Redhat ES3, Apache2, FastCGI with
Plesk all day. Fun stuff. Basically, the issue that I can not solve has
to do with access to /public. None of my images, javascripts, etc. are
working in the app. Trying to access any of these results in a 404 (or
routing error if in developer mode). Oddly, the 404 file it displays is
-- you guessed it -- in fact *in*
2006 Jul 27
2
rsync help
Hi,
I am using rsync to backup from my server to a backup server that has been
setup.
I can back up a directory with numerous files and folders and restore them
but I have not learned how to "exclude" a specific folder from the rsync
backup that runs via cron nightly.
I have tried these:
rsync -av -cache/ -e ssh /home/httpd/vhosts/domain.com/httpdocs/
name at
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat
server under Apache 2 / fcgi... Every time I try to load the public
home page, I get this in my error log:
[Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI:
comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/
public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)