05 Apr'11
Ruby on Rails 3 installation on Debian 6 Squeeze
apt-get install libsqlite3-dev curl git build-essential zlib1g-dev libssl-dev bash << ( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi rvm install 1.9.2 rvm --default ruby-1.9.2 gem install rails rails new testapp
в $HOME/.profile
export PATH=$PATH:/var/lib/gems/1.8/bin
comment out sqlite deps in Gemfile
then run rails server: rails s
UPD 02.03.2012 obsolete replacement:
Package libreadline5-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is …
Category: debian, development, rails