On Wed, Apr 20, 2011 at 8:07 PM, MJW2529 <[email protected]> wrote:

> I've tried running this on Glassfish and got the exact same error, so
> it must be in the bundler code.  I've removed bundler from the app and
> added the requires to the environment.rb file and did get this
> running.  However, it's obviously not an ideal solution.

boot.rb starts this way:

    require 'rubygems'
    gemfile = File.expand_path('../../../../Gemfile', __FILE__)

    if File.exist?(gemfile)
      ENV['BUNDLE_GEMFILE'] = gemfile
      require 'bundler'
      Bundler.setup
    end

That's done on purpose, so that it is trivial to out-opt. Removing the
Gemfile should be enough, if there's no Gemfile, no bundler code
should be called (and if it does, it is a bug).

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to