Try tagging the latest verison of bundler in your Gemfile.

gem 'bundler, '0.9.14'

I was able to get a minimalist Rails app up and running with this
version of Bundler.

I did see the same error you mentioned with Bundler trying to write
its environment.rb during lock on previous versions.

On Mar 30, 10:04 am, peterpunk <[email protected]> wrote:
> I'm currently using rails 3 and ruby 1.9.1 and I'm getting this error
> when I add the will_paginate gem from my fork on github.
> I'm also using another gems from github without problems.
>
> This is how is included in the gemfile:
> gem 'will_paginate', :git => 'git://github.com/peterpunk/
> will_paginate.git', :branch => 'rails3'
>
> when I removed the gem from the gemfile, app starts without any
> problem
>
> I'm geting thi error:
>
> here is the pastie to read it better:http://pastie.org/895524
>
> App failed to start
>
> /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/bundler-0.9.13/
> lib/bundler/environment.rb:79:in `initialize': Read-only file system
> - /disk1/home/slugs/153162_a1b2d98_835a/mnt/.bundle/environment.rb -
> Heroku has a read-only filesystem.  
> Seehttp://docs.heroku.com/constraints#read-only-filesystem
> (Errno::EROFS)
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/
> bundler-0.9.13/lib/bundler/environment.rb:79:in `open'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/
> bundler-0.9.13/lib/bundler/environment.rb:79:in `write_rb_lock'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/
> bundler-0.9.13/lib/bundler/runtime.rb:10:in `initialize'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/
> bundler-0.9.13/lib/bundler.rb:78:in `new'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/
> bundler-0.9.13/lib/bundler.rb:78:in `load'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/
> bundler-0.9.13/lib/bundler.rb:68:in `setup'
>         from /disk1/home/slugs/153162_a1b2d98_835a/mnt/config/boot.rb:7:in
> `rescue in '
>         from /disk1/home/slugs/153162_a1b2d98_835a/mnt/config/boot.rb:2:in `'
>         from /disk1/home/slugs/153162_a1b2d98_835a/mnt/config/application.rb:
> 1:in `require'
>         from /disk1/home/slugs/153162_a1b2d98_835a/mnt/config/application.rb:
> 1:in `'
>         from /disk1/home/slugs/153162_a1b2d98_835a/mnt/config/environment.rb:
> 2:in `require'
>         from /disk1/home/slugs/153162_a1b2d98_835a/mnt/config/environment.rb:
> 2:in `'
>         from config.ru:3:in `require'
>         from config.ru:3:in `block (3 levels) in '
>         from /home/heroku_rack/heroku.ru:21:in `eval'
>         from /home/heroku_rack/heroku.ru:21:in `block (3 levels) in '
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:46:in `instance_eval'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:46:in `initialize'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:63:in `new'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:63:in `map'
>         from /home/heroku_rack/heroku.ru:16:in `block (2 levels) in '
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:46:in `instance_eval'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:46:in `initialize'
>         from /home/heroku_rack/heroku.ru:9:in `new'
>         from /home/heroku_rack/heroku.ru:9:in `block in '
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:46:in `instance_eval'
>         from /home/slugs/153162_a1b2d98_835a/mnt/.bundle/gems/gems/rack-1.1.0/
> lib/rack/builder.rb:46:in `initialize'
>         from /home/heroku_rack/heroku.ru:1:in `new'
>         from /home/heroku_rack/heroku.ru:1:in `'
>         from /usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/
> adapter/loader.rb:36:in `eval'
>         from /usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/rack/
> adapter/loader.rb:36:in `load'
>         from /usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/
> controllers/controller.rb:175:in `load_rackup_config'
>         from /usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/
> controllers/controller.rb:65:in `start'
>         from /usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/
> runner.rb:177:in `run_command'
>         from /usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/
> runner.rb:143:in `run!'
>         from /usr/ruby1.9.1/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in
> `'
>         from /usr/ruby1.9.1/bin/thin:19:in `load'
>         from /usr/ruby1.9.1/bin/thin:19:in `'
>
> thanks!

-- 
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.

Reply via email to