FIX: Rails Gem::LoadError: Specified ‘sqlite3’ for database adapter, but the gem is not loaded. Add `gem ‘sqlite3’` to your Gemfile.

The error message simply indicating the Sqlite3 gem is NOT installed on your system. The fix is to just have it installed using the command: gem install sqlite3 C:Usersadmin>gem install sqlite3 Fetching: sqlite3-1.3.8-x64-mingw32.gem (100%) Successfully installed sqlite3-1.3.8-x64-mingw32 Parsing documentation for sqlite3-1.3.8-x64-mingw32 unable to convert "x90" from ASCII-8BIT to UTF-8 for lib/sqlite3/2.0/sqlite3_native.so, skipping Installing ri documentation for sqlite3-1.3.8-x64-mingw32 1 gem installed C:Usersadmin>   In case if you already have built Rail Apps, you need to update the respective Apps Gemfile.lock to point it to the x64-bit version of SQLite3 DB instead of its default 32-bit SQLite3 which causes this error.   […]

Read more

Creating your First Rails (Ruby on Rails) Application

Get your Rails installed and configured fine.  Refer to: Step-by-Step procedure: Installing Rails (Ruby on Rails) on Windows 7 x64 bit system    Creating and running your first Rails application and accessing it via browser: Before getting on with Rails development, you need to make sure you have appropriate version of SQLite3 gem installed on your system. You can install it using command: gem install sqlite3 from Command prompt with Ruby. Create a Folder to put your Rails project files, say “C:RailApps”, the CD to that folder. Then Open Command Prompt, verify your Rails Version by using command: rails –v […]

Read more

Step-by-Step procedure: Installing Rails (Ruby on Rails) on Windows 7 x64 bit system

Download the latest version of Rails available from its official site: http://rubyonrails.org/ The Current latest version is 4.0.2 released Dec 3, 2013   Before you start installing Rails, you first need to have the appropriate version of Ruby for your Rails on the chosen platform.  For Rails 4.0.2 on Windows x64 bit systems, the supported version of Ruby is Ruby 2.0.0 Download latest version of Ruby from its official site: http://rubyinstaller.org/downloads/   In order to successfully build your development environment you need to install the appropriate Development Kits (DevKit). Download latest version of Ruby Development Kits (DevKit) from its official […]

Read more