Error with Pow and rbenv - "cannot load such file -- bundler/setup"

rack-pow, rbenv, ruby-on-rails

Solution

Generally, you need a `~/.powconfig` file with:

export PATH=$(rbenv root)/shims:$(rbenv root)/bin:$PATH

See the issue discussion and the pow guide.

Problem

I know there is an entry on the Troubleshooting wiki page for Pow, but I made that change and it still gives the same error. If you notice from the error message below, it seems to be at least trying to use the correct version of ruby from rbenv, but still has the same error ``` LoadError: cannot load such file -- bundler/setup ~/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' ~/.rbenv/versions/1.9.3-p125/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' ``` I also looked through all the comments in the issue mentioned on the troubleshooting page as well and none of those solutions work for me.

Original source

Related problems