Displaying 20 results from an estimated 3000 matches similar to: "sqlite3.dll problem"
2008 Apr 11
2
issues on Net:HTTP
in cotroller:
@url=URI.parse(''http://google.com.sg/webhp'')
@res = Net::HTTP.get_response(@clarifyurl)
in view: <%=@res.body>
this page displayed as
301 Moved
The document has moved here
what''s wrong with my code, I want to get the correct reponse HTML
content from google.
--~--~---------~--~----~------------~-------~--~----~
You received this message
2008 Apr 16
12
how to accomplish pagination in RoR
Hi Folks,
I am just trying to get started up in RoR, I have done a simple
application of add, edit, delete....
I am now trying to accomplish pagination in RoR, I referred a few
tutorials, however none of the examples that i tried from there,
seemed to work error free..... I have heard that lots of things have
deprecated in RoR, can someone please post me a detailed report of how
i can
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/.
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
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?
2010 May 15
2
sqlite3 module not found
Hi, I''m trying to follow the Rails tutorial found here,
http://guides.rubyonrails.org/getting_started.html and when I go to run
$ rake db:create I get this wonderful error of sqlite3.dll missing.
So, I just went to my ruby directory, and ran $ gem install sqlite3-ruby
sqlite3
I''m not entirely sure what to do. Any ideas?
--
Posted via http://www.ruby-forum.com/.
--
You
2008 Apr 08
7
SQLite3 error
I am trying to install SQLite3 on my Rails app but I keep getting this
error:
./sqlite3.dll: 127: The specified procedure could not be found. -
Init_sqlite3 (LoadError)
--
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
2007 Dec 21
7
missing sourcefile (no such file to load)-- squlite3 error
hi all,
i got a problem of no such file to load -- sqlite3, after installing
new rails version yesterday...
the uninstallation gone through this way...
$ gem uninstall rails
successfully uninstalled rails-1.2.3
Remove executables and scrips for
''rails'' in addition to the gem ? [Y/n] - then i gave it ''Y''
*** as like it gone
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
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
2007 Aug 10
2
yaml for mysql
Hi, I''m writing my first application with RoR and would like to use the
migrate files for the DB definition. Where can I find the correct syntax
to use?
Thank you.
--
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
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:
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
2007 Nov 16
2
strange Mongrel 500 error
Hi,
When I start mongrel as a non root user, I will get an 500.
In my log/production.log I see this:
file /home/paul/rails/Test/releases/20071115232111/tmp/sessions//
ruby_sess.9a975fe464a2f6ba not readable
...
when I start mongrel as root everything works fine.
Can anyone imagine whats up there?
Thanks in advance,
Paul
PS: is it a bad idea to run mongrel as root? (security etc.)
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 platform (powerpc-darwin8.3.0)
1. sqlite3-ruby 1.1.0 (mswin32)
2008 Apr 11
7
Net::SMTPAuthenticationError
Hey guys,
I want to send an email via ROR and I have put this code at the very end
in the config/environment.rb file-
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.logger = nil
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.smtp_settings = {
:address => "[my smtp server]",
:port => 25,
:domain
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_presence_of :name
validates_uniqueness_of :name
end
*
2010 Dec 06
57
Which RoR to run on Mac OS X for a particular RoR app.
I am extremely new to RoR, I am. I am slowly but surely learning Ruby
and the Rails concepts but the environment is confusing.
I have an application that was written for my company in RoR. It is on a
ubuntu server that is going to be shut down. I want to move the app to
my two Macs (one Leopard and one Snow Leopard). We want to keep the app
to demo a business concept but it can run locally
2007 Nov 15
2
Story adapter and SQLite Was:What command to run all stories?
Hi, by switching to MySQL from SQLite, it fixed the problem. I ran
rdebug on it and it is trying to call
I ActiveRecord::Base.connection.begin_db_transaction. from
ActiveRecordSafetyListener.scenario_started. I don''t think SQLLite
likes transactions.
Ed
On Nov 15, 2007 10:56 AM, Ed Howland <ed.howland at gmail.com> wrote:
> If I run the story stand-alone, I get:
> ruby