ruby on rails - JRuby + Glassfish Gem + Bundler error -
i'm getting following error when trying use jruby, bundler, glassfish gem, , rails 2.3.9 in production:
could not load bundler gem. install `gem install bundler` no matter try, happens. deploy via capistrano, , bundle gets created in shared directory of app. bundler installed , can see in gem env.
i'm starting app via
cd #{current_path}; bundle exec glassfish -p #{shared_path}/pids/glassfish.pid" the server start, "something went wrong" when go app url.
any ideas?
robert,
first off, assume have followed instructions in http://gembundler.com/rails23.html. if not, make sure do.
second, make sure running bundle jruby:
jruby -s bundle exec glassfish third, -p requires daemonization, make sure have option turned on (either -d flag, or in glassfish.yml).
Comments
Post a Comment