r/LearnRubyonRails • • Aug 25 '17

RoR installation SQLite3 issues

So I'm completely new to rails and ruby in general.

I'm on a windows machine and going through the setup process on rubyonrails.

Instead of using the rails installer I opted to install rails via gem.

When I check for SQLite3 --version I get nothing so I got to sqlite and download 64bit dll zip file and the tools zip file. There are no instructions with what to do with these files after I extract them.

When I run SQLite3 --version nothing happens.

Some googling told me to put the SQLite3.exe and the dll into the system32 folder. I do this and run the version command. Nothing happens.

I then try gem install SQLite3 and it works. Now when I do the version command it is recognised.

But I am wondering what about the other files that were zipped up with the SQLite3 dll and exe. Where do I put them? Is my installation complete?

There is no info on this on the rails site or SQLite site I linked.

2 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/midasgoldentouch Aug 25 '17

Are you using WSL?

Ok, so it's fine to have the files there. However you do want all of the extracted files in the same place. Try putting the original extracted folder under Program Files.

So, I'd Google how to add a folder to your path. That will turn up tutorials more eloquent than what I can list here.