How to install ruby on MAC

How to install ruby on MAC?

»
Author's profile picture Akshay Mohite on How-To and Rails |

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)

You might have came across this error when you tried development of Ruby on Rails project with MySQL as your development database.

»
Author's profile picture Akshay Mohite on MySQL |

MySQL server start, stop or restart on MAC (lion)

How to start, stop, restart MySQL server on your MAC machine? mysql server start, mysql server stop and mysql server restart are three basic things that you will require during development of your project with MySQL server dependency.

»
Author's profile picture Akshay Mohite on MySQL |

How to install or uninstall a gem in Ruby

When you start with Ruby or Ruby on Rails development, first thing that you will start-up with is Installing Gems on your machine. In Ruby, you have to install a gem so that you can use the readily available, implemented code for your purpose.

»
Author's profile picture Akshay Mohite on How-To |

Benchmark in Ruby code using bm and bmbm with examples

In Ruby, you have to perform benchmarking to measure performance of your code. Ruby allows you to do Benchmarking using library called ‘benchmark’

»
Author's profile picture Akshay Mohite on Rails |

strftime – Format Date Time in Ruby

In Ruby, you have to format or convert time from one format to other many a times. You can use library method strftime available to perform formatting operations.

»
Author's profile picture Akshay Mohite on Rails |

Speed up rails development environment mode

While Running Ruby on Rails projects in development mode, many of you might have came across slow development process. Now, there is one easy way to speed up Rails Development Environment mode.

»
Author's profile picture Akshay Mohite on Rails |

How to Check if value is included in between the range?

There are many ways of doing the same thing in Ruby. How to check if a number is between the two values?

»
Author's profile picture Akshay Mohite on How-To |

Ruby – Difference between Require and Include

While coding with Ruby or Ruby on Rails, you might have came across Require and Include. There are quite a few differences between Require and Include.

»
Author's profile picture Akshay Mohite on Rails |

Ruby – Difference between Symbols and Strings

Ruby has Symbols as well as Strings. Their are differences between the two that should be known for proper use in your Application while coding.

»
Author's profile picture Akshay Mohite on Rails |

Concatenate Strings – How to?

There are many ways (Ruby’s Property) of concatenating Strings in Ruby. Before proceeding let us see how to create a simple String in Ruby.

»
Author's profile picture Akshay Mohite on How-To |

Difference between Array Push and Array Insert

As we all know there are more than one way of doing the same thing in the Ruby. Thus, it becomes more important to choose the right way so that it does not affect your Performance

»
Author's profile picture Akshay Mohite on Rails |

Learn Ruby – How to start?

The first question in your mind should be Why Ruby?

»
Author's profile picture Akshay Mohite on How-To |