Webistrano install notes for Ubuntu 9.x

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 :

http://labs.peritor.com/webistrano/wiki/Install




Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.
Bg