bundle install --path confuses whenever

99 views
Skip to first unread message

wolr...@gmail.com

unread,
Jun 22, 2012, 1:14:09 PM6/22/12
to whenev...@googlegroups.com
I use the path flag to install my gems in a specific location so that I can install different gems for different apps, e.g.

bundle install --path=vendor/bundle

Unfortunately, this seems to confuse the whenever command, which can't find its gem. When I run:

vendor/bundle/ruby/1.9.1/bin/whenever

I get:

/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find whenever (>= 0) amongst [...]

The "amongst" list only includes the system-wide gems, not the ones installed in vendor/bundle.

Any suggestions?

Javan Makhmali

unread,
Jun 22, 2012, 1:15:45 PM6/22/12
to whenev...@googlegroups.com
I haven't tested this, but try: bundle exec vendor/bundle/ruby/1.9.1/bin/whenever

-Javan

--
You received this message because you are subscribed to the Google
Groups "Whenever Gem" group and because you're awesome.
To post to this group, send email to whenev...@googlegroups.com
To unsubscribe from this group, send email to
whenever-gem...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/whenever-gem?hl=en

Reply all
Reply to author
Forward
0 new messages