mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	Merge pull request #1672 from miry/rails3_command_fix
Use new style of rails command.
This commit is contained in:
		| @@ -4,7 +4,11 @@ function _rails_command () { | |||||||
|   if [ -e "script/server" ]; then |   if [ -e "script/server" ]; then | ||||||
|     ruby script/$@ |     ruby script/$@ | ||||||
|   else |   else | ||||||
|     ruby script/rails $@ |     if [ -e "bin/rails" ]; then | ||||||
|  |       bin/rails $@ | ||||||
|  |     else | ||||||
|  |       rails $@ | ||||||
|  |     fi | ||||||
|   fi |   fi | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user