Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#4342

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

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

State: wontfix
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to wontfix

    This problem is related to your ruby installation

    try on irb Config::CONFIG['ruby_install_name'] surely returns ruby19

    April 8th, 2010 @ 04:01 AM

  2. Andrea Campi
    Andrea Campi
    • Tag changed from rails 3.0.0.beta2, --edge, bundler to rails 3.0.0.beta2, bundler
    • Importance changed from to Low

    October 10th, 2010 @ 11:43 PM