Top 5 New Features of Android N

Android N is still in its active development phase while the recent Developer Preview released by google has gained much expectation to this new version. The Final Release is planned for Q3 of 2016. Here are the Top New Features Read more

Managing your Mailing List

Emails are often the most time-consuming work for every professional, finding the important conversation amidst the noise is a real challenge. I was surprised to find that I was subscribed to more than 900+ mailing list.Think about the amount Read more

Awesome tools to make you Super Productive

Busy! The favorite word of every IT person, which signs that we are turning unproductive. The moment you feel you are busy, take a break. Breaks allow you to regain your focus, sharpens your intuition, allows you to make conscious Read more

Snapshot 2013 - A Year of Giving!

I don't believe in taking new year resolutions. But Jan 1st is surely a good place to start our life with new focus and purpose; for the next 365 days. As 2013 ends and  2014 unfolds, I would love Read more

Inside the Competitive Mind of Billionaire Mark Zuckerberg

Uncategorized Voice your views  

The Startup Marathon

entrepreneur Voice your views   ,

Recently came across a thought provoking info-graphic, which portrayed an Entrepreneur as a Marathon runner. As always every startup freak has two voices in his mind, one which looks out for quick success, another voice which gives us elementary steps to achieve it. Here is the cute inspiring graphic…

Rails Error: `require’: cannot load such file — openssl (LoadError)

Rails, Ruby Voice your views   , ,

When I try to create a new project($ rails new first_app) it gives following error after creating directory structure.

`require': cannot load such file -- openssl (LoadError)

Here is my documentation on how i solved the issue,

Assuming RVM is in use:

rvm pkg install openssl

Remove ruby

rvm remove 1.9.3

And finally recompile Ruby with openssl

rvm install 1.9.3 --with-openssl-dir=$HOME/.rvm/usr


rvm use 1.9.3 --default

Hope this solved the problem!

Learning ROR: Part-2 Ruby On Rails Commands

Rails, Ruby, Ruby on Rails Voice your views   , , , ,

Here are some of the most used Ruby on Rails terminal Commands,

gem update rails – Update rails

rails application – Create a new application

rake appdoc – generate documentation

rake –tasks – view available tasks

rake stats – view code statistics

ruby script/server – start ruby server at http://localhost:3000

ruby script/generate controller Controllername

ruby script/generate controller Controllername action1 action2

ruby script/generate scaffold Model Controller

ruby script/generate model Modelname

Learning ROR: Part-1 Getting Started with Ruby on Rails!

Rails, Ruby, Ruby on Rails Voice your views   , , , , , , ,

Hi all, I have been with Java for long years, and now its time for learning something new. Yes! the most exciting language, Ruby. I have documented the steps i followed to setup the Ruby and rails framework in my Ubuntu 11.04! Follow the steps to get started with rails development in LinuX!!

Steps to Install and Configure Ruby & Rails on Ubuntu

1. We need aptitude package in Ubuntu for installing as it tracks dependency well, hence we prefer aptitude to apt-get. So Now, we need to install aptitude

sudo apt-get install aptitude

2. Refresh the package source using the following command,

sudo apt-get update

3. Now we need to install the RVM dependancy packages such as the following

   a. CURL – The http client
   b. GIT  – The Version control system
   c. Zlib1g-dev
   d. libssl-dev
   e. libreadline5-dev
   f. libsqlite3-dev
   g. Nodejs

Run the following command,

sudo apt-get install build-essential git-core zlib1g-dev libssl-dev libreadline5-dev

sudo apt-get install libsqlite3-dev

sudo apt-get install nodejs

4. Install the RVM using the shell script

bash < <(curl -s )

Note that the RVM is installed to the local home directory and hence we dont require sudo to access.

5. We need to add a line to bashrc (or) bash_profile file to engage RVM whenever we are using the shell

echo ‘[[ -s “$HOME/.rvm/scripts/rvm” ]] && source “$HOME/.rvm/scripts/rvm”‘ >> ~/.bashrc

6. Close the existing the shell and open a new session

7. Run the following command to know how to take it forward,

rvm notes

This command assit you to perform the tasks required for smooth installation of the rails and ruby.

8. Install the ruby production version Ruby 1.9.2 using the following command,

rvm install 1.9.2

9. Change the default version of ruby to the newely installed,

rvm –default use 1.9.2

10. use the Ruby gems to install the various libraries

gems install rails

11. For example, letz create a sample rails project, run the following command,

rails new myapp
cd myapp
bundle install
rails server

12. Open the URL

Congratulation! We have successfully setup the ruby and rails framework and created our first rails project!! Keep checking this blog for more rails stuff!