![]() At the command prompt window type "ri" command, it asks to type a method. It will install rails and "ri" documentation for ruby rails.Then run "bundle install" to bundle updated gems and run " gem install rails" command again. If any error occurred in this command, you can update gems by "gem update -system" command to install latest version of gems.Navigate back to "C:\RubyRails\Ruby" in command prompt and run the following command:.After installing gems and devkit, now install rails by using gems because Rails is a ruby gem.Now go to Command prompt window and navigate to "C:\devkit" folder and run “ruby dk.rb init” and then “ruby dk.rb install”. ![]() Now create a new folder "C:\devkit" and extract the DevKit zip (self-extracting exe) file into "C:\devkit" directory.Download the compatible version of Development Kit (DevKit) for your ruby from here.But firstly, we have to install "Development Kit (DevKit)" that provides some dependencies for gems. Now the next step is to use gem to install rails.Type “gem list” to see all installed gems.You can check the version of gem by typing “gem –v” as in the following screenshot: Gems are also installed when you are installing ruby.Work on Ruby on Rails you will need to install the following:Ĭlick here to see the previous article: "Installing Ruby on Windows Platform" to install ruby on your windows operating system. Now we will teach how to install Rails (Ruby on Rails). Previous article, we learned about how to install ruby on windows operating
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |