No such file to load bundler error for Rails 3
Posted
by kgpdeveloper
on Stack Overflow
See other posts from Stack Overflow
or by kgpdeveloper
Published on 2010-04-03T07:06:51Z
Indexed on
2010/04/03
7:13 UTC
Read the original article
Hit count: 1188
ruby
|ruby-on-rails3
I have a Rails 3 app ready for staging.
I haven't got a VPS host set up yet. As I was planning to have everything on shared host for the first few months.
Problem:
cd myapp bundle check result:
The Gemfile's dependencies are satisfied
Passenger error:
Error message:
no such file to load -- bundler
Exception class:
LoadError
Frustrating thing about shared hosts is that I have to add these lines on config.ru:
ENV['GEM_HOME'] = '/home/username/.gems'
ENV['GEM_PATH'] = '$GEM_HOME:/usr/lib/ruby/gems/1.8'
Still no luck. Same no such file to load bundler error appears.
Has anybody got this working? Rails 3, Debian, shared host (dreamhost)?
I could just go ahead and register on Slicehost/Fivebean but before I do, I'd like to know why that error is showing up.
Thanks.
© Stack Overflow or respective owner