Re: Installing Rails, Apache, Passenger and MySQL Client on Ubuntu

Why all the hassle installing this manually, I use the ubuntu-machine gem (using capistrano)to setup a server / rails environment.

I've forked the project, because I needed some adjustments, let me know if there are any issues.
http://github.com/rachid/ubuntu-machine

the recipe I use is an example to work from a windows machine
http://gist.github.com/312042

Re: Installing Rails, Apache, Passenger and MySQL Client on Ubuntu

Cool, I'll have to test it out in a Ubuntu VM in Fusion sometime. smile

Re: Installing Rails, Apache, Passenger and MySQL Client on Ubuntu

Why not use sudo su once rather than typing on each command ?

Re: Installing Rails, Apache, Passenger and MySQL Client on Ubuntu

Hi

Thanks for a great tutorial.  If I was doing this today on Ubuntu 10.04 what would I need to change? i.e. to get current versions of Ruby, MySQL, Gems etc?

Thanks in advance for your help.

Purvez Desai

25

Re: Installing Rails, Apache, Passenger and MySQL Client on Ubuntu

I got this error when installing mysql.

Ubuntu server 10.10

What could I do to solve it?


# gem install mysql
Building native extensions.  This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...

No definition for next_result
No definition for field_name
No definition for field_table
No definition for field_def
No definition for field_type
No definition for field_length
No definition for field_max_length
No definition for field_flags
No definition for field_decimals
No definition for time_inspect
No definition for time_to_s
No definition for time_get_year
No definition for time_get_month
No definition for time_get_day
No definition for time_get_hour
No definition for time_get_minute
No definition for time_get_second
No definition for time_get_neg
No definition for time_get_second_part
No definition for time_set_year
No definition for time_set_month
No definition for time_set_day
No definition for time_set_hour
No definition for time_set_minute
No definition for time_set_second
No definition for time_set_neg
No definition for time_set_second_part
No definition for time_equal
No definition for error_errno
No definition for error_sqlstate
Installing RDoc documentation for mysql-2.8.1...
No definition for next_result
No definition for field_name
No definition for field_table
No definition for field_def
No definition for field_type
No definition for field_length
No definition for field_max_length
No definition for field_flags
No definition for field_decimals
No definition for time_inspect
No definition for time_to_s
No definition for time_get_year
No definition for time_get_month
No definition for time_get_day
No definition for time_get_hour
No definition for time_get_minute
No definition for time_get_second
No definition for time_get_neg
No definition for time_get_second_part
No definition for time_set_year
No definition for time_set_month
No definition for time_set_day
No definition for time_set_hour
No definition for time_set_minute
No definition for time_set_second
No definition for time_set_neg
No definition for time_set_second_part
No definition for time_equal
No definition for error_errno
No definition for error_sqlstate