Upgrading to Rails 3.1

I’m working on updating my rails 3.0.5 app to rails 3.1.0.beta1 and I
seem to be running into a problem when doing rake rails:update when it
runs rake rails:update:javascripts

Here is my bundle:
Gems included by the bundle:

  • RedCloth (4.2.7)
  • actionmailer (3.1.0.beta1)
  • actionpack (3.1.0.beta1)
  • activemodel (3.1.0.beta1)
  • activerecord (3.1.0.beta1)
  • activeresource (3.1.0.beta1)
  • activesupport (3.1.0.beta1)
  • ancestry (1.2.4)
  • annotate (2.4.0)
  • ansi (1.2.5)
  • arel (2.1.0)
  • bcrypt-ruby (2.1.4)
  • builder (3.0.0)
  • bundler (1.0.13)
  • coffee-script (2.2.0)
  • coffee-script-source (1.1.0)
  • daemons (1.1.3)
  • erubis (2.7.0)
  • eventmachine (0.12.10)
  • execjs (0.3.4)
  • hike (1.0.0)
  • hoptoad_notifier (2.4.9)
  • i18n (0.6.0beta1)
  • jquery-rails (1.0.2)
  • kaminari (0.12.4)
  • mail (2.3.0)
  • mime-types (1.16)
  • multi_json (1.0.2)
  • mustang (0.2.2)
  • polyglot (0.3.1)
  • rack (1.3.0.beta)
  • rack-cache (1.0.1)
  • rack-mount (0.7.4)
  • rack-ssl (1.3.2)
  • rack-test (0.6.0)
  • rails (3.1.0.beta1)
  • railties (3.1.0.beta1)
  • rake (0.8.7)
  • sass (3.1.1)
  • simple_form (1.3.1)
  • sprockets (2.0.0.beta.2)
  • sqlite3 (1.3.3)
  • thin (1.2.11)
  • thor (0.14.6)
  • tilt (1.3)
  • treetop (1.4.9)
  • turn (0.8.2)
  • tzinfo (0.3.27)
  • uglifier (0.5.3)

Here is the trace:

** Invoke rails:update:javascripts (first_time)
** Execute rails:update:javascripts
rake aborted!
undefined method create_javascript_files' for #<Rails::Generators::AppGenerator:0x0000000294c968> /usr/local/rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.beta1/lib/rails/tasks/framework.rake:40:ininvoke_from_app_generator’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/railties-3.1.0.beta1/lib/rails/tasks/framework.rake:63:in
block (3 levels) in <top (required)>' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:636:incall’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:636:in
block in execute' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:631:ineach’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:631:in
execute' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:597:inblock in invoke_with_call_chain’
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in
mon_synchronize' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:590:ininvoke_with_call_chain’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:607:in
block in invoke_prerequisites' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:604:ineach’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:604:in
invoke_prerequisites' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:596:inblock in invoke_with_call_chain’
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in
mon_synchronize' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:590:ininvoke_with_call_chain’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:583:in
invoke' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2051:ininvoke_task’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2029:in
block (2 levels) in top_level' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2029:ineach’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2029:in
block in top_level' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2001:inblock in run’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' /usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:1998:inrun’
/usr/local/rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/bin/rake:31:in <top (required)>' /usr/local/rvm/gems/ruby-1.9.2-p180/bin/rake:19:inload’
/usr/local/rvm/gems/ruby-1.9.2-p180/bin/rake:19:in `’

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