Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
I am trying to get Ruby and Rails up and running. When I try to connect to the server with:
bundle exec rails server
I get a load error message stating the sqlite3 cannot be located. I am working off of windows 8.1. Do anyone have any advice. I've tried this from stackoverflow and it didn't work.
Is that file (/sqlite3/sqlite3_native) in your PATH environment variable? It will need to be in order for that gem to work. If you need to check try using echo %PATH% on the command prompt. If it ends up that you need to add it to your path you can either SET PATH=%PATH%;C:\Path\To\Sqlite3
I've downloaded the SQlite3 and added it to my Path. When I run echo %PATH% the SQlite3 appears in the path. When I run: bundle exec rails server, I get the same load error message. However, if I run: sqlite3.exe from my command line it seems to start, but I can't run any other commands. Ultimately, I still cannot connect to the rails server so I can move forward. Is there a particular place I need to store this file?
I just deleted ruby and will try again from the beginning. This as been a week long road so a lot of files have been moved around. I've been all over stackoverflow. I will put the dll and exe files in the C:sqlite3 and add that to the path.