Set up ruby 2.0 and Rails 4.0.1 in Rackspace
First we need to install ruby
Step 1)Install Ruby
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -xvzf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247/
./configure --prefix=/usr/local
make
make install
Step 2) Install Rails
gem install rails 4.0.1
Step 3) Install passenger
gem install passenger
Step 4) Install Apache2
apt-get install apache2
Step 5) Install Mysql
sudo apt-get install mysql-server mysql-client
That's it we are done with the setup.
Step 1)Install Ruby
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
tar -xvzf ruby-2.0.0-p247.tar.gz
cd ruby-2.0.0-p247/
./configure --prefix=/usr/local
make
make install
Step 2) Install Rails
gem install rails 4.0.1
Step 3) Install passenger
gem install passenger
Step 4) Install Apache2
apt-get install apache2
Step 5) Install Mysql
sudo apt-get install mysql-server mysql-client
That's it we are done with the setup.
Step 1 worked great (Linux Mint 15), but Steps 2-5 resulted in brief efforts followed by "unable to locate" messages.
ReplyDeleteHi @Steven,
DeleteWhat was the exact error? Have you installed rvm in your system. This post is with out rvm. Let me know if I can help you.
Thanks,
Sabyasachi
This comment has been removed by the author.
Delete