wheneverize: command not found

Created on 17 Sep 2011  ·  6Comments  ·  Source: javan/whenever

My first try to wheneverize get command not found :

lsoave@ubuntu:~/rails/github/gitwatcher.old$ wheneverize .
wheneverize: command not found

here it is my conf:

lsoave@ubuntu:~/rails/github/gitwatcher.old$ grep whenever Gemfile
gem 'whenever', :require => false

lsoave@ubuntu:~/rails/github/gitwatcher.old$ grep whenever Gemfile.lock
    whenever (0.7.0)
  whenever
lsoave@ubuntu:~/rails/github/gitwatcher.old$ 

Luca

Most helpful comment

bundle exec wheneverize . ?

All 6 comments

bundle exec wheneverize . ?

... I think is something related to the following 3 WARNING when I run “bundle update”.
The whenever gem i placed in my rails app, home dir (~/rails/github/gitwatcher/whenever/ruby/1.9.1/gems/whenever-0.7.0/) and not into the project relative RVM gemset path :

lsoave@ubuntu:~/rails/github/gitwatcher$ bundle update
Fetching source index for http://gemcutter.org/
Installing rake (0.9.2)
Installing log4r (1.1.9)
Installing XMLCanonicalizer (1.0.1) WARNING: XMLCanonicalizer-1.0.1 has an invalid nil value for @cert_chain

Installing ZenTest (4.5.0)
Installing abstract (1.0.0) WARNING: abstract-1.0.0 has an invalid nil value for @cert_chain

Installing activesupport (3.0.10)
Installing builder (2.1.2) WARNING: builder-2.1.2 has an invalid nil value for @cert_chain
….

Now it works, I just did :

rm -rf ~/rails/github/gitwatcher/whenever/
gem install whenever ( before running "bundle update" for my rails app )
put 
gem 'whenever', '0.7.0', :require => false
into my Gemfile than bundle update

if I don't run gem install whenever before bundling, I get the WARNING, the gem is not installed in the correct path and of course

 wheneverize . 
don't works ...

I would update bundler and rvm, and run bundle exec wheneverize . like @EddM suggested.

This is an issue with your setup and not the gem itself.

bundle exec wheneverize .

Worked for me!

Same issue.. 'bundle exec wheneverize .' worked for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sumitsinghnaruka picture sumitsinghnaruka  ·  8Comments

ringe picture ringe  ·  13Comments

fabianoalmeida picture fabianoalmeida  ·  5Comments

Manju244 picture Manju244  ·  10Comments

alitivay picture alitivay  ·  7Comments