I have downloaded the rails installer(ruby 2.1) from
"http://railsinstaller.org/en"\. 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.
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.
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:
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!'
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.