Error on 'bundle install'

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:


      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

And when I type CTRL-C, the output is this:

$
/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

What’s the problem??

Thank you very much!!!

On Mon, Feb 27, 2012 at 1:00 PM, jesus romero [email protected]
wrote:

 create  config.ru
 create  app/views/layouts/application.html.erb
 create  config/initializers
 create  db
 create  public
 create  test/functional
 create  vendor/assets/javascripts/.gitkeep

/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

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
removed_ema[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


*** Available for a new project ***

Peter V.
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: [email protected]
skype: peter_v_be

On Mon, Feb 27, 2012 at 07:15, Peter V.
[email protected] wrote:

$ rails new new_app --skip-bundle # this will skip bundle install and should
pass

BTW, this trick can also help keep code better compartmentalized if
you’re working on multiple projects, which might need different
versions of various gems. Follow it up with:

$ cd new_app
$ bundle install --path vendor

and all the gems will be installed in new_app/vendor. :slight_smile:

-Dave


Dave A.: Available Cleared Ruby on Rails Freelancer
(NoVa/DC/Remote) – see www.DaveAronson.com, and blogs at
www.Codosaur.us, www.Dare2XL.com, www.RecruitingRants.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs