I'm doing the coursera Ruby on Rails class and I can't get through the installation on Windows. I followed their directions and created a directory called test\_install. There is a picture to show what's in it. They say I'm just supposed to type "rails server" to move on the the next step but I get an error message that says (there is also picture):
"Could not find gem 'turbolinks (\~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile
Run 'bundle install' to install missing gems."
So then I type in bundle install and it says (see picture) :
"An error occurred while installing sqlite3 (1.4.0) and bundler could not continue.
Make sure that 'gem install sqlite3 -v '1.4.0'' succeeds before bundling
Earlier in that message is says "sqlite3.h is missing. Install SqLite3 rom [www.sqlite.org](https://www.sqlite.org)"
I went to the website and thought it installed the right thing but this is the very beginning of the class so I don't know what anything means. Coursera offered a FAQ for this installation process but it didn't have this question on it.
If anyone can make sense of all this please help. Thanks.
2 thoughts on “Can’t get command “rails server” to run”
This is an issue I’ve seen around at the moment.
Open the Gemfile and change the line
gem ‘sqlite3’ to gem ‘sqlite3’, ‘~> 1.3.6’
Then save the file and then run bundle install
Save yourself the down the road headaches and do your Ruby Dev work in a linix VM if you have the horse power.