validates_timeliness plugin installation

I'm trying to install the validates_timeliness plugin:

on Ubuntu lucid in my rails project directory: sudo ./script/plugin install git://github.com/adzap/validates_timeliness.git ./script/plugin: command not found

on windows (as admin) in my rails project directory: ruby script/plugin install git://github.com/adzap/validates_timeliness.git creates the "validates_timeliness" directory, but it's empty...

What's wrong?

Luma

On ubuntu, try it without sudo. Check that the script/plugin file has execute bit set. Run

  chmod u+x script/plugin

In any case it has nothing to do with the plugin. Have you installed other plugins this way?

Try using the gem instead.

I've set script/plugin executable. It seems that plugins from github can't be installed.

This works on ubuntu and similarly on windows: ./script/plugin install http://dev.rubyonrails.org/svn/rails/plugins/account_location/

works only on ubuntu: ./script/plugin install svn://rubyforge.org/var/svn/actionflow

The gem works, however I'm happier with plugins because other developers of this project get it by svn update

Luma

"not working" means there's nothing happening:

user@ubuntu:~/project/src$ ./script/plugin install http://github.com/adzap/validates_timeliness.git user@ubuntu:~/project/src$

the same with ./script/plugin install git://github.com/adzap/validates_timeliness.git

Luma wrote:

"not working" means there's nothing happening:

user@ubuntu:~/project/src$ ./script/plugin install GitHub - adzap/validates_timeliness: Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats. user@ubuntu:~/project/src$

You need to install a Git client so the plugin installation script can talk to the respository. I believe the Ubuntu package you want is git-core.

Best,

thanks!