Salve a tutti , vi aggiorno su come ottenere una macchina rails3 + ruby 1.9.1 funzionate Partendo dalla turnkey core basta dare i seguenti comandi in shell apt-get update apt-get install build-essential curl libxml2-dev sqlite3 libsqlite3-dev locate git-core libssl-dev openssl wget mkdir /opt/src cd /opt/src/ curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p376.tar.gz chmod 775 /opt/src/ tar xzvf ruby-1.9.1-p376.tar.gz cd ruby-1.9.1-p376 ./configure make make install ruby -v gem update -- system gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n gem update --system gem install rails --pre gem install sqlite3-ruby mkdir /var/www chmod 775 /var/www/ cd /var/www/ rails topscore cd topscore/ rails generate scaffold game name:string rake db:migrate rails server Questa rimane comunque una bozza , per chi volesse aggiungere, correggere o commentare e' il benvenuto Simone
on 2010-03-01 17:39
on 2010-03-01 19:15
ottima dritta ;) magari si potrebbe installare nel prefix /usr/local/ oppure in /opt per mantenere il sistema pulito ;) ciao, A.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.