# install mysql if you dont have already installedsudo apt-get install mysql-server mysql-client libhtml-template-perl mailx dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca# install ant and jdksudo apt-get install ant sun-java6-jdk# install jrubymkdir softwarecd softwarewget http://dist.codehaus.org/jruby/jruby-bin-1.1.5.tar.gztar xvfz jruby-bin-1.1.5.tar.gzln -s jruby-1.1.5 jrubyexport PATH=$PATH:$HOME/software/jruby/bin# install the version of rails wanted by jrubyjruby -S gem install jruby-openssljruby -S gem install rails# list … Continue reading jruby rails installation on ubuntu interpid
Category: Ruby on Rails
upgrading rails version
Here are the simple steps to be followed while upgrading rails version to use.# Install rails version1. gem install rails -v == gem install rails 2.3.3# Upgrade environment.rb for new version2. RAILS_GEM_VERSION = '' unless defined? RAILS_GEM_VERSION == RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION# Upgrade necessary files for the new version3. rake rails:upadte# Start server4. … Continue reading upgrading rails version
Migrating project from rails 2.1.0 to edge rails 2.3.3
I wanted to migrate my project from rails 2.1.0 to rails 2.3.3so, i performed following steps, but it shows me memcached-client error.vi config/environment.rb# Specifies gem version of Rails to use when vendor/rails is not presentRAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSIONruby script/serverIt shows me error `install_memcached': 'memcache-client' client requested but not installed. Try 'sudo gem install … Continue reading Migrating project from rails 2.1.0 to edge rails 2.3.3
