Skip to content

Needing to run bundle exec #245

@wkdewey

Description

@wkdewey

It often happens that when I run post or another Datura command I get the following:

 post
/Users/willdewey/.rvm/rubies/ruby-3.1.6/lib/ruby/site_ruby/3.1.0/rubygems.rb:265:in `find_spec_for_exe': can't find gem datura (>= 0.a) with executable post (Gem::GemNotFoundException)
	from /Users/willdewey/.rvm/rubies/ruby-3.1.6/lib/ruby/site_ruby/3.1.0/rubygems.rb:284:in `activate_bin_path'
	from /Users/willdewey/.rvm/gems/ruby-3.1.6@datura_new/bin/post:25:in `<main>'

The command can only be executed successfully if I preface it with bundle exec.

I see some discussion here (#138) but I don't think we found a permanent solution, or else we forgot what the fix was.

Is there something we can change in the code, or a workaround we can document somewhere?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions