Ruby on Rails on Oracle
Here is a simple tutorial to get rails working with oracle.
Posted in Ruby | no comments |
Deploying Ruby on Rails
Here is another article about deploying rails apps. This time it uses apache and fastCGI.
Posted in Linux, Ruby, Web | no comments |
Rails 1.1: The Forgotten Features
Here are a few of the smaller changes that made it into Rail 1.1. They maybe small but the look very useful.
Posted in Ruby, Web | no comments |
Rails 1.1 is Out
I just checked my mail and Rails 1.1 is out. Read DHH’s post for more info.
Posted in Ruby, Web | no comments |
A new rails based web forum
A few minutes ago I stumbled across the Rails Recipes forum. Then I saw a link to it’s code called opinion. Here is a overview from its trac.
Opinion is a Ruby on Rails based Forum system that tries to approximate a “blog <-> comment” system rather than imitating busy and noisy traditional forum solutions that already exist.
Posted in Ruby, Web | no comments |
Setting up a rails app with lighttpd on FC5
Just a quick tutorial to get your typo blog running.
Install Ruby:
- yum install ruby
- yum install ruby-libs
- yum install ruby-devel
- yum install ruby-docs
- yum install ruby-irb
- yum install ruby-mysql
- yum install ruby-rdoc
- yum install ruby-ri
Download and install rubygems
- wget http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz
- tar -zxvf rubygems-0.8.11.tgz
- cd rubygems-0.8.11
- ruby setup.rb
Install rails:
- gem install -r rails -y
Install lighttpd:
- yum install lighttpd
- yum install lighttpd-fastcgi
Download and install fastCGI:
- wget http://www.fastcgi.com/dist/fcgi-2.4.1-SNAP-0311112127.tar.gz
- tar -zxvf fcgi-2.4.1-SNAP-0311112127.tar.gz
- cd fcgi-2.4.1-SNAP-0311112127
- ./configure
- make
- make install
Install the ruby binding for fastCGI:
- gem install fcgi
Create the lighttpd config file:
- /etc/lighttpd/lighttpd.conf:
server.modules = ("mod_rewrite", "mod_accesslog", "mod_fastcgi")
server.document-root = "/srv/www/lighttpd/"
server.port = 80
server.username = "lighttpd"
server.groupname = "lighttpd"
server.pid-file = "/var/run/lighttpd.pid"
accesslog.filename = "/var/log/lighttpd/access_log"
server.errorlog = "/var/log/lighttpd/error_log"
server.indexfiles = ( "index.html" )
mimetype.assign = (
".css" => "text/css",
".gif" => "image/gif",
".html" => "text/html",
".jpeg" => "image/jpeg",
".jpg" => "image/jpeg",
".js" => "text/javascript",
".pdf" => "application/pdf",
".png" => "image/png",
".txt" => "text/plain",
)
$HTTP["host"] == "www.rlb3.com" {
server.document-root = var.data + "/blog/public"
url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" )
server.error-handler-404 = "/dispatch.fcgi"
fastcgi.server = ( ".fcgi" =>
( "localhost" =>
( "min-procs" => 5,
"max-procs" => 5,
"socket" => "/tmp/www.fcgi.socket",
"bin-path" => var.data + "/blog/public/dispatch.fcgi",
"bin-environment" => ( "RAILS_ENV" => "production" )
)
)
)
}
Start lighttpd:
- service lighttpd start
This article does not cover setting up the rails app itself. I assume you know how to setup your favorite database with rails.
Posted in Linux, Ruby, Web | no comments |
Rails 1.1: Release Candidate 1 available
Posted in Ruby, Web | no comments |
Subversion Primer for Rails projects
Here is an article on how to use subversion with rails.
Posted in Ruby, Web | no comments |
lighttpd 1.4.8 and multiple rails-apps
From the blog post:
lighttpd 1.4.8 was just released and next to a pile of bugfixes we added a new option to fastcgi.server to allow a simple setup of multiple rails apps in one virtual host.
Posted in Ruby, Web | no comments |
Installing Ruby on Rails with Lighttpd and MySQL on Fedora Core 4
Here is an article about using lighttpd with rails on FC4. So if you’ve been curious about lighttpd here’s your chance to try it out.
Posted in Linux, Ruby, Web | no comments |
Older posts: 1 2
