Note that there are some explanatory texts on larger screens.

plurals
  1. POcan't run script/console from ubuntu upgrade 9.10 -> 10.04
    primarykey
    data
    text
    <p>I just upgraded my ubuntu from 9.10 to 10.04, before the upgrade everything was fine, but after the upgrade I can no longer run script/console.</p> <pre><code>Loading development environment (Rails 2.3.10) /usr/local/lib/site_ruby/1.9.1/rubygems.rb:779:in `report_activate_error':Gem::LoadError: RubyGem version error: rails(2.3.4 not = 2.3.10) /usr/lib/ruby/1.9.1/irb/init.rb:264:in `require':LoadError: no such file to load -- console_app /usr/lib/ruby/1.9.1/irb/init.rb:264:in `require':LoadError: no such file to load -- console_with_helpers # gem -v 1.5.2 # ruby -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] # rails -v Rails 2.3.10 </code></pre> <p>Google was not much help so far :(</p> <p>Update: After trying several options, I updated to 10.10 and now getting following errors</p> <pre><code>$ ruby -v ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux] $ gem -v 1.6.2 $ rails -v Rails 2.3.10 $ gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.6.2 - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i686-linux] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: /usr/local/bin/ruby - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /usr/local/lib/ruby/gems/1.9.1 - /home/recmend/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources =&gt; true - :verbose =&gt; true - :benchmark =&gt; false - :backtrace =&gt; false - :bulk_threshold =&gt; 1000 - REMOTE SOURCES: - http://rubygems.org/ $ whereis ruby ruby: /usr/bin/ruby1.8 /usr/bin/ruby /usr/lib/ruby /usr/local/bin/ruby /usr/local/lib/ruby /usr/share/man/man1/ruby.1.gz $ whereis gem gem: /usr/bin/gem /usr/local/bin/gem $ script/console Loading development environment (Rails 2.3.10) /usr/local/lib/site_ruby/1.9.1/rubygems/source_index.rb:68:in `installed_spec_directories': undefined method `path' for Gem:Module (NoMethodError) from /usr/local/lib/site_ruby/1.9.1/rubygems/source_index.rb:58:in `from_installed_gems' from /usr/local/lib/site_ruby/1.9.1/rubygems.rb:883:in `source_index' </code></pre> <p>Off to next problem...</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