Re: error on ''bundle install''

Peter Vandenabeele
Mon, 27 Feb 2012 12:15:51 -0000

On Mon, Feb 27, 2012 at 1:00 PM, jesus romero
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:

> Hi all!! I use ubuntu 10 maverick, and when I try to create a
> application with rails, the process blocks in "run bundle
install".
>
> This is the output:
>
> [code]
>
>      create
>      create  README.rdoc
>      create  Rakefile
>      create  config.ru
>      create  .gitignore
>      create  Gemfile
>      create  app
>      create  app/assets/images/rails.png
>      create  app/assets/javascripts/application.js
>      create  app/assets/stylesheets/application.css
>      create  app/controllers/application_controller.rb
>      create  app/helpers/application_helper.rb
>      create  app/mailers
>      create  app/models
>      create  app/views/layouts/application.html.erb
>      create  app/mailers/.gitkeep
>      create  app/models/.gitkeep
>      create  config
>      create  config/routes.rb
>      create  config/application.rb
>      create  config/environment.rb
>      create  config/environments
>      create  config/environments/development.rb
>      create  config/environments/production.rb
>      create  config/environments/test.rb
>      create  config/initializers
>      create  config/initializers/backtrace_silencers.rb
>      create  config/initializers/inflections.rb
>      create  config/initializers/mime_types.rb
>      create  config/initializers/secret_token.rb
>      create  config/initializers/session_store.rb
>      create  config/initializers/wrap_parameters.rb
>      create  config/locales
>      create  config/locales/en.yml
>      create  config/boot.rb
>      create  config/database.yml
>      create  db
>      create  db/seeds.rb
>      create  doc
>      create  doc/README_FOR_APP
>      create  lib
>      create  lib/tasks
>      create  lib/tasks/.gitkeep
>      create  lib/assets
>      create  lib/assets/.gitkeep
>      create  log
>      create  log/.gitkeep
>      create  public
>      create  public/404.html
>      create  public/422.html
>      create  public/500.html
>      create  public/favicon.ico
>      create  public/index.html
>      create  public/robots.txt
>      create  script
>      create  script/rails
>      create  test/fixtures
>      create  test/fixtures/.gitkeep
>      create  test/functional
>      create  test/functional/.gitkeep
>      create  test/integration
>      create  test/integration/.gitkeep
>      create  test/unit
>      create  test/unit/.gitkeep
>      create  test/performance/browsing_test.rb
>      create  test/test_helper.rb
>      create  tmp/cache
>      create  tmp/cache/assets
>      create  vendor/assets/javascripts
>      create  vendor/assets/javascripts/.gitkeep
>      create  vendor/assets/stylesheets
>      create  vendor/assets/stylesheets/.gitkeep
>      create  vendor/plugins
>      create  vendor/plugins/.gitkeep
>         run  bundle install
>
>
> [/code]
>
> And when I type CTRL-C, the output is this:
>
> [code]
> $
>
>
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/vendor/thor/shell/basic.rb:63:in
> `flush'': Broken pipe (Errno::EPIPE)
>  from
>
>
/usr/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/vendor/thor/shell/basic.rb:63:in
> `say''
>  from
> /usr/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/ui.rb:46:in
> `error''
>  from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.22/bin/bundle:19
>
> [/code]
>

Maybe for debugging it could be useful if you split the `rails new` process
in 2 pieces and add more logging to the bundle install.

$ rails --version
$ rails new new_app --skip-bundle # this will skip bundle install and
should pass
$ cd new_app
$ view Gemfile # check it (if newest rails, should be 3.2.x)
$ bundle --verbose install # this will give you more logging info

HTH,

Peter



> What''s the problem??
>
> Thank you very much!!!
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


--
*** Available for a new project ***

Peter Vandenabeele
http://be.linkedin.com/in/petervandenabeele
https://github.com/petervandenabeele
https://twitter.com/peter_v <http://twitter.com/peter_v>
http://rails.vandenabeele.com
http://coderwall.com/peter_v
gsm: +32-478-27.40.69
e-mail: peter-jNuWw7i2w7syMbTcgqFhxg@public.gmane.org
skype: peter_v_be

--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org