http://docs.heroku.com/bundler#using-bundler-from-rails-235
The gist you want to follow is here: http://gist.github.com/302406/ On Sat, Apr 17, 2010 at 6:45 AM, Matt <[email protected]> wrote: > I ran into this yesterday. Thanks for tracking this down! > > ~ Matt > > > On Fri, Apr 16, 2010 at 12:08 PM, morgoth <[email protected]> wrote: > >> Hi. >> If you are using bundler and you are on the edge with configuration >> (rails3 and rails 2.3.5) you will get error on heroku saying about >> read only file system. >> >> That is because config/boot.rb has changed: >> When you generate new rails3 app you will have config/boot.rb like >> this: >> >> require 'rubygems' >> # Set up gems listed in the Gemfile. >> if File.exist?(File.expand_path('../../Gemfile', __FILE__)) >> require 'bundler' >> Bundler.setup >> end >> >> This wont work on heroku! (at least now) >> Bundler wants to create .bundle/environment.rb which is prohibited. >> >> So you need to use old style of config/boot.rb: >> http://gist.github.com/368681 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<heroku%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<heroku%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en.
