Note that there are some explanatory texts on larger screens.

plurals
  1. PORVM setup, rake::doc, and "rake aborted! no such file to load -- initializer"
    primarykey
    data
    text
    <p>So I've wanted to install RVM for a while on OSX. I finally got it working after figuring out I had to download the latest XCode. I installed ruby 1.9.2 and used these commands to create a new gemset in rvm:</p> <pre><code>rvm gemset create rails235 rvm 1.9.2@rails235 gem install rails -v 2.3.5 </code></pre> <p>Then I went into one of my old apps that used rails 2.3.5 and tried to run some rakes and any rake I run I seem to get this error:</p> <pre><code>rake aborted! no such file to load -- initializer </code></pre> <p>Also, semi related, right now I'm trying to get rdoc setup. I've never used before and I'm typing in "rake doc::app" and I'm getting that same error. </p> <p>The full rake with --trace is this:</p> <pre><code>$ rake doc::app rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) rake aborted! Don't know how to build task 'doc::app' (See full trace by running task with --trace) brenton-wejrowskis-macbook-pro-2:bizzark wejrowski$ rake doc::app --trace rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+) rake aborted! Don't know how to build task 'doc::app' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/task_manager.rb:49:in `[]' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:111:in `invoke_task' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:90:in `block (2 levels) in top_level' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:90:in `each' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:90:in `block in top_level' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:62:in `block in run' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/lib/rake/application.rb:59:in `run' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/gems/rake-0.9.2/bin/rake:32:in `&lt;top (required)&gt;' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/bin/rake:19:in `load' /Users/wejrowski/.rvm/gems/ruby-1.9.2-p180@global/bin/rake:19:in `&lt;main&gt;' </code></pre> <p>No idea what to do next!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload