Displaying 20 results from an estimated 28 matches for "duncandavidson".
2006 Jul 05
5
ok, lightTPD is installed... how do i use it.
...stall ruby on rails to my mac:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
everything works great using the script/server command, but isn''t that
still using WEBrick? how do i server my apps with lightTPD?
i tried following the instructions given here:
http://duncandavidson.com/essay/2005/12/railsonlighty
but have had no success so far. when i try running
sudo lighttpd -t -f /etc/lighttpd/lighttpd.conf
i get the following output:
2006-07-05 15:46:26: (plugin.c.165) dlopen() failed for:
/usr/local/lib/modaccesslog.so dlopen(/usr/local/lib/modaccesslog.so,
1): image...
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel
and apache and I looked into lighttpd and fastcgi and found both to be
too time consuming and not well enough documented for what I''m doing.
My question is, how do I set up apache and fcgid to actually work? I got
apache installed. I think I got fcgid installed (I read somewhere all I
have to do is move the
2006 Jun 13
4
mysql gem not buidling on OSX 10.4.6
When I `sudo gem install mysql` I get the following:
--snip--
$ sudo gem install mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)
2006 Jun 05
25
RoR on mac OS tiger 10.4.6 latest n greatest?
hi, ive had some trouble trying to install RoR on tiger. during my
google search i came across many different installs.. some using apache,
lighttpd, or webricks for the web server,,,,,some are using sqlite, or
mysql....now ive tried all and it came to a point where im sure i had
multiple libraries etc...installed and everything was not working right
compared to my ubuntu install of Ror. so
2007 Feb 04
2
Beginner Q: Keeping the Ruby on Rails platform up to date.
Hello, I recently installed the ruby on rails framework from this
tutorial:
http://www.hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger
So, I installed:
Ruby on Rails 1.1
Ruby 1.8.4
LightTPD 1.4.13
FastCGI 2.4.0
RubyGems 0.9.0
Readline 5.1
PCRE 6.6
FastCGI and MySQL bindings
I figured out how to keep my ruby on rails up to date by using the
command "gem update rails
2006 Jun 07
7
Tunneling in capistrano twice
Hi there,
The default recipe expects you to be able to access your web server
directly from your local machine.
On our web server, for security purposes, it is only possible to ssh
to it through one particular ip (which is also a remote machine.)
The capistrano source is so compact and tidy it looks very hackable.
But rather than messing around I thought I''d ask first if anyone else
2007 May 27
3
Mac setup issue
I just installed an updated set of tools (ruby, rails, etc) under my
home directory for my mac 10.4, since I did not want to disturb the
pre-installed environment in case something in the system relies on
that. The problem I have is that the rake command is still using the
old stack rather than the new one, even though the new rake is there.
I presume the ''rake'' command itself
2006 Feb 24
4
lighttpd and Apache .. will they play together?
Can someone point me to a tutorial or web example of doing this ...
I want to have a site that is normally pure content served via Apache and I
want to set up a Rails app on the same box that is served via lighttpd. Now
I want the Apache site to be able to retrieve formatted pages for MySQL
database queries by the Rails app. I will also be using ActionMailer under
the Rails app.
How can I
2006 Jan 04
14
Rails on Tomcat or JBoss?
Hi all,
The Rails book talks about running Rails under Apache, but is there a
(relatively) easy way to deploy it to either Tomcat or JBoss? Is the CGI
servlet the only option?
Thanks,
Ken
--
Kenneth A. Kousen, Ph.D.
President
Kousen IT, Inc.
<http://www.kousenit.com> http://www.kousenit.com
<mailto:ken.kousen@kousenit.com> ken.kousen@kousenit.com
2006 Feb 16
4
Lost while trying to deploy rails app on apache
...''s archives and through
the wiki trying to get something working. Briefly, I''ve tried the
following two setups:
1) Proxying my apps through apache to lighttpd instances. James Duncan
Davidson''s excellent Apache2 and Rails on Lighty pages served as a
reference: <http://duncandavidson.com/essay/2006/01/railsonapache> and
<http://duncandavidson.com/essay/2005/12/railsonlighty>
2) Grafting my apps by symlinking /public to a location in the
directory root and then building FCGI and configuring Apache. I used
these two wiki pages as guides:
<http://wiki.rubyonrails.org/r...
2006 May 10
10
Can''t Install Rails with Ruby Gem Dependencies, OS X
Hello Community:
I''m a brand new user of Ruby on Rails, and am having a great deal of
trouble compiling from source. I''m using the tutorial at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
to complete the install.
Readline and Ruby installed just fine, and the Ruby Gems appeared to.
But when I tried to sudo gem install Rails --include-dependencies,
2006 Jan 12
0
Apache proxy + lighttpd + rails
Hi list,
I''m having another problem deploying my Rails application. I set up
the servers and apache2 configuration using the excellent essay by
Duncan Davidson:
http://duncandavidson.com/essay/2006/01/railsonapache
However, he describes proxying using a subdomain. What if I want to
proxy the requests of www.domain.com/railsapp/<url> to
www.domain.com:8888/<url> and reverse it back the correct way?
The first part works, the requests are successfully routed to
www.d...
2006 Jul 19
2
best practice deployment
what is the best method to deploy from a development machine to production
when you need slightly different files for each mode
do you use TWO files such as db.yml.dev and db.yml.prod
and use capistrano to deploy one or the other to database.yml
or is it better to have one file
and use conditions in your file such as
<% if ENV[''RAILS_ENV''] = "production" %>
2006 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks,
I''ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure
which way is the best.
Should I go for Fink? OpenDarwin? Or just install them directly on mac.
What about something in Fink, something in OpenDarwin and something directly?
I''m a bit confused, may you please give me a
2006 Jun 29
13
Ideal Ruby on Rails Development Environment on Linux
Hello,
I''m not a developer myself, but I work for a hosting company that
tries to cater to the needs of developers and basically right now I am
trying to create a hosting platform that will be perfect for ruby
developers. This is a linux VPS service and I create the base templates
to make the system look however i want it after install.
I was hoping some of you could give me
2006 May 25
3
No joy for newbie Capistrano user
...llo,
I tried taking Capistrano out for a test drive and I can''t even get out of
the garage.
I am following the instructions here:
http://manuals.rubyonrails.com/read/chapter/98#page262
As well as Duncan Davidson''s Deploying Rails with Lighty:
Deploying Rails with
LightTPDhttp://duncandavidson.com/essay/2005/12/railsonlighty
Specifically, when I do:
rake remote:exec ACTION=setup
I get this error:
loading configuration
/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
* executing task setup
* exec...
2006 Jul 01
5
how can i set the default protocol of WEBrick to https?
On my server, stunnel is running to accept HTTPS (port 443) connection
from clients and redirect them to localhost:80. And on port 80 of my
server, WEBrick is running to accept HTTP connection.
In such situation, WEBrick generates URLs beginning with ''http://'',
not with ''https://''. So one can access to ''https://myserver/'', but
when he click on
2006 Jun 06
2
Running a script on my server
Hello, I am rather new to Ruby On Rails but have it installed on my computer
and have created a test project that works. My next objective is to get the
script up and running on my server for public access.
I am getting hosted from a private host. The host does support Rails, and
does have it up and running currently. Well, that''s all the information I
have. I have Cpanel with shell
2006 Nov 21
4
Embedding Rails in a Cocoa app.
Hi,
Has anyone tried to embed rails into a Cocoa app? I have got this
working to a very primitive point using RubyCocoa. After about half an
hour of playing I was able to get WEBrick to serve the rails starter
page inside of a Cocoa app, but that is as far as I have got.
I have an idea for a client/server app where the server is a Cocoa
application that embeds WEBrick (or another server solution
2006 Jun 06
5
Mac OSX
I havew installed Ruby and gems on Mac OSX but when i try ti install
Rails i get messages
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (ArgumentError)
syntax error on line 23, col 0: `<p>''
Can anyone advise as to reason ? I an using OS 10.4