Hi all, please help me:
First time I totally had to delete all ruby and Rails because of this
problem. How to solve it well?
The message is:
Could not find gem ‘sqlite3-ruby (>= 0, runtime)’ in any of the gem
I have Ubuntu Linux.
ruby -v = 1.9.2p0
gem -v = 1.3.7
rails -v = error message again, 2 hours ago it was “rails 3”
If I type “rails my_app” it does not work, if I type "rails new my:app,
works, which means Rails 3 is running and working well if I want to
an app, but does not, if I want to use “rails server”.
I googled it, unfortunately not any updated and linuxbased answer which
could trust in.
“gem environment” gives this:
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- GEM PATHS:
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
Why does it saygem path is 1.8 and ruby executable is 1.8 if I have
1.9 and if I ask ruby -v it says 1.9?
How to update gem executables with sqlite3?
Thanks a lot!