Comments (11)
Try installing the gem with sudo:
sudo gem install javan-whenever
or
sudo rake gems:install
from whenever.
I've done that.
config.gem "chronic"
config.gem 'javan-whenever', :lib => false, :source => 'http://gems.github.com'
The dependencies were installed and then whenever was installed.
[jlee@casweb5 mehmry]$ gem list --local *** LOCAL GEMS *** actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2) activeresource (2.3.2, 2.2.2) activesupport (2.3.2, 2.2.2) authlogic (2.0.13) be9-acl9 (0.10.0) calendar_date_select (1.15) cgi_multipart_eof_fix (2.5.0) chronic (0.2.3) columnize (0.3.0) daemons (1.0.10) fastercsv (1.4.0) fastthread (1.0.7, 1.0.1) gem_plugin (0.2.3) googlecharts (1.3.6) hoe (1.12.2) javan-whenever (0.2.2) linecache (0.43) mislav-will_paginate (2.3.8) mongrel (1.1.5) mysql (2.7) passenger (2.2.2, 2.1.2) prawn (0.4.1) prawn-layout (0.1.0) rack (1.0.0, 0.9.1) rails (2.3.2, 2.2.2) rake (0.8.6, 0.8.4) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby-net-ldap (0.0.4) rubyforge (1.0.3) sqlite3-ruby (1.2.4) technicalpickles-shoulda_generator (0.2.1) thoughtbot-factory_girl (1.2.1) thoughtbot-shoulda (2.10.1) [jlee@casweb5 mehmry]$ whenever . -bash: whenever: command not found
from whenever.
[jlee@casweb5 mehmry]$ wheneverize .
-bash: wheneverize: command not found
from whenever.
This may just be a PATH issue. On my system (OS X) rubygems installed the whenever binary in /opt/local/bin/whenever. Perhaps the binary was installed somewhere outside of your path?
from whenever.
Yes, I'm using Ruby Enterprise Edition so that was the issue. My path was the problem. Thanks!
from whenever.
I have the same problem. Other gems run normally. How can I set PATH for 'whenever'?
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
from whenever.
So you're also running Ruby Enterprise Edition? First, you'll need to find the whenever binary. (If all else fails, run find / --name "whenever"
)
Then either supply the full path to whenever in your Capistrano task or set a PATH in your schedule.rb file like:
env :PATH, "/your/path:$PATH"
(you'll likely need to add more paths than just the one)
from whenever.
No Javan. I use Ruby 1.8.6 on localhost and can execute nor 'whenever' or 'wheneverize'. On my production server I use Ruby Enterprise Edition and Whenever works ideally.
from whenever.
Locally, did you install the gem using sudo? sudo gem install javan-whenever
from whenever.
I've tried but got only this:
could not find gem javan-wheneve locally or in a repository
My remote SOURCES:
- http://gems.rubyforge.org/
from whenever.
It should be javan-whenever, not javan-wheneve
from whenever.
Related Issues (20)
- Support for every other hour with offset (1am, 3am, etc.) HOT 3
- Operation not permitted - getcwd (Errno::EPERM) HOT 4
- How to set the daily time as the time of a certain time zone, thank you HOT 1
- How to change the shell by default (bash) ? HOT 1
- How do I "namespace" the crontab entries?
- ActionView::Template::Error (undefined method `>' for nil:NilClass): HOT 1
- Ruby 3.2 autocompletion in console HOT 9
- We need to move from travis-ci to github actions
- How to execute multiple tasks with a single runner ? HOT 1
- whenever command is not working HOT 1
- [Feature Request] Add Dashboard for whenever cron job activity monitoring
- Bundler::RubyVersionMismatch HOT 1
- whenever -w throws incompatible library error HOT 1
- [Feature Request] Pass job frequency as argument to job
- CRON cannot access my database? Could not find table. HOT 1
- Bug: version conflict when running `bundle exec rake test`
- Crontab doesn't work with Rails 7 HOT 2
- Cron jobs inside a docker container HOT 6
- Output redirection to STDOUT
- Bundler: failed to load command: whenever HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whenever.