[Rails] Re: Problems with SQLite3

2011-03-22 Thread Hashbang Hashbang
Bryan Crossland wrote in post #988721: > Your migration failed and you have a partially migrated database in > SQLite. > I would suggest dropping and recreating your test database by hand and > then running your tests again. Unfortunately, that did not help. I deleted the database and recreated

[Rails] Re: Problems with Sqlite3 and apt-get

2011-03-03 Thread Scott L Gu
After I re-installed Ruby, 'rails console' works. Really appreciate your helps, Frederick ! Scott On Mar 3, 6:32 am, Frederick Cheung wrote: > On Mar 3, 1:44 pm, Scott L Gu wrote: > > > > > > > Thanks, Frederick, it works. I can go one step further now. > > > However, I still have a problem w

[Rails] Re: Problems with Sqlite3 and apt-get

2011-03-03 Thread Frederick Cheung
On Mar 3, 1:44 pm, Scott L Gu wrote: > Thanks, Frederick, it works. I can go one step further now. > > However, I still have a problem with "rails console":      `require': > no such file to load -- readline (LoadError) > > I saw some solution to do :    yum install ncurses-devel readline- > dev

[Rails] Re: Problems with Sqlite3 and apt-get

2011-03-03 Thread Scott L Gu
Thanks, Frederick, it works. I can go one step further now. However, I still have a problem with "rails console": `require': no such file to load -- readline (LoadError) I saw some solution to do :yum install ncurses-devel readline- devel I did it. However, the next steps should be : c

[Rails] Re: Problems with Sqlite3 and apt-get

2011-03-03 Thread Frederick Cheung
On Mar 3, 10:38 am, Scott L Gu wrote: > I am new to Ruby, and have a problem to install Sqlite3. > > After searching the previous posts, I found a solution, first to do : >   sudo apt-get install libsqlite3-0 libsqlite3-dev > > However, I am on an AWS Ec2 instance which don't have apt-get, only