Created
January 18, 2014 16:58
-
-
Save christian-fei/8493137 to your computer and use it in GitHub Desktop.
the command works just fine on my setup
but when issuing the command with grunt it gives me a strange error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :m do | |
sh "METEOR=Y MONGO_URL=mongodb://localhost:27017/statscf meteor --port 3010" | |
exit | |
end | |
and when i do `rake m` I get: | |
METEOR=Y MONGO_URL=mongodb://localhost:27017/statscf meteor --port 3010 | |
rake aborted! | |
Command failed with status (127): [METEOR=Y MONGO_URL=mongodb://localhost:270...] | |
Tasks: TOP => m | |
(See full trace by running task with --trace) | |
and with --trace: | |
** Invoke m (first_time) | |
** Execute m | |
METEOR=Y MONGO_URL=mongodb://localhost:27017/statscf meteor --port 3010 | |
rake aborted! | |
Command failed with status (127): [METEOR=Y MONGO_URL=mongodb://localhost:270...] | |
/usr/lib/ruby/vendor_ruby/rake/file_utils.rb:53:in `block in create_shell_runner' | |
/usr/lib/ruby/vendor_ruby/rake/file_utils.rb:45:in `call' | |
/usr/lib/ruby/vendor_ruby/rake/file_utils.rb:45:in `sh' | |
/usr/lib/ruby/vendor_ruby/rake/file_utils_ext.rb:39:in `sh' | |
/home/cf/projects/openstats/Rakefile:44:in `block in <top (required)>' | |
/usr/lib/ruby/vendor_ruby/rake/task.rb:205:in `call' | |
/usr/lib/ruby/vendor_ruby/rake/task.rb:205:in `block in execute' | |
/usr/lib/ruby/vendor_ruby/rake/task.rb:200:in `each' | |
/usr/lib/ruby/vendor_ruby/rake/task.rb:200:in `execute' | |
/usr/lib/ruby/vendor_ruby/rake/task.rb:158:in `block in invoke_with_call_chain' | |
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' | |
/usr/lib/ruby/vendor_ruby/rake/task.rb:151:in `invoke_with_call_chain' | |
/usr/lib/ruby/vendor_ruby/rake/task.rb:144:in `invoke' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:116:in `invoke_task' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `block (2 levels) in top_level' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `each' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in `block in top_level' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:88:in `top_level' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:66:in `block in run' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling' | |
/usr/lib/ruby/vendor_ruby/rake/application.rb:63:in `run' | |
/usr/bin/rake:27:in `<main>' | |
Tasks: TOP => m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment