But some of the libraries Rails depends on need some build tools in order to be compiled, and Windows lacks those tools by default. ![]() If you type ruby -v and press Enter, you should see the Ruby version number that you installed.Īfter installing Ruby, we can try to install Rails. To access Ruby, go to the Windows menu, click All Programs, scroll down to Ruby, and click “Start Command Prompt with Ruby”.Check "Add Ruby executables to your PATH", then install. Download and run Ruby Installer from.We can use a precompiled version of Ruby called RubyInstaller. We need Ruby programming language installed. Installing Ruby Build git clone ~/.rbenv/plugins/ruby-buildĮcho 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' > ~/.bashrc In this case the easy one is using rbenv git clone ~/.rbenvĮcho 'export PATH="$HOME/.rbenv/bin:$PATH"' > ~/.bashrcĮcho 'eval "$(rbenv init -)"' > ~/.bashrc Install Ruby and Rails dependecies sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev Upgrading ubuntu packages sudo apt-get update On a clean ubuntu, installation of Rails should be straight forward Tools for Ruby on Rails code optimization and cleanup.Rails Cookbook - Advanced rails recipes/learnings and coding techniques.Integrating React.js with Rails Using Hyperloop.Import whole CSV files from specific folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |