Hello à tous, Nouveau dans RoR, j'ai voulu me lancer :)... pas si facile on dirai. J'ai suivi le tuto ici :http://rubyonrails.org/download jusqu'a :rails server J'ai cette erreur : Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in your Gemfile. Il faut donc installer sqlite3 avec ruby. J'ai visité plusieurs forums et essayer plusieurs choses, comme : - sudo gem install sqlite3-ruby - sudo apt-get install sqlite3 libsqlite3-dev - sudo gem install sqlite3-ruby -- --with-sqlite3-include=/chemin_vers_sqlite3 J'ai toujours cette erreur : Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb extconf.rb:1:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:1 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.3/ext/sqlite3_api/gem_make.out Quelqu'un a déjà eu çà ? Merci de votre aide, car là, je suis bloqué Fabrice
on 2011-03-20 11:11
on 2011-03-21 08:48
Hi, Voici la solution : sudo apt-get install ruby-dev and sudo gem install sqlite3-ruby Merci à la personne de ruby.developpez.com :) Fabrice
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.