# Stuck with rails installation.

**URL:** <https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348>\
**Category:** rubyonrails-talk\
**Created:** [March 3, 2015, 1:53pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348 "2015-03-03T13:53:28Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [March 3, 2015, 1:53pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/1 "2015-03-03T13:53:28Z")

</div>

Hello folks,

I have downloaded the rails installer(ruby 2.1) from "[http://railsinstaller.org/en&quot;\](http://railsinstaller.org/en&quot;%5C). Installed it on my 32 bit machine. It installed nicely.

It even created a skeleton app. Inside that app, I did a "bundle install" just to make sure that every gem come in my application. I could see numerous gems got installed after it. To my excitement, even server was also running(rails s). But what happened later bursts my excitement.

When I type "localhost:3000" in my browser, I see below error which I am not able to get rid of.

ERROR LoadError: Please install the sqlite3 adapter: 'gem install ativerecord-dqlite-adapter' \<sqlite3 is not part of the bundle. Add it to Gemfile.\>

Fair enough message.

Big BUT is that I can not even install sqlite3 manually with gem install sqlite3 or after adding it GemFile. It was already added in the GemFile though.

I won't mind sharing my Gemfile if any one is interested to help me.

Cheers!

---

<div class="post-metadata">

**Author:** ![Paramnoor\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@Paramnoor\_Singh](https://discuss.rubyonrails.org/u/Paramnoor_Singh)\
**Post date:** [March 3, 2015, 1:57pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/2 "2015-03-03T13:57:14Z")

</div>

Did You do some changes in config database.yml file for accessing database also which database you are using?

---

<div class="post-metadata">

**Author:** ![hassan](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/hassan/32/714_2.png) [@hassan](https://discuss.rubyonrails.org/u/hassan)\
**Post date:** [March 3, 2015, 1:57pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/3 "2015-03-03T13:57:26Z")

</div>

Why not?

---

<div class="post-metadata">

**Author:** ![Sushruth\_Sivaramakri](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Sushruth\_Sivaramakri](https://discuss.rubyonrails.org/u/Sushruth_Sivaramakri)\
**Post date:** [March 3, 2015, 1:59pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/4 "2015-03-03T13:59:42Z")

</div>

Hello Hemant, I have specifically started a blog just for windows users working on rails.

Please check [this](http://sushruth.me/).

It has just a couple of posts, but will definitely help you.

Suggestions welcome

Regards,

Sushruth

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [March 3, 2015, 2:04pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/5 "2015-03-03T14:04:51Z")

</div>

> Why not?

I am sorry! Is that a question or you are asking me to share my GemFile?

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [March 3, 2015, 2:06pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/6 "2015-03-03T14:06:30Z")

</div>

Paramnoor Singh wrote in post #1169545:

> Did You do some changes in config database.yml file for accessing database also which database you are using?

Hey Paramnoor,

Ohh. Do I need to install MySql first? I am not using any database right now. I relying on sqlite completely.

---

<div class="post-metadata">

**Author:** ![Norbert\_Melzer](https://avatars.discourse-cdn.com/v4/letter/n/e0b2c6/32.png) [@Norbert\_Melzer](https://discuss.rubyonrails.org/u/Norbert_Melzer)\
**Post date:** [March 3, 2015, 2:09pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/7 "2015-03-03T14:09:10Z")

</div>

He is asking you to share the errormessage you get when trying to install manually, commands you invoke included! Oh an please don’t screenshot, but copy and paste your terminal.

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [March 3, 2015, 2:17pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/8 "2015-03-03T14:17:03Z")

</div>

Norbert Melzer wrote in post #1169549:

> He is asking you to share the errormessage you get when trying to install manually, commands you invoke included! Oh an please don't screenshot, but copy and paste your terminal.

Ohh. I apologise for not understanding his concern.. Message I get is:

> gem install sqlite3

ERROR: Could not find a valid gem 'sqlite3' \<\>= 0\>, here is why: Unable to download data from [https://rubygems.org/](https://rubygems.org/) - SSL\_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed \<[https://api.rubygems.org/latest\_specs.4.8.gz&gt](https://api.rubygems.org/latest_specs.4.8.gz&gt);

---

<div class="post-metadata">

**Author:** ![Sushruth\_Sivaramakri](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Sushruth\_Sivaramakri](https://discuss.rubyonrails.org/u/Sushruth_Sivaramakri)\
**Post date:** [March 3, 2015, 2:20pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/9 "2015-03-03T14:20:10Z")

</div>

Hemant, visit this page [https://gist.github.com/luislavena/f064211759ee0f806c88](https://gist.github.com/luislavena/f064211759ee0f806c88) Follow either of the methods given there.

Regards,

Sushruth

---

<div class="post-metadata">

**Author:** ![11155](https://avatars.discourse-cdn.com/v4/letter/1/d26b3c/32.png) [@11155](https://discuss.rubyonrails.org/u/11155)\
**Post date:** [March 3, 2015, 4:37pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/10 "2015-03-03T16:37:38Z")

</div>

Sushruth,

Thanks. This was a good lead.

But my problem does not end here. Now, I seems to have caught in some other mess, it seems.

After copying the certificate from(gist.github..), I tried to start my server again. All it gives me is:

'require' : can not load such file -- sqlite3/sqlite\_native \<LoadError\> from blah blah blah..

---

<div class="post-metadata">

**Author:** ![Julio\_Papel](https://avatars.discourse-cdn.com/v4/letter/j/c68b51/32.png) [@Julio\_Papel](https://discuss.rubyonrails.org/u/Julio_Papel)\
**Post date:** [March 3, 2015, 4:44pm UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/11 "2015-03-03T16:44:10Z")

</div>

Hello Hemant,

When I started learning rails I was using windows and like you I found many things I couldn't understand, then I switched to mac, all was easier. But the true is that till today the platform where I find myself more productive is on Ubuntu. On Ubuntu many of the tools are free and easier to install, I have a virtual Machine with Ubuntu and there's no issues, besides my own ignorance some times. So I advise you to go this route: Use Ubuntu, install RVM, Install Git, Install all that you want, I even use eclipse as a ruby source code editor, make it your world first, and then for each rails project create a small shell script inside your skeleton folder, mine is like this: Filename: Startenv.sh Content: #! /bin/bash --login

rvm use ruby-2.0.0-p598@toy\_app --create exec /bin/bash --login

echo 'Toy\_App Environment Ready to Rock and Roll!'

---

<div class="post-metadata">

**Author:** ![Paramnoor\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@Paramnoor\_Singh](https://discuss.rubyonrails.org/u/Paramnoor_Singh)\
**Post date:** [March 4, 2015, 4:57am UTC](https://discuss.rubyonrails.org/t/stuck-with-rails-installation/70348/12 "2015-03-04T04:57:14Z")

</div>

Hello Hemant,

I check the error it not really due to database missing. When I first time working on window it occur then I create “cacert.pem” file in folder where rails install. Please check attach file and the code.

[cacert.pem](https://discuss.rubyonrails.org/uploads/short-url/yJ0mUiLjkhhqLFQEuw6d4DNN3j4.pem) (250 KB)
