More and more Rails developers are finding out that deploying a Rails application isn’t as simple as upload and rename; Rails apps work best when running all the time, and many Rails programmers are moving from traditional, shared hosts, like Dreamhost, to virtual private servers, like Rimuhosting, which allow them full control (and responsibility) of production servers.
Continua”Time for a Rails Grown up Server Your Mama would be proud”
Tag: — tepezcuintle @ 22:09
from this guide.
http://www.redhat.com/magazine/025nov06/features/ruby/
Installing Ruby on Rails
create the directory where you will be downloading and building the software.
[mmaldonado@webstack ~]$ mkdir ruby-on-rails
[mmaldonado@webstack ~]$
How to get Ruby.
The stable release ruby-1.8.5.
The CVS branch for the development version is available. See CVS Repository Guide
URL ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.5.tar.gz
change into the build directory and download ruby
Continua”Redhat or Centos Ruby on Rails Setup from Scratch”
Tag: — tepezcuintle @ 17:35
Expresso 2.1C - 328 Kb
Learning .NET Regular Expressions with Expresso
Did you ever wonder what Regular Expressions are all about and want to gain a basic understanding quickly? My goal is to get you up and running with a basic understanding of regular expressions within 30 minutes. The reality is that regular expressions aren’t as complex as they look. The best way to learn is to start writing and experimenting. After your first half hour, you should know a few of the basic constructs and be able to design and use regular expressions in your programs or web pages. For those of you who get hooked, there are many excellent resources available to further your education.
What the Heck is a Regular Expression Anyway?
Continua”Regular Expressions with .NET”
Tag: — tepezcuintle @ 17:26
Searching Files on UNIX
On MPE you can display files
using the :Print command, Fcopy, Magnet,
or Qedit (with pattern
match searches). On HP-UX
you can display files using cat and even better using
more (and string search using the slash “/” command), and
Qedit (including searches of $Include files, and so on),
but if you really want to search for patterns of text
like a UNIX guru, grep is the tool for you.
Continua”Regular Expression on Linux”
Tag: — tepezcuintle @ 22:34
Ok so I had to compile PostgreSQL at work and installed the most recent one. 8.2.5 and compiled it with perl, ssl support
I followed the instructions on the install file. I then created a postgres user and initialized the db and also
installed tsearch2 and ltree
everything worked fine except that when importing the data I got a few errors related to tsearch2 there is function that the new tsearch2 that is on 8.2.5 is missing so data from our backup can’t b e imported because that function does not exist.
So basically this is something the developers have to figure out if they want to stay with the old version of postgres or upgrade to the new version and still get the errors of the new tsearch2
Things I had to do copy a init.d/ script to start the db automatically the script was inside the /contrib/start-scripts folder then I copied the script and put it inside my /etc/init.d/ folder and changed permissions to execute and then I used chkconfig to make it start.
I also had to add paths to my /etc/profile so that the shell can find the path to the psql binaries and other cool tools.
I guess that is basically what I had to do to upgrade to the new postgres.
There wasn’t anything else special that I had to go , Oh I remember I had to install readline-devel because the .configure script was complaining that I didn’t have readline installed. I had the readline RPM installed but the configure script was looking for files included only on the readline-devel
so I did a yum install redline-devel
Later fellow penguin readers.
Tag: — tepezcuintle @ 22:23
Monday, March 5. 2007
I haven’t seen a lot of talk about this problem, but as I have seen the question pop-up recently among even some well-known postgresql users, I thought maybe I ought to write some notes to help out future generations and all that. Basically it all revovles around the following errors when upgrading an 8.1 system with tsearch2 into an 8.2 system.
Continua”tsearch2 with Postgresql 8.2 errors”
Next Page »