When using ruby 2.1.0 (or 2.1.1) and I type rails g nothing happens. It simply hangs. But when I change to 1.9.3, using rvm use 1.9.3 it works as e
rails g
rvm use 1.9.3
Have you tried to run:
spring stop
rails generate hangs may because spring is already running.
rails generate
see https://github.com/rails/spring/issues/265