
English pronunciation respelling: it is pronounced as luu-BUUN-too or loo-BUUN-too, not le-BUUN-too. I downloaded the BitTorrent version because the download speed of two of the HTTP(S) downloads that I found were way too slow. This file was stored at "C:\Users\user\Downloads\" If you received an error that said Access denied for user (using password: NO) then you need to update your config/database.yml file to match the database username and password.Hash: ef21436f8b097cb76b7c488dd84f318e3d275a79 Now that you've got your machine setup, it's time to start building some Rails applications. You can now visit to view your new website! # config/database.yml file to contain the username/password that you specified # If you setup MySQL or Postgres with a username/password, modify the # as your app, you may need to edit config/database.yml to match the

# Note that this will expect a postgres user with the same username Let's create your first Rails application: # If you want to use SQLite (not recommended) When you're finished, you can skip to the Final Steps.Īnd now for the moment of truth. Installing the libmysqlclient-dev gives you the necessary files to compile the mysql2 gem which is what Rails will use to connect to MySQL when you setup your Rails app. sudo apt-get install mysql-server mysql-client libmysqlclient-dev

This information will go into your Rails app's database.yml file in the future. As part of the installation process, you'll set the password for the root user. You can install MySQL server and client from the packages in the Ubuntu repository. If you're coming from PHP, you may already be familiar with MySQL.


If you're new to Ruby on Rails or databases in general, I strongly recommend setting up PostgreSQL. There is a lot of documentation on both, so you can just pick one that seems like you'll be more comfortable with. You'll probably want something more robust like MySQL or PostgreSQL. Chances are you won't want to use it because it's stored as a simple file on disk. Rails ships with sqlite3 as the default database.
