Note that there are some explanatory texts on larger screens.

plurals
  1. PORails on Netbeans: Uncaught exception: no such file to load -- script/server or script/console
    primarykey
    data
    text
    <p>I'm trying to initiate a Rails 3 console from Netbeans 6.9.1 (just upgraded) and fail with </p> <pre><code>Uncaught exception: no such file to load -- script/console </code></pre> <p>The debugger fails as well on a similar error (<code>... -- script/server</code>).</p> <p>The project I'm trying to run this on was previously a Rails 2.3.8 app which I upgraded, and Netbeans still tries to do the good old <code>ruby script/console</code> command rather than <code>rails c</code>. </p> <p>I tried to install <a href="http://netbeans-org.1045718.n5.nabble.com/Cannot-use-Run-Debug-or-Rails-Console-NB-6-9-1-nightly-and-Rails-beta-td2974503.html" rel="nofollow">the patch described here</a>, but it didn't work. <code>gem list</code> returns:</p> <pre><code>*** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.1, 3.0.0.rc2) actionpack (3.0.1, 3.0.0.rc2) activemodel (3.0.1, 3.0.0.rc2) activerecord (3.0.1, 3.0.0.rc2) activeresource (3.0.1, 3.0.0.rc2) activesupport (3.0.1, 3.0.0.rc2) archive-tar-minitar (0.5.2) arel (2.0.2, 1.0.1, 1.0.0.rc1) builder (2.1.2) bundler (1.0.5, 1.0.0.rc.6) columnize (0.3.2) crack (0.1.8) erubis (2.6.6) httparty (0.6.1) i18n (0.4.2) jrails (0.6.0) linecache19 (0.5.11) mail (2.2.9) mime-types (1.16) minitest (2.0.0, 1.6.0) mysql (2.8.1 x86-mingw32) mysql2 (0.2.6 x86-mingw32) nokogiri (1.4.3.1 x86-mingw32) pik (0.2.8) polyglot (0.3.1) rack (1.2.1) rack-mount (0.6.13) rack-test (0.5.6) rails (3.0.1, 3.0.0.rc2) railties (3.0.1, 3.0.0.rc2) rake (0.8.7) rdoc (2.5.11, 2.5.8) ruby-debug-base19 (0.11.24) ruby-debug-ide (0.4.9) ruby-debug19 (0.11.6) ruby_core_source (0.1.4) sqlite3-ruby (1.3.1 x86-mingw32) thor (0.14.4) treetop (1.4.8) tzinfo (0.3.23) uuidtools (2.1.1) </code></pre> <p>I'm using ruby 1.9.2 on Windows 7 with pik as an rvm alternative. My path has the <code>c:\ruby192\bin</code> directory as a default, and my other 1.8.7 ruby version has also Rails 3 installed. The project on Netbeans is configured to work with the 1.9.2 ruby platform, and "Gem Manager" for this platform shows the Rails 3 gem in the list.</p> <p>Any thoughts on how to make it work?</p> <p>Many thanks! Amit</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.
 

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