stungeye / manitobaelection

An election resource by and for citizens.
http://manitobaelection.ca
The Unlicense
4 stars 0 forks source link

Bundler Error with Cron job for News Scraping #20

Closed stungeye closed 13 years ago

stungeye commented 13 years ago

/opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/index.rb:36: command not found: which sudo /opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36: command not found: git ls-files sh: git: not found sh: git: not found

stungeye commented 13 years ago

In setting the path for the cron task I limited it to only the ruby EE path. Adding /usr/bin back to the PATH fixed this issue.