Displaying 20 results from an estimated 8000 matches similar to: "sqlite3"
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 May 10
10
Can''t Install Rails with Ruby Gem Dependencies, OS X
Hello Community:
I''m a brand new user of Ruby on Rails, and am having a great deal of
trouble compiling from source. I''m using the tutorial at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
to complete the install.
Readline and Ruby installed just fine, and the Ruby Gems appeared to.
But when I tried to sudo gem install Rails --include-dependencies,
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 Jun 09
8
Installation on OSX...
Hi,
Just got my first Mac. I''m trying to install rails on it, using the
instructions in the rails wiki:
http://wiki.rubyonrails.com/rails/pages/HowtoInstallOnOSXTigerUsingDarwinPorts
I go to install mysql, and the version of mysql supported by
DarwinPorts appears to be 4.1.18. But all the sites appear to only
have 4.1.19 or 4.1.20. So it looks like DarwinPorts is over a month
out
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
2006 Feb 01
5
lighttpd not starting on os X (intel)
Hi all,
I''m followed the instructions written here to prepare my new iMac for
Ruby / Rails developement:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I run script/server I get the following output:
harm-de-laats-computer:~/rails/test harmdelaat$ script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=>
2006 Jul 16
29
Problem installing on Mac OSX
I tried the instruction tutorial on
http://maczealots.com/tutorials/ruby-on-rails/
and in the middle of trying to install fixrbconfig I got an error:
usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably
means you haven''t yet installed Xcode from the Tiger DVD. You won''t be
able to compile Ruby extensions without it. Please install it then rerun
this
2006 Apr 06
2
Apache 1.3 OSX Tiger(intel) mod_fastcgi
Hi,
I''m new to RoR and am trying to get it up and running on my iMac Tiger
(intel).
I was able to get it working with the built in server and am now trying to
get it working with apache 1.3
I''m stuck on getting a universal binary for mod_fastcgi.so. or source code
to compile it myself.
Has anyone been able to get RoR to run successfully with this configuration?
2006 Mar 10
3
Problems installing rubygems -No such file to load: rubygems
Hi,
I''m a bit of a beginner at this and I''m having some problems with
installation, hopefully someone can help.
I''m following the guide for setting up under Mac OS X at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
. I follow the tutorial all the way through without any errors but when
it comes to the MySQL Native Bindings step I get an
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Apr 04
6
Replaced Rails Package with HiveLogic Install - problems
Hi,
I''ve got a strange problem. I had initially installed Rails using Tony
Arnold''s package:
<http://www.tonyarnold.com/articles/category/rails>
and that worked fine. (on OS X, obviously). I then decided to
reinstall using the instructions on the HiveLogic page, to get Ruby
1.8.4:
<http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger>
That
2006 Jan 01
5
db connection problem: Mac X, MySQL 5, Rails 1
This has taken me quite a bit of time to sort out. The problem is this:
Whenever my Rails app tries to query the db, it hangs forever.
Having searched 5000+ emails to this group, I''ve not found an answer to my
problem. I''d be happy to turn on logging, but can''t seem to get the Mac
install of MySQL to boot up with the --log option set. I tried running
mysqld and
2006 Oct 08
3
Rails Sandbox on OS X
So I''ve gotten my hands on Agile Web Development with Rails and want to
follow along with the examples. I want to create a sandbox for
testing/building applications. I''m running OS X and I''ve got the
following installed:
-Macports 1.320
-Ruby 1.8.5 - installed with Macports
-Rubygems 0.9.0
-Rails 1.1.6 - installed using "sudo gem install rails
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 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks,
I''ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure
which way is the best.
Should I go for Fink? OpenDarwin? Or just install them directly on mac.
What about something in Fink, something in OpenDarwin and something directly?
I''m a bit confused, may you please give me a
2006 Mar 18
24
rails is extremely hard to install
I''m on Mac OSX and I''m about to rip my hair out over how hard it is to
install rails. I''ve installed rubygems and am typing "ruby setup.rb" in
the command line and get "No such file or directory."
I''ve never had to use command lines before so this is alien to me. Can''t
they just make installation GUI-based for non-geeks like
2006 Jun 18
2
Installation on Mac Problem
I''m not exactly sure what the root of this problem is. I followed the
following tutuorial on installing Ruby on Rails on Mac OS X:
http://www.hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
Everything is working fine but when I navigate to :
http://localhost:3000/ or go to any other pages that I''m attempting to
serve with RoR I get the following errors in
2006 Jan 14
5
New problem with Mac OS X + rails + mysql. Please help!
All,
I am working through the ''depot'' sample application from the
"Pragmatic Programmers" book on my
powerbook. I was going through the install process on
http://hivelogic.com/articles/2005/12/01/
ruby_rails_lighttpd_mysql_tiger and it seemed to work fine.
But when I try to create the first table, I get the following error,
and I have no idea what this means.
Any
2006 Jun 17
4
ruby script/console fails to launch
Can someone please explain why I am see the following:
<snip>
rails/uploadimage> ruby script/console
Loading development environment.
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file
to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules''
from
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/.