2009/12/4 Steven Elliott Jr <stevenelliott0...@gmail.com>:
> Macs are by fat the easiest way to get going in rails/ruby because
> it's there out of the box. A few gem commands and you're rockin' and
> rollin'. Windows and Linux are easy to set up too but require a bit
> more setup work.
>
> Ubuntu is good but you have to use the stuff in the repositories by
> default which is ok but not as good as issuing gem commands.

Not true, it is easy to install so that the gem commands can be used
in the normal way.  I use this script to install the lamp stack, mysql
ruby and rails (on ubuntu 9.10), it does not get much easier than
this.  It assumes that there is a folder ~/downloads

# this installs the lamp stack, the ^ is important. See
https://help.ubuntu.com/community/Tasksel
sudo apt-get install lamp-server^
sudo apt-get install libapache2-mod-auth-mysql phpmyadmin

# this derived from
http://www.hackido.com/2009/04/install-ruby-rails-on-ubuntu-904-jaunty.html
# bits for building stuff
cd ~
sudo apt-get install build-essential
# ruby and mysql stuff, this assumes that the lamp stack with mysql
has already been installed
sudo apt-get install ruby ri rdoc libmysql-ruby ruby1.8-dev irb1.8
libdbd-mysql-perl libdbi-perl libmysql-ruby1.8 libmysqlclient15off
libnet-daemon-perl libplrpc-perl libreadline-ruby1.8 libruby1.8
rdoc1.8 ri1.8 ruby1.8 irb libopenssl-ruby libopenssl-ruby1.8
libhtml-template-perl
wget -N  -P ~/downloads
http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
tar xvzf ~/downloads/rubygems-1.3.5.tgz
cd rubygems-1.3.5
sudo ruby setup.rb
cd ..
rm -rf rubygems-1.3.5
echo "making symlinks - not sure if this will always be necessary,
must be done if gem -v does not work"
sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem
sudo ln -s /usr/bin/ruby1.8 /usr/local/bin/ruby
sudo ln -s /usr/bin/rdoc1.8 /usr/local/bin/rdoc
sudo ln -s /usr/bin/ri1.8 /usr/local/bin/ri
sudo ln -s /usr/bin/irb1.8 /usr/local/bin/irb
# rails latest version
sudo gem install rails

Colin

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to