• Everyday posts 23.12.2011

    Установка RoR c MySQL на чистую Ubuntu 10.10
    RoR+Ubuntu+MySQL logo

     

     

     

     

    sudo apt-get install curl
    bash -s stable < rvm pkg install openssl
    echo ‘[[ -s "$HOME/.rvm/scripts/rvm" ]] && . “$HOME/.rvm/scripts/rvm” # Load RVM function’ >> ~/.bash_profile

    Install curl (to install rvm) and then install RVM – Ruby Version Management and add rvm to bash profile

    rvm pkg install iconv
    rvm install 1.9.2-p290 -C –with-openssl-dir=$HOME/.rvm/usr,–with-iconv-dir=$HOME/.rvm/usr
    rvm use 1.9.2 –default

    Install iconv (need for rails correct work) and ruby 1.9.2-p290

    sudo apt-get install mysql-server
    sudo apt-get install libmysqlclient-dev
    gem install mysql2 — –with-mysql-dir=/etc/mysql/

    Install MySQL server, mysql dev libraries (enables correct ssl work) and mysql gem

    sudo apt-get install libsqlite3-dev

    Install sqlite developer libraries (for testing or develop purposes, you can scip this step)

     bundle install

    (gems for rails)

    gem install rails

    You can specify version of installing rails

    Posted by Orky @ 23:06

    Tags: , , , , ,

  • Leave a Comment

    Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

loading

Polls

How Is My Site?

  • View Results

Loading ... Loading ...