I am new to Rails. This is my first day of using Rails.I have already
installed Ruby and Rails on my computer.
But in new application- script folder 'server' script is not getting
created.
In short I am not able to run- ruby script/server.
Please help me or suggest another way to set up Rails on Windows.
Thanks for your prompt replies. I am using Rails 3.0.9 version. I used ‘ruby script/rails server’ command.
But I am getting following error pop-up while running this command.
The procedure entry point sqlite3_column_database_name could not be located in the dynamic link library sqlite3.dll
Make sure that you have sqlite3 installed on your machine and sqlite3 gem is also installed.
If you don’t have sqlite3 installed on windows, then you can grab sqlite3.dll from here http://www.sqlite.org/download.html and copy it to either your ruby bin directory or windows’ system32 directory. Open up a new console and run the server again.
As an aside, I have found that RailsInstaller works pretty well for all this default setup on windows. You may want to try it out - http://railsinstaller.org/
Hi Chirag,
I am still getting error while starting the rails.
<-[31mCould not find gem ‘mysql112 (~> 0.2.6)’ in any of the gem sources listed in your Gemfile. <-[0m
Please help on this, I found the gem file and added gem ‘mysql’ in to it but it still shows error. please help on this.