39500/how-do-i-install-ruby-on-rails
Hi @Anvi, what @Pratibha has mentioned is true. For Ubuntu installation is quite simpler as you just have to type in some commands only, but installing RoR on WindowsOS is a bit tricky task. For that I am going to show you the step by step installation process:
>> sudo apt-get update >> 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 software-properties-common libffi-dev >> git clone https://github.com/rbenv/rbenv.git ~/.rbenv >> echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc >> echo 'eval "$(rbenv init -)"' >> ~/.bashrc >> exec $SHELL
>> git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build >> echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc >> exec $SHELL >> rbenv install 2.6.1 >> rbenv global 2.6.1 >> ruby -v
>> gem install bundler
To install Rails 5.2.2, write the following commands one by one on Ubuntu terminal:
>> curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - >> sudo apt-get install -y nodejs >> gem install rails -v 5.2.2 >> rbenv rehash >> rails -v
By typing the last command you should be able to see the rails version which you have installed. And that's it. You have successfully installed the Rails framework on your windows10 machine.
You could use an AlertDialog for this ...READ MORE
I wish to know how much storage ...READ MORE
Try this: Sub MoveBasedOnValue2() Dim ...READ MORE
Try this: ? Activewindow.VisibleRange.Row READ MORE
I don't think post-process is what you ...READ MORE
Hi Pratibha, installing ROR on ubuntu is ...READ MORE
Hey @Kiara, execute these commands to install ...READ MORE
I suggest storing the values as integers. ...READ MORE
Hi Ashmita, on every ubuntu machine, perl ...READ MORE
Hi Vijay, althought its not necessary to ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.