This project is archived and is in readonly mode.

#4342 ✓wontfix
The_Lord

Rails 3.0.0.beta2 returns error on app generation with --edge option

Reported by The_Lord | April 8th, 2010 @ 12:01 AM

This happens only with the --edge option which runs bundler after generation and it attempts to run bundle19 install (I'm using ruby 1.9.1), but it doesn't seem to exist. I think it should run simply bundle install, because that's the command I always use even on ruby 1.9

Steps to reproduce:

localhost$ rails whatever --edge

  create
  create  README
  create  .gitignore
  create  Rakefile
  create  config.ru
  create  Gemfile
  create  app
  create  app/controllers/application_controller.rb
  create  app/helpers/application_helper.rb
  create  app/models
  create  app/views/layouts
  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/cookie_verification_secret.rb
  create  config/initializers/inflections.rb
  create  config/initializers/mime_types.rb
  create  config/initializers/session_store.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  log
  create  log/server.log
  create  log/production.log
  create  log/development.log
  create  log/test.log
  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  public/images
  create  public/images/rails.png
  create  public/stylesheets
  create  public/stylesheets/.gitkeep
  create  public/javascripts
  create  public/javascripts/application.js
  create  public/javascripts/controls.js
  create  public/javascripts/dragdrop.js
  create  public/javascripts/effects.js
  create  public/javascripts/prototype.js
  create  public/javascripts/rails.js
  create  script
  create  script/rails
  create  test
  create  test/performance/browsing_test.rb
  create  test/test_helper.rb
  create  test/fixtures
  create  test/functional
  create  test/integration
  create  test/unit
  create  tmp
  create  tmp/sessions
  create  tmp/sockets
  create  tmp/cache
  create  tmp/pids
  create  vendor/plugins
  create  vendor/plugins/.gitkeep
     run  bundle19 install from "."

/usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/actions.rb:212:in ': No such file or directory - bundle19 install (Errno::ENOENT)

from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/actions.rb:212:in `run'
from /usr/lib64/ruby19/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/generators/rails/app/app_generator.rb:185:in `bundle_if_dev_or_edge'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/task.rb:33:in `run'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/invocation.rb:109:in `block in invoke'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/invocation.rb:118:in `each'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/invocation.rb:118:in `map'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/invocation.rb:118:in `invoke'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/group.rb:36:in `block in start'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/base.rb:378:in `start'
from /usr/lib64/ruby19/gems/1.9.1/gems/thor-0.13.4/lib/thor/group.rb:29:in `start'
from /usr/lib64/ruby19/gems/1.9.1/gems/railties-3.0.0.beta2/lib/rails/commands/application.rb:13:in `<top (required)>'
from /usr/lib64/ruby19/gems/1.9.1/gems/railties-3.0.0.beta2/bin/rails:30:in `require'
from /usr/lib64/ruby19/gems/1.9.1/gems/railties-3.0.0.beta2/bin/rails:30:in `<top (required)>'
from /usr/bin/rails:19:in `load'
from /usr/bin/rails:19:in `<main>'

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages