Yes we can.
Add to your Gemfile
gem “authlogic”, :git => “git://github.com/odorcicd/authlogic.git”, :branch => “rails3”
Install the gem with
bundle install
… and start generating as follows
rails generate authlogic:session user_session
I think that Rails Plugins needs some UI improvements…
I can’t search for text that Google finds, because it could be into some hidden div (like comments).
As requested, i’m going to explain how to install Gitosis on Dreamhost (i assume you are Git fan, and you know something about Gitosis). Requirements: a Dreamhost (shared hosting) dedicated user with SSH access. (create it using Dreamhost control panel). I created an user called “gitdemo” for this tutorial. Let’s start connecting to your user account and check Git version:
lussuria:~ marco$ ssh gitdemo@marcoborromeo.com gitdemo@marcoborromeo.com’s password: <…> [moran]$ git —version git version 1.5.6.5
Update Git to latest stable version:
[moran]$ cd && mkdir src && cd src [moran]$ wget http://kernel.org/pub/software/scm/git/git-1.6.1.3.tar.gz [moran]$ tar xzf git-1.6.1.3.tar.gz && cd git-1.6.1.3 [moran]$ ./configure —prefix=$HOME NO_MMAP=1 [moran]$ make && make install
Install Gitosis
[moran]$ cd && cd src [moran]$ git clone git://eagain.net/gitosis.git [moran]$ cd gitosis/ [moran]$ mkdir -p $HOME/lib/python2.4/site-packages [moran]$ export PYTHONPATH=$HOME/lib/python2.4/site-packages [moran]$ python setup.py install —prefix=$HOME [moran]$ cd
Setup some environment variables:
[moran]$ cd [moran]$ echo “export PYTHONPATH=$HOME/lib/python2.4/site-packages/” » .bashrc [moran]$ echo “export PYTHONPATH=$HOME/lib/python2.4/site-packages/” » .bash_profile [moran]$ echo “export PATH=$HOME/bin:$PATH” » .bashrc [moran]$ echo “export PATH=$HOME/bin:$PATH” » .bash_profile [moran]$ . ~/.bash_profile
You have now installed Git and Gitosis on your Dreamhost shared hosting account. To finish installation of Gitosis, create a temporary directory, copy into there you public key, and initialize Gitosis
[moran]$ cd && mkdir tmp <copy/paste your public key into tmp/id_rsa.pub> [moran]$ gitosis-init < tmp/id_rsa.pub
PLEASE NOTE: Gitosis, by default, closes you out from SSH access; to re-gain access to your user account used to host Gitosis, reconnect to Dreamhost server with an other user account, and become the Gitosis user using “su” command. LOOKING FOR DREAMHOST PROMO CODES? Get a $30.00 discount for yearly registrations and $15.00 for monthly ones using “DHGITOSIS” promo code!
Hi all, fellow ex and new readers! As first good 2009 proposal, i decided to restart blogging… but not in Italian this time! (at least, not only in Italian…) I never had a not Italian blog, so please don’t hate me if my written English is not so good: i’ll improve it (with your help, i whish!) Have a nice 2009!
Un piccolo post per una piccola applicazione :) E’ da oggi disponibile sull’App Store di Apple l’applicazione “CAP Italiani”: un database di CAP italiani, con una funzione di geolocalizzazione per individuare il CAP della località in cui siamo. Al momento l’applicazione non supporta i CAP di zona, che saranno però inseriti nella versione 1.1 di prossima uscita. Per chi è interessato all’applicazione (in vendita a 0,79€) può trovarla all’indirizzo http://bit.ly/YOL9T (attenzione, verrà aperto iTunes). A presto con la versione 1.1!