2009/10/15 Sapna Ruby <[email protected]>: > > >>> >>> Even now, I am googling out for the compatible ruby with my current >>> version of rails : 2.3.4. >>> >>> I am still debating whether to downgrade my ruby version to 1.8.7, >>> meaning I have to re-install the suitable gems :( >> My suggestion is you downgrade ruby to a widely known stable version >> like 1.8.7, and install rubygems from your package manager (RPM, >> either from console or from any fancy GUI, I really don't know RH, I >> only tried it a few years ago) >> >> After that, install rails via gem (which will install all it's >> dependencies) >> Everything after these two steps, is application dependent. >> >> -- >> Leonardo Mateo. >> There's no place like ~ > > > Can you please point to me one standard site where I can get the ruby > and compatible RAILS GEMS for linux? curently I am looking at > http://wiki.rubyonrails.org/getting-started/installation/linux > > If I download 1.8.7 ruby version, can I still have rails 2.3.4??? > Please reply..!!!
Yes, 1.8.7 is fine for 2.3.4. This is the script I use to install RoR and mysql on Ubuntu. The download path would need adjusting. If you want passenger as well have a look at the hackido site mentioned below. # this derived from http://www.hackido.com/2009/04/install-ruby-rails-on-ubuntu-904-jaunty.html # bits for building stuff sudo apt-get install build-essential # mysql and rubyy sudo apt-get install ruby ri rdoc mysql-server 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 mysql-client-5.0 mysql-common mysql-server-5.0 rdoc1.8 ri1.8 ruby1.8 irb libopenssl-ruby libopenssl-ruby1.8 libhtml-template-perl mysql-server-core-5.0 wget -N -P /home/colinl/downloads http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz tar xvzf /home/colinl/downloads/rubygems-1.3.5.tgz cd rubygems-1.3.5 sudo ruby setup.rb cd .. rm -rf rubygems-1.3.5 # make 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, 2.3.2 and 2.3.3 sudo gem install rails --no-rdoc --no-ri sudo gem install rails --version 2.3.2 --no-rdoc --no-ri sudo gem install rails --version 2.3.3 --no-rdoc --no-ri # use sudo gem install <gemname> to install others Not quite as simple as InstantRails I admit, but not difficult. It may not work for all of course. 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

