# Virtual rails\>\>still learning

**URL:** <https://www.ruby-forum.com/t/virtual-rails-still-learning/192553>\
**Category:** Rails\
**Created:** [August 2, 2010, 12:34am UTC](https://www.ruby-forum.com/t/virtual-rails-still-learning/192553 "2010-08-02T00:34:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 2, 2010, 12:34am UTC](https://www.ruby-forum.com/t/virtual-rails-still-learning/192553/1 "2010-08-02T00:34:03Z")

</div>

I am running windows vista on my lap top. I installed virtual box and  
virtual rails on this laptop and it is running linux. I am very new at  
learning rails. So far the only thing I have done is create a blog  
application by typing in:  
mkdir rails\_projects  
cd rails\_projects  
rails first\_app

so now im at the point where I am typing the following:

1. rails blog
2. cd blog
3. script server

after this I go to my web server and type in localhost/3000, after  
doing this I click the link that says “about your applications  
environment”. When I click this I get an error message saying “we’re  
sorry, but something went wrong” Is this because I dont have a data  
base running like SQlite? I typed sqlite into the terminal and it  
tells me what version I have so Im assuming that its installed. Where  
do I go from here? Im very much a novice at this point and any  
feedback would be appreciated.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 2, 2010, 2:05am UTC](https://www.ruby-forum.com/t/virtual-rails-still-learning/192553/2 "2010-08-02T02:05:24Z")

</div>

Hi Rich,

It would help if you told us which Linux distribution you are using.  
But in order to use Sqlite with Ruby on Rails, you need version Sqlite  
3. You should also install the Sqlite3 development libraries for your  
Linux distribution. You shouldn’t also forget to install the  
development tools so that your gems can be compiled against the  
development libraries. Finally, you should install the sqlite3-ruby  
gem with the command [sudo] gem install sqlite3-ruby.

You can search Google on how to setup Rails on your Linux  
distribution, and if you do find some issues, then come back to us  
telling us which Linux distribution you are using and the problems you  
are facing.

Regards,

Fidel.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 2, 2010, 2:46am UTC](https://www.ruby-forum.com/t/virtual-rails-still-learning/192553/3 "2010-08-02T02:46:23Z")

</div>

Fidel,

Thanks for your reply. I am using Linux Mint. does that sound  
right? I dont know how to look up what linux distribution I have  
installed. Also I typed in sqlite3 in my terminal and i got back  
SQLite version 3.6.16. How do I install sqlite3 development  
libraries?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 2, 2010, 9:24am UTC](https://www.ruby-forum.com/t/virtual-rails-still-learning/192553/4 "2010-08-02T09:24:57Z")

</div>

Hi Rich,

You’re perfectly rigth with mint, since it’s 100% based on ubuntu, all  
ubuntu recipes will work with mint.

that being said, sounds to me that you need to create the sqlite  
database instance that is related to your project

an important step in your rails learning will be to learn to find and  
understand the log files.  
the error message you have in your browser is for the end users  
more explicit and detailed informations are located in the  
RAILS\_PROJECT/log/development.log file

you can edit it with gedit, or use the following command lines :  
“more development.log” : see the whole file, step by step  
“cat development.log” : go directly at the end of the file

maybe you can find your error int this log file and paste it here so  
we can help you to fix the problem 🙂

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 2, 2010, 9:47am UTC](https://www.ruby-forum.com/t/virtual-rails-still-learning/192553/5 "2010-08-02T09:47:47Z")

</div>

On 1 August 2010 23:32, Rich d [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
Where

> do I go from here? Im very much a novice at this point and any  
> feedback would be appreciated.

You have not created a DB or configured your application to use one  
(Sqlite is installed, as you’re using the VirtuaRails VM).

Continue following the tutorials. There are loads of resources (from  
the “Agile Web D. with Rails” book, to the RailsGuides at  
[http://guides.rubyonrails.org/](http://guides.rubyonrails.org/) and more). They take you through  
step-by-step, and if you get stuck at any point, you can point us the  
the page/url and we can see exactly what you were supposed to be  
trying.
