andreasronge / neo4j-admin

The Neo4j server web console for the embedded neo4j.rb
25 stars 9 forks source link

shell command 'rails generate' shows help messages but also starts neo4j server. #5

Open fooledbyprimes opened 12 years ago

fooledbyprimes commented 12 years ago

using neo4j 1.3.1, rails 3.1.0, neo4j-admin < 0.1.0... shell command 'rails g', 'rails g model', etc. try to start the server but shouldn't since user is just trying to get help info on the 'generate' command.

andreasronge commented 12 years ago

Thanks, have to fix this. Guess just need to check if some constant (defined by rails generator command) is not defined before starting the server.