# Validates\_timeliness plugin installation

**URL:** <https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729>\
**Category:** Rails\
**Created:** [May 17, 2010, 12:20pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729 "2010-05-17T12:20:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![luma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@luma](https://www.ruby-forum.com/u/luma)\
**Post date:** [May 17, 2010, 12:20pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729/1 "2010-05-17T12:20:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![luma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@luma](https://www.ruby-forum.com/u/luma)\
**Post date:** [May 17, 2010, 2:54pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729/2 "2010-05-17T14:54:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![luma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@luma](https://www.ruby-forum.com/u/luma)\
**Post date:** [May 17, 2010, 6:25pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729/3 "2010-05-17T18:25:00Z")

</div>

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/](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

---

<div class="post-metadata">

**Author:** ![luma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@luma](https://www.ruby-forum.com/u/luma)\
**Post date:** [May 17, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729/4 "2010-05-17T18:36:43Z")

</div>

“not working” means there’s nothing happening:

user@ubuntu:~/project/src$ ./script/plugin install

> **[GitHub - adzap/validates\_timeliness: Date and time validation plugin for...](https://github.com/adzap/validates_timeliness)**
>
> Date and time validation plugin for ActiveModel and Rails. Supports multiple ORMs and allows custom date/time formats. - GitHub - adzap/validates\_timeliness: Date and time validation plugin for Ac...

user@ubuntu:~/project/src$

---

<div class="post-metadata">

**Author:** ![luma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@luma](https://www.ruby-forum.com/u/luma)\
**Post date:** [May 17, 2010, 6:54pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729/5 "2010-05-17T18:54:50Z")

</div>

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.](http://github.com/adzap/validates_timeliness.git)  
> 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,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![luma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@luma](https://www.ruby-forum.com/u/luma)\
**Post date:** [May 17, 2010, 8:09pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729/6 "2010-05-17T20:09:12Z")

</div>

thanks!

---

<div class="post-metadata">

**Author:** ![luma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@luma](https://www.ruby-forum.com/u/luma)\
**Post date:** [May 17, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/validates-timeliness-plugin-installation/188729/7 "2010-05-17T18:45:30Z")

</div>

the same with  
./script/plugin install git://github.com/adzap/validates\_timeliness.git
