Had a few issues getting Webistrano running on my laptop running Ubuntu 9.x - here are my notes, hopefully will help someone else out ;)
Install RUBY using 'apt-get' with these others...
-------------------------------------------------------
sudo apt-get install ruby
sudo apt-get install ruby1.8-dev
sudo apt-get install rake
sudo apt-get install rubygems
sudo apt-get install libopenssl-ruby
Get the source of Ruby, to use the OPENSSL required by webistrano
-----------------------------------------------------------------
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
then goto :
(4) cd extracted dir/ext/openssl
(5) ruby extconf.rb
(6) make
(7) sudo make install
Edit Webistrano configs for the particular enviroment
-------------------------------------------------------
in the database.yml =>
ubuntu mysql socket is :
/var/run/mysqld/mysqld.sock
Edit Webistrano install procedures
-------------------------------------------------------
CREATE Database via RAKE :
# cd webistrano
# RAILS_ENV=production rake db:migrate
START:
# cd webistrano
# ruby script/server -d -p 3000 -e production
---->
goto: http://localhost:3000
all good.
SEE ALSO :

Post new comment