Note that there are some explanatory texts on larger screens.

plurals
  1. POWarbler - no such file to load error
    text
    copied!<p>I am following the guide located <a href="http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Apache_Tomcat" rel="nofollow">here</a> to install Redmine to Tomcat, but I am running into problems running Warbler. When I try running</p> <pre><code>ruby /var/lib/gems/1.8/gems/warbler-1.2.1/bin/warble config </code></pre> <p>I get this error</p> <pre><code>/var/lib/gems/1.8/gems/warbler-1.2.1/bin/warble:10:in `require': no such file to load -- warbler (LoadError) from /var/lib/gems/1.8/gems/warbler-1.2.1/bin/warble:10 </code></pre> <p>I searched around and found that this is caused by not requiring rubygems. When I try to fix this and run</p> <pre><code>ruby -rubygems /var/lib/gems/1.8/gems/warbler-1.2.1/bin/warble config </code></pre> <p>I now run into this error</p> <pre><code>warble aborted! no such file to load -- /var/lib/gems/1.8/gems/jruby-rack-1.0.5/lib/jruby-rack-1.0.5.jar /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' </code></pre> <p>When I run the last command with --trace I get this</p> <pre><code>warble aborted! no such file to load -- /var/lib/gems/1.8/gems/jruby-rack-1.0.5/lib/jruby-rack-1.0.5.jar /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' /var/lib/gems/1.8/gems/jruby-rack-1.0.5/lib/jruby-rack.rb:6 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' /var/lib/gems/1.8/gems/warbler-1.2.1/lib/warbler/config.rb:254:in `default_jar_files' /var/lib/gems/1.8/gems/warbler-1.2.1/lib/warbler/config.rb:140:in `initialize' /var/lib/gems/1.8/gems/warbler-1.2.1/lib/warbler/task.rb:47:in `new' /var/lib/gems/1.8/gems/warbler-1.2.1/lib/warbler/task.rb:47:in `initialize' /var/lib/gems/1.8/gems/warbler-1.2.1/lib/warbler/application.rb:25:in `new' /var/lib/gems/1.8/gems/warbler-1.2.1/lib/warbler/application.rb:25:in `load_rakefile' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /var/lib/gems/1.8/gems/warbler-1.2.1/lib/warbler/application.rb:68:in `run' /var/lib/gems/1.8/gems/warbler-1.2.1/bin/warble:11 </code></pre> <p>The file <code>/var/lib/gems/1.8/gems/jruby-rack-1.0.5/lib/jruby-rack-1.0.5.jar</code> exists, so I'm not sure why it is running into problems.</p> <p>Here is the output of <code>gem list</code>, just in case it is useful.</p> <pre><code>abstract (1.0.0) actionmailer (3.0.3, 2.3.5) actionpack (3.0.3, 2.3.5) activemodel (3.0.3) activerecord (3.0.3, 2.3.5) activerecord-jdbc-adapter (1.1.1) activerecord-jdbcmysql-adapter (1.1.1) activeresource (3.0.3, 2.3.5) activesupport (3.0.3, 2.3.5) arel (2.0.7) bouncy-castle-java (1.5.0145.2) builder (3.0.0, 2.1.2) bundler (1.0.7) cgi_multipart_eof_fix (2.5.0) daemon_controller (0.2.5) daemons (1.1.0) erubis (2.6.6) fastthread (1.0.7) file-tail (1.0.5) gdata (1.1.1) gem_plugin (0.2.3) gruff (0.3.6) i18n (0.5.0, 0.4.2) jdbc-mysql (5.1.13) jruby-jars (1.5.6) jruby-openssl (0.7.2) jruby-rack (1.0.5) mail (2.2.14) mime-types (1.16) mongrel (1.1.5) mysql (2.8.1) passenger (3.0.2) polyglot (0.3.1) rack (1.0.1) rack-mount (0.6.13) rack-test (0.5.7) rails (3.0.3, 2.3.5) railties (3.0.3) rake (0.8.7) rmagick (2.13.1) rubyzip (0.9.4) spruz (0.2.2) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.24) warbler (1.2.1) </code></pre>
 

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