Note that there are some explanatory texts on larger screens.

plurals
  1. POlinecache error when running rails server
    primarykey
    data
    text
    <p>I am getting the following error when running 'rails server' command. Here is the error:</p> <pre><code>maruf@phoenix:/media/resource/RoR/project$ rails server /usr/local/rvm/gems/ruby-1.9.2-p320@project/bundler/gems/linecache19-0.5.13-c0804efc995a/lib/tracelines19.rb:12:in `require': no such file to load -- /usr/local/rvm/gems/ruby-1.9.2-p320@project/bundler/gems/linecache19-0.5.13-c0804efc995a/lib/../lib/trace_nums19 (LoadError) from /usr/local/rvm/gems/ruby-1.9.2-p320@project/bundler/gems/linecache19-0.5.13-c0804efc995a/lib/tracelines19.rb:12:in `rescue in &lt;module:TraceLineNumbers&gt;' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/bundler/gems/linecache19-0.5.13-c0804efc995a/lib/tracelines19.rb:8:in `&lt;module:TraceLineNumbers&gt;' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/bundler/gems/linecache19-0.5.13-c0804efc995a/lib/tracelines19.rb:6:in `&lt;top (required)&gt;' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/bundler/gems/linecache19-0.5.13-c0804efc995a/lib/linecache19.rb:69:in `require' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/bundler/gems/linecache19-0.5.13-c0804efc995a/lib/linecache19.rb:69:in `&lt;top (required)&gt;' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `require' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `each' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `block in require' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `each' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `require' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/bundler-1.2.3/lib/bundler.rb:128:in `require' from /media/resource/RoR/project/config/application.rb:7:in `&lt;top (required)&gt;' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/railties-3.2.11/lib/rails/commands.rb:53:in `require' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/railties-3.2.11/lib/rails/commands.rb:53:in `block in &lt;top (required)&gt;' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap' from /usr/local/rvm/gems/ruby-1.9.2-p320@project/gems/railties-3.2.11/lib/rails/commands.rb:50:in `&lt;top (required)&gt;' from script/rails:6:in `require' from script/rails:6:in `&lt;main&gt;' </code></pre> <p>Here is the Gemfile:</p> <pre><code>source 'https://rubygems.org' gem 'rails', '3.2.11' # Bundle edge Rails instead: # gem 'rails', :git =&gt; 'git://github.com/rails/rails.git' gem 'mysql2' gem 'zclip-rails' # Gems used only for assets and not required # in production environments by default. group :assets do gem 'sass-rails', '~&gt; 3.2.3' gem 'coffee-rails', '~&gt; 3.2.1' # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', :platforms =&gt; :ruby gem 'uglifier', '&gt;= 1.0.3' gem "therubyracer" gem "less-rails" #Sprockets (what Rails 3.1 uses for its asset pipeline) supports LESS gem "twitter-bootstrap-rails" end gem 'jquery-rails' # To use ActiveModel has_secure_password # gem 'bcrypt-ruby', '~&gt; 3.0.0' # To use Jbuilder templates for JSON # gem 'jbuilder' # Use unicorn as the app server # gem 'unicorn' # Deploy with Capistrano # gem 'capistrano' # To use debugger # gem 'debugger' gem 'linecache19', '&gt;= 0.5.13', :git =&gt; 'https://github.com/robmathews /linecache19-0.5.13.git' gem 'ruby-debug-base19x', '&gt;= 0.11.30.pre10' gem 'ruby-debug-ide', '&gt;= 0.4.17.beta14' </code></pre> <p>Here is the output of 'gem list' command:</p> <pre><code>actionmailer (3.2.11) actionpack (3.2.11) activemodel (3.2.11) activerecord (3.2.11) activeresource (3.2.11) activesupport (3.2.11) archive-tar-minitar (0.5.2) arel (3.0.2) builder (3.0.4) bundler (1.2.3) coffee-rails (3.2.2) coffee-script (2.2.0) coffee-script-source (1.4.0) columnize (0.3.6) commonjs (0.2.6) debugger-linecache (1.1.2) debugger-ruby_core_source (1.1.7) erubis (2.7.0) execjs (1.4.0) hike (1.2.1) i18n (0.6.1) journey (1.0.4) jquery-rails (2.2.0) json (1.7.6) less (2.2.2) less-rails (2.2.6) libv8 (3.11.8.13 x86-linux) linecache19 (0.5.12) mail (2.4.4) mime-types (1.19) multi_json (1.5.0) mysql2 (0.3.11) polyglot (0.3.3) rack (1.4.4) rack-cache (1.2) rack-ssl (1.3.2) rack-test (0.6.2) rails (3.2.11) railties (3.2.11) rake (10.0.3) rbx-require-relative (0.0.9) rdoc (3.12) ref (1.0.2) ruby-debug-base19 (0.11.25) ruby-debug-base19x (0.11.30.pre10) ruby-debug-ide (0.4.17.beta16, 0.4.17.beta14) ruby-debug19 (0.11.6) ruby_core_source (0.1.5) sass (3.2.5) sass-rails (3.2.6) sprockets (2.2.2) therubyracer (0.11.3) thor (0.17.0) tilt (1.3.3) treetop (1.4.12) twitter-bootstrap-rails (2.2.0) tzinfo (0.3.35) uglifier (1.3.0) zclip-rails (0.0.1) </code></pre> <p>I am using </p> <blockquote> <blockquote> <p>Rails 3.2.11 and ruby 1.9.2p320 (2012-04-20 revision 35421) [i686-linux]</p> </blockquote> </blockquote> <p>How can I solve this problem to run the server?</p>
    singulars
    1. This table or related slice is empty.
    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