aurobindapothal

We enjoy a lot free. So we must give somthing free

How to solve Capybara gem install error in RubyRails Server

How to solve Capybara gem install error in RubyRails Server

# gem install capybara-webkit

if you will get error in install time you need to install below Packages

# yum install qt

# yum install qt-webkit-devel

# yum install gcc++

# export QMAKE=/usr/bin/qmake-qt4

Leave a comment »

RubyRails Install in Linux Server

How to install RubyRails in Linux Server.
Before installing the RVM on the system you need to install curl. So the steps should go like below:
#sudo yum update
#sudo yum install curl
#curl -L get.rvm.io | bash -s stable
#source ~/.rvm/scripts/rvm
#rvm requirements
It will show you all required dependency packages like below
Additional Dependencies:
# For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel ## NOTE: For centos >= 5.4 iconv-devel is provided by glibc

#rvmsudo yum install -y gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel

#rvm install 1.9.2
#rvm use 1.9.2 –default
#rvm rubygems current
# gem install rails
Verify Rails install version :
# ruby -v
# gems -v
# rails -v
Thanks:)

2 Comments »