Displaying 20 results from an estimated 7000 matches similar to: "SQLite3 error"
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
2006 Jan 20
1
sqlite3
ok... so I''m trying to get sqlite3 up and running on my app but i keep
hitting a wall when i try to install the gem... I''ve got all the right
bits a pieces installed (i can run sqlite from the console and create
databases and such) but gems keeps telling me that it can access the
ruby header file. but, i can can find this file in spotlight not
problems (and no there is nothing
2008 Nov 07
0
SQLITE3 error
I keep getting the following error when trying to use sqlite3 with Ruby.
"./sqlite3.dll: 127: The specified procedure could not be found. -
Init_sqlite3 (LoadError)
./sqlite3.dll from
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'' ..."
I''m using Windows XP.
I tried reinstalling:
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
2006 Aug 02
1
unable to "require" installed gems
Hi,
I''ve installed sqlite3 (via the instructions at
http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite), and all went
well
OSX 10.4.7
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.6.0]
and sqlite3.rb is in
/usr/local/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0/lib
but I can''t <require ''sqlite3''>
caw$ irb
irb(main):001:0> require
2006 Jul 09
8
Can the has_many create() method return an ID?
Hi all,
I have a has_many relationship, Cookbook :has_many Recipes
If I want to create a new recipe in my cookbook I do:
cookbook.recipes.create(data)
It would be nice if I could then easily get the id of the new recipe,
but the create() method doesn''t seem to return anything. Any ideas how?
Thanks in advance!
Cameron
--
Posted via http://www.ruby-forum.com/.
2006 Feb 24
2
sqlite sets a new model''s id to 0 after a save
Example:
car = Car.new
car.id # is nil
car.save
car.id # is 0
I''m wondering if this is expected behavior, or something wrong with
what I''m doing. If it is not expected behaviour, how do I go about
solving it?
2006 Feb 17
7
Create and then show
I am attempting to redirect to the show method after creating a new
object. So, for example, once a new post is created the user is
presented with the new post in a show view. The problem is I can''t get
the correct <at> post.id to send to the show method. Rails always
returns 0 for this value.
Here''s what I have so far:
class ContentController < ApplicationController
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:
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 sqlite3-ruby gem on the VM, which I had
installed on the Mac,
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",
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() in -lrt... no
checking for sqlite3.h... no
make
make: *** No
2009 Apr 21
2
problem with sqlite3....
Hi all,
I am relatively new to ruby and RoR. I created a simple rails proj named
foo by giving command
-> rails foo --database=sqlite3
It created a new rails proj.. So in that I created a simple db class
named user by using the below command
-> ruby script/generate model user
so in db/migrate I got a file named 20090421211825_create_users.rb
created.
and in app/models : user.rb got
2009 May 29
2
[LLVMdev] make TEST=ipodbgopt in sqlite3: problem with TCLSH
On Linux, when I run "make TEST=ipodbgopt" in
MultiSource/Applications/sqlite3 I get:
make[4]: Entering directory
`/home/foad/llvm/poo/build/test-suite/MultiSource/Applications/sqlite3'
Compiling shell.c to Output/shell.bc
/home/foad/svn/llvm-project/test-suite/trunk/MultiSource/Applications/sqlite3/speedtest.tcl
make[4]: execvp:
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
2008 Nov 03
2
Unable to install sqlite3
I am new to Ruby. Try out a web application, but when I tried to access
the page, it has the following error (see ERROR 1 below).
So I thought I may have not installed "sqlite3" and tried downloading
"sqlite_3-6-4.zip" and "sqlitedll_3-6-4.zip", unzipped it and place it
in ruby''s bin directory. Then I run the command:
gem install sqlite3-ruby
But found
2011 Mar 18
6
Could not find sqlite3
I am trying to get Ruby/Rails running on my mac but having some issues.
I created a new rails project "blog_test" trying to get something
working.
When I follow this guide
http://guides.rubyonrails.org/getting_started.html it says to do a
"db:create". This is where I get this error...
Could not find gem ''sqlite3 (>= 0)'' in any of the gem sources listed
2006 Jul 09
1
connecting to sqlite3
I''m having problems connecting to sqlite3.
Here is what my config file looks like:
development:
adapter: sqlite3
dbfile: /tmp/db/test.db
test:
adapter: sqlite3
dbfile: /tmp/db/test.db
Running migrations causes this error to be thrown:
g4:~/sites/rails/test smtlaissezfaire$ rake migrate
(in /Users/smtlaissezfaire/Sites/rails/test)
rake aborted!
no such file to load -- sqlite3
2008 Mar 22
2
[LLVMdev] Adding SQLite3 to llvm test-suite
Hi,
SQLite3 has a very simple build system, and it comes with an extensive
testsuite (over 40000 tests).
It hasn't shown any bugs in LLVM, but it is fairly simple to build [even
turn off features via -D], and can be CPU intensive.
I have integrated SQLite3 into llvm-test's build system, it is too large
to send as attachment (784K), you can get it from here:
2006 Feb 18
4
Using Sqlite3 Activerecord with multiple clients
Hi,
Here is my problem. I have sqlite3 as the db backend for rails. In
addition to Rails, I also have another process that is writing to the db
file so that rails can read from the same db file and get updates. The
rails is responsible mostly for reading (and displaying) but also it
occasionally make modifications to it.
However it seems that the activerecord adapter for sqlite3 is locking
2006 Mar 04
5
SQlite3 hoopup issues on mac os x
friends of the int-arweb.
what does this mean:
(in bold) ActiveRecord::StatementInvalid in Contact#create
SQLite3::SQLException: SQL logic error or missing database: INSERT
INTO contacts
Context:
this happened after I had finished setting up RoR as per the tutorial
at http://maczealots.com/tutorials/ruby-on-rails/
the database, is like, there. is there a nice ruby command like deal
to