Hmmm. As far as I can tell, I'm using the latest version of rake: $ gem update Updating installed gems Nothing to update $ which rake /Users/spatten/.rvm/gems/ruby-1.8.7-p334/bin/rake $ rake --version rake, version 0.9.2 $ ruby --version ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0] $ rails --version Rails 3.1.0.rc4 $ rake doc:guides Generating 3_0_release_notes.html rake aborted! uninitialized constant ActionView::Helpers::AssetTagHelper::AssetPaths::Mutex
Tasks: TOP => doc:guides (See full trace by running task with --trace) On Jun 13, 10:59 pm, Wael Nasreddine <[email protected]> wrote: > Try updating rake > > $ sudo gem update > > -- > Wael Nasreddine > Sent from my iPhone > > On Jun 14, 2011, at 7:56, spatten <[email protected]> wrote: > > > > > > > > > I did some further testing: > > > 1) I tried a more recent version of Ruby 1.8.7 using rvm, and still > > had the same error > > > $ ruby --version > > ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10.6.0] > > > 2) I tried ruby 1.9.2, and was able to install the guides > > successfully. > > > Thanks, > > > Scott Patten > > > On Jun 13, 10:05 pm, spatten <[email protected]> wrote: > >> When I run rake doc:guides with a fresh Rails 3.1.0 rc4 app, I get the > >> following error: > > >> # sudo rake doc:guides > >> Generating 3_0_release_notes.html > >> rake aborted! > >> uninitialized constant > >> ActionView::Helpers::AssetTagHelper::AssetPaths::Mutex > > >> Tasks: TOP => doc:guides > >> (See full trace by running task with --trace) > > >> Steps to reproduce: > > >> $ rails --version > >> Rails 3.1.0.rc4 > >> $ ruby --version > >> ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] > >> $ rails new railsdoctester > >> $ cd railsdoctester > >> $ echo "gem 'RedCloth'" >> > >> Gemfile > >> $ bundle install > >> $ sudo rake doc:guides > > >> Here is the output with trace on: > > >> $ sudo rake doc:guides --trace > >> ** Invoke doc:guides (first_time) > >> ** Execute doc:guides > >> Generating action_controller_overview.html > >> rake aborted! > >> uninitialized constant > >> ActionView::Helpers::AssetTagHelper::AssetPaths::Mutex > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/ext/module.rb:36:in > >> `const_missing' > >> /Library/Ruby/Gems/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/ > >> helpers/asset_tag_helpers/asset_paths.rb:66 > >> /Library/Ruby/Gems/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/ > >> helpers/asset_tag_helper.rb:3:in `require' > >> /Library/Ruby/Gems/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/ > >> helpers/asset_tag_helper.rb:3 > >> /Library/Ruby/Gems/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/ > >> helpers.rb:38 > >> /Library/Ruby/Gems/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/ > >> base.rb:134 > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides/ > >> generator.rb:135:in `generate_guide' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides/ > >> generator.rb:134:in `open' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides/ > >> generator.rb:134:in `generate_guide' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides/ > >> generator.rb:102:in `generate_guides' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides/ > >> generator.rb:100:in `each' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides/ > >> generator.rb:100:in `generate_guides' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides/ > >> generator.rb:78:in `generate' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/guides/rails_guides.rb: > >> 50 > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/lib/rails/tasks/ > >> documentation.rake:122:in `require' > >> /Library/Ruby/Gems/1.8/gems/railties-3.1.0.rc4/lib/rails/tasks/ > >> documentation.rake:122 > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in `call' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:205:in > >> `execute' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in `each' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:200:in > >> `execute' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:158:in > >> `invoke_with_call_chain' > >> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > >> 1.8/monitor.rb:242:in `synchronize' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:151:in > >> `invoke_with_call_chain' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/task.rb:144:in > >> `invoke' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:112:in > >> `invoke_task' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in > >> `top_level' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in > >> `each' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:90:in > >> `top_level' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:129:in > >> `standard_exception_handling' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:84:in > >> `top_level' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:62:in > >> `run' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:129:in > >> `standard_exception_handling' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/lib/rake/application.rb:59:in > >> `run' > >> /Library/Ruby/Gems/1.8/gems/rake-0.9.2/bin/rake:32 > >> /usr/bin/rake:19:in `load' > >> /usr/bin/rake:19 > >> Tasks: TOP => doc:guides > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Core" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/rubyonrails-core?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
