search for: sqlite3

Displaying 20 results from an estimated 836 matches for "sqlite3".

Did you mean: sqlite
2007 Jun 02
2
Unit tests breaks with sqlite
Hi, I''m using an sqlite3 database with Rails and have some trouble running unit tests What I''ve done is * rails my_app * edited database.yml to use sqlite3 adapter, db/my_app_development and db/my_app_test * ruby script\generate model user * edited model class User < ActiveRecord::Base validates_p...
2009 Jun 19
4
sqlite3....Ugghhh`
Hi all, I have been reading and trying all the google links/forums for 2 nights now on how to fix my issue with getting sqlite3 installed so I can use rails. Im running SLED 11. plese help! thank you! $ uname -a Linux linux-7lbv 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux $ gem install sqlite3-ruby Building native extensions. This could take a while... ERROR: Error installing sqlite3-rub...
2007 Nov 15
2
Story adapter and SQLite Was:What command to run all stories?
...count beans > > Scenario: add one plus one > > Given an addend of 1 (PENDING) > And an addend of 1 (PENDING) > > When the addends are added (PENDING) > > Then the sum should be 2 (PENDING) > And the corks should be > popped/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/errors.rb:94:in > `check'': SQL logic error or missing database (SQLite3::SQLException) > from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/resultset.rb:76:in > `check'' > from /usr/local/lib/ruby/gems/1.8/gems/s...
2006 Nov 04
0
gem install sqlite3-ruby error
when i install typo on debian, appear error like this, could you tee me how to fix this bug?: debian:~# gem install sqlite3-ruby Need to update 4 gems from http://gems.rubyforge.org .... complete Select which gem to install for your platform (i486-linux) 1. sqlite3-ruby 1.1.0 (mswin32) 2. sqlite3-ruby 1.1.0 (ruby) 3. sqlite3-ruby 1.0.1 (mswin32) 4. sqlite3-ruby 1.0.1 (ruby) 5. sqlite3-ruby 1.0.0 (ruby) 6. sqlite3-...
2007 Mar 01
1
Problems with RC1 & Rails Controllers
...rspec/lib" "/Users/smtlaissezfaire/Sites/rails/ dictionary/vendor/plugins/rspec/bin/spec" "spec/controllers/ my_controller_controller_spec.rb" --options "/Users/smtlaissezfaire/ Sites/rails/dictionary/config/../spec/spec.opts" /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/ errors.rb:94:in `check'': SQL logic error or missing database (SQLite3::SQLException) from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ lib/sqlite3/resultset.rb:76:in `check'' from /opt/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-...
2007 Dec 19
1
Prelink: Something's happening here
Can anybody explain to me what's going on here? This is a CentOS 4 i386 system. [root at edison ~]# rm -f /etc/prelink.cache [root at edison ~]# /etc/cron.daily/prelink [root at edison ~]# rpm -qf /usr/bin/sqlite3 sqlite-3.3.6-2 [root at edison ~]# rpm --verify sqlite prelink: /usr/bin/sqlite3: at least one of file's dependencies has changed since prelinking S.?..... /usr/bin/sqlite3 [root at edison ~]# rpm -q --dump sqlite | grep "bin/sqlite3" /usr/bin/sqlite3 29044 1178360479 70e7158185e0...
2007 Nov 15
5
What command to run all stories?
...accountant I want to add numbers So that I can count beans Scenario: add one plus one Given an addend of 1 (PENDING) And an addend of 1 (PENDING) When the addends are added (PENDING) Then the sum should be 2 (PENDING) And the corks should be popped/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/errors.rb:94:in `check'': SQL logic error or missing database (SQLite3::SQLException) from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/lib/sqlite3/resultset.rb:76:in `check'' from /usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/li...
2005 Dec 22
0
Getting AdapterNotSpecified on simple script/generate
So even after installing the sqlite3-ruby gem without issues, I still get this error when I try to generate a model... Attempting local installation of ''sqlite3-ruby'' Local gem file not found: sqlite3-ruby*.gem Attempting remote installation of ''sqlite3-ruby'' Select which gem to install for your p...
2009 Apr 25
5
SQLite3::SQLException: unable to open database file
Hi. I was trying to code same as the rails guide : getting started. I could follow steps to 6.3 Working with Posts in the Browser. (setting home page, creating a resource, running a migration) After clicked create button, errors are occured. SQLite3::SQLException: unable to open database file: INSERT INTO "posts" ("name", "created_at", "title", "updated_at", "content") VALUES (''123123123'', ''2009-04-25 22:23:51'', ''12312312'', '...
2010 Dec 22
5
rvm, rails and sqlite
...ion of rails (2.1.0) so i decided to use rvm. however since i''m somewhat new to ruby and rails i''m having issues. i created a gemset with rvm for my project, installed rails 2.1.0 into it. after that i created a project and a scaffolding for it. however i bumped onto an issue with sqlite3 (or sqlite3-ruby). it seems to me that sqlite3-ruby gem is not installed. i tried installing it using gem install sqlite3-rub but here is what i''m getting Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem n...
2006 Jun 15
6
Sqlite3 test fails in Rails app
Greetings: I am using Sqlite3 database with my Rails app. When I try and run "rake tests" for the app it always fails with the error: ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time)...
2008 Nov 12
1
gem ruby-sqlite3 install error
i am tryin' to install ruby-sqlite3 via gem, but it keeps givin' me this output: mathilda ~ # gem install sqlite3-ruby Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb install sqlite3-ruby checking for fdatasync() i...
2009 Sep 18
2
sqlite3-ruby Not Needed for Rails?
I''ve always thought the sqlite3-ruby gem is needed for Rails apps to use SQLite3 databases, until the other day. I set up a VM running Ubuntu 9.0.4, 32-bit server edition with Rails 2.2.2 to host an app I had written (by the way, the VM was surprisingly easier to setup than the Mac it replaced). I had neglected to install the s...
2010 Sep 04
8
sqlite3/sqlite3_native (LoadError)
Hi, I have installed ruby 1.9.2, rubygems 1.3.7 and rails 3.0. created a demo application. when I start ''rails server'' I get: ''require'': no such file to load -- sqlite3/sqlite3_native (LoadError) any idea ? Thank you. Dani -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6...
2010 Oct 23
4
Could not find 'sqlite3-ruby' error in Ubuntu
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 sources.* *Try running `bundle install`* 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 "*rai...
2008 Sep 02
14
SQL 3 Lite Error
Hello everyone, In my controller, I put the following code: render :text => "Hello World!" It popped up with this error: " MissingSourceFile in BlogController#index no such file to load -- sqlite3 RAILS_ROOT: C:/InstantRails/rails_apps/scblog Application Trace | Framework Trace | Full Trace c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' c:/ruby/lib/ruby/gems/1...
2006 Mar 30
13
Trying Agile book, found problem
...identical test/fixtures/products.yml I understand that a similar problem was reported and fixed here http://dev.rubyonrails.org/ticket/2537 But my problem isn''t the same as his. He''s only missing one thing - I''m missing many things. I''m using Locomotive w/ SQLite3 and OSX. Thanks very much. -- Posted via http://www.ruby-forum.com/.
2013 Feb 26
2
Will FXRuby be ready to use with Ruby 2.0.0 x64 and x32 on Windows?
...#39;t comment further on the requirements.Again, 2.0.0 is brand new, lot of things might not work, but basic Ruby + DevKit setup should work out of the box along the installation instructions." second: I''ve read this topic where a Ruby user have the same problem but with another gem(sqlite3): http://www.ruby-forum.com/topic/4411307#new. The most important thing of the topic is: "On Sun, Feb 24, 2013 at 6:58 PM, Richard Campbell <betam4x at gmail.com> wrote: > Awesome! Great work! Though I am already having issues with the 64 bit > version and sqlite3. > sqlite3...
2008 Apr 12
12
sqlite3.dll problem
Hi I''m triying to begin developing in ruby on rails, and I''ve instaled all the components but there is a problem with the file sqlite3.dll. When I try to execute my first example in my web browser apears an alert that says sqlite3.dll is not found. I''m working on windows XP with firefox and the server is WEBrick. If someone knows how can I resolve the problem please response. Thanks for reading :) Attachments: http://ww...
2006 Apr 11
0
Unit test is failing when I am using SQLite
...cument_test.rb: require File.dirname(__FILE__) + ''/../test_helper'' class DocumentTest < Test::Unit::TestCase fixtures :documents # Replace this with your real tests. def test_truth assert true end end error: C:/rails/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0-mswin32 /lib/sqlite3/errors.rb:94:in `check'': SQL logic error or missing database (SQLit e3::SQLException) from C:/rails/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby- 1.1.0-mswin32/lib/sqlite3/resultset.rb:76:in `check'' from C:/rails/Inst...