~/.bash_profile does not work.
It’s actually /.bashrc.
So for me. I do this:
ln -s /.bashrc ~/.bash_profile
~/.bash_profile does not work.
It’s actually /.bashrc.
So for me. I do this:
ln -s /.bashrc ~/.bash_profile
Goals:
You’ll have to follow other sites on installing gems, etc. This Site has some very useful info, namely you need to symlink mongrel_cluster_ctl and ruby to /usr/bin/ (you’ll have to do a find / -name mongrel_cluster_ctl). Mine was here: /usr/local/ruby/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/bin/mongrel_cluster_ctl
So I linked into /etc/init.d/ like so:
ln -s /usr/local/ruby/lib/ruby/gems/1.8/gems/mongrel_cluster-1.0.5/bin/mongrel_cluster_ctl /etc/init.d/
chkconfig is not installed on westhost, so you have to do the init.d link/scrips the old fashioned way:
ln -s /etc/init.d/mongrel_cluster_ctl /etc/rc.d/rc3.d/S81mongrel_cluster
ln -s /etc/init.d/mongrel_cluster_ctl /etc/rc.d/rc3.d/K19mongrel_cluster
K = Kill, the number means the order
S= Start, “”