To install Ruby on Rails on the AWS Linux VM, you need to install some prerequisites first.
sudo su -
yum install -y ruby24
alternatives --set ruby /usr/bin/ruby2.4
yum install -y ruby24-devel rubygems ruby24-devel gcc zlib-devel patch sqlite-devel
curl -sL https://rpm.nodesource.com/setup | bash -
yum install -y nodejs
gem install rails
rails --version
No comments:
Post a Comment