# Modules and Libraries

# FAQ

# How to list rake tasks?

rake -T

# How to use map() function?

[1,2,3].map{ |x| puts(x) }
# return [nil, nil, nil]

[1,2,3].map{ |x| x+1 }
# return [2,3,4]

# How to find a gems?

By executing gem locally

gem search ${package_name}

By using official ruby gems website:

  • https://rubygems.org

# How to set ruby environment variable?

# Where bundle is storing its configuration by default?

.bundle/config

# How to deal with backtrace?