I am following this guide ATM - http://guides.rubyonrails.org/getting_started.html#getting-up-and-running-quickly-with-scaffolding
I am having trouble trying to run the following ruby script on OSX (Leopard). require \'sqlite3\' database = SQLite3::Database.new( \"new.database\" )
I\'m running rspec on a rails 3.0 environment. We\'ve just switched to using sqlite3 in memory database for tests.
The latest SQLite3 library available on CentOS 5.6 and which is installed is version 3.3.6.It\'s my understanding that the sqlite3 ge开发者_JAVA技巧m needs version 3.6 or higher.
I tried to use SQLite databse for my jruby project. When i tried to install sqlite3 gem getting the following error
I have an invitations table which looks like this sqlite> .schema invitations CREATE TABLE \"invitations\"
I\'m not able to build sqlite3-ruby gem on dreamhost (trying to setup diaspora), I get following errors
I am trying to start up my first rails project. Im on Mac OS X 10.6.7, have Xcode4 installed, ruby 1.9.2, rails 3.0.1
Whenever I run the command rvmsudo rake db:migrate (I need to use rvmsudo because I\'m using rvm), the sqlite3 files generated are owned by root.
When I try install sqlite3-ruby, I get # gem install sqlite3-ruby Building native extensions.This could take a while...