Cucumber and rspec install on Ubuntu

Follow these steps in Ubuntu Terminal :

sudo apt-get update

sudo apt-get install curl
curl -L | bash -s stable --auto

#source the profile to get the rvm goodness
. ~/.bash_profile

rvm requirements
# Gives list of things to install. In my case these things needed to be installed 

sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config

# now install a recent version of Ruby with rvm

rvm install 1.9.3 #in case you installed rvm already don't need of it

gem install cucumber

After this run cucumber --help if it shows something started with

Usage: cucumber [options] [ [FILE|DIR|URL][:LINE[:LINE]*] ]+

then you are done  with cucumber:)

gem install rspec

After this run rspec --help if it shows something started with

Usage: rspec [options] [files or directories]

then you are done  with rspec too:)


After this to start your training/work

mkdir testing
cd testing
No such file or directory - features. Please create a features directory to get started. (Errno::ENOENT)

Cukes Info

Cucumber Rails


I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Tagged with: , ,
Posted in TDD & BDD

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: