How to start Ruby on Rails in windows 8? Ask Question. Asked 8 years, 5 months ago. Active 6 years, 11 months ago. Viewed 6k times. I am new one for Ruby on Rails. Please tell the requirements for Ruby on Rails. I am using windows 8 64bit operating system. Improve this question. VirtualBox and an Ubuntu VM I know you want to do it on Windows, but so much loads of Gems and libraries Add a comment.
Active Oldest Votes. Today still the best choice, but: you cannot install Ruby 2. You need to install 1. Improve this answer. Daniel Loureiro Daniel Loureiro 3, 26 26 silver badges 36 36 bronze badges. You don't need any SDK.
That is a known bug with Rdoc and Ruby 2. The installer will ask you to select a language to use during installation. Accept the license, and then the installer will have you set some configuration options. When the installer is done, it will have created a topmost folder with all the Ruby software on your C: drive called C:Ruby The reason we're going to be using Bash on Ubuntu on Windows because it allows you to run Linux on your Windows machine.
Most Ruby on Rails tutorials and dependencies work best on Linux, so this allows you to get the best of both worlds. A Windows machine for your day to day work, and a Linux subsystem for Ruby on Rails development.
Apr 18, Installing Rails. The Rails installation on Windows is complete. You must also download the Development Kit from Ruby Installer to get some of the cool tools used by your Ruby projects. Follow these steps:. Run the Development Kit installer by choosing Run Program if Windows presents this option or double-clicking the file when it finishes downloading.
The installer will ask you where to put the kit. You want to put the kit in its own folder, not in the Ruby folder you selected in Step 1. To make things easy for your projects, select a folder next to the Ruby22 one at the top of your C: drive.
If you have a lot of programs installed in your launch screen, use the search feature and type command to help narrow down the choices. In the command prompt application, you type commands to get things done. Typing commands is a low-level way of working with a computer. Chances are you won't want to use it because it's stored as a simple file on disk. There is a lot of documentation on both, so you can just pick one that seems like you'll be more comfortable with.
As part of the installation process, you'll set the password for the root user. This information will go into your Rails app's database. 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. You'll be able to run it in Windows and connect to it through Linux. Pay attention to the username and password you setup during installation of Postgres as you will use this to configure your Rails applications later to login to Postgres when your Rails app runs.
When you create a new Rails app, you might run into the following error: parent directory is world writable but not sticky. That's it! Let us know in the comments below if you run into any issues or have any other protips to share!.
We care about the protection of your data. Read our Privacy Policy. Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.
Icons by Icons8. All rights reserved. Lessons See the full list of screencasts to learn from. Guides Tutorials to help you setup Rails on your development and deploy to production. New to Ruby on Rails? New Start learning Ruby on Rails from scratch with our free Beginner tutorial. Refactoring Rails Expert advice on keeping Rails apps organized and fast. Apps Hatchbox. Sign up Log in. Topics Lessons Guides Forum. Log in Sign up. Windows
0コメント