Rake: wrong number of arguments (3 for 2)
2012-12-12 10:08
495 查看
Rake is a simple ruby build program similar to make. There are many versions of Rake are available. If you are using Rake-0.9.x you might come to the error, “wrong number of arguments (1 for 0) (ArgumentError)”. While the same piece of code runs without error on Rake-0.8.x.
Here you will find the two methods to deal with this problem. The first
one is simple, remove 0.9.x version and install 0.8.x version the latest
one is in this series is 0.8.7.
The second method is to use rake command with version number.
Here you will find the two methods to deal with this problem. The first
one is simple, remove 0.9.x version and install 0.8.x version the latest
one is in this series is 0.8.7.
$ gem uninstall rake –v 0.9.x $ gem install rake –v 0.8.7
The second method is to use rake command with version number.
$ rake _0.8.7_ from:http://codefundas.blogspot.co.at/search?updated-min=2012-01-01T00:00:00-08:00&updated-max=2013-01-01T00:00:00-08:00&max-results=3
相关文章推荐
- django运行错误:wrong number of arguments for 'set' command
- ERR wrong number of arguments for 'sadd' command
- hbase ERROR: wrong number of arguments (3 for 4)
- wrong number of arguments (1 for 2)
- ruby(wrong number of arguments (1 for 2) )
- undefined reference to错误 和ORA-06553: PLS-306: wrong number or types of arguments in call to "OGC_X"
- java反射调用String[] wrong number of arguments异常解决
- java.lang.IllegalArgumentException: Wrong number of arguments; expected 0, got 1
- java.lang.IllegalArgumentException: wrong number of arguments
- oracle存储过程报错:ORA-06550: wrong number or types of arguments in call to
- Error Code: 1318. Incorrect number of arguments for PROCEDURE company.new_procedure; expected 2, got
- mybatis PLS-00306: wrong number or types of arguments in call
- ORA-06553: PLS-306: wrong number or types of arguments in call to 'xxxxxxx(proceduresName)'
- wrong number of arguments,java方法反射时数组参数的坑
- PLS-00306: wrong number or types of arguments in call to 'SYNCRN'
- java call oracle procudure setBoolean问题PLS-00306: wrong number or types of arguments in call to
- 1318:Incorrect number of arguments for PROCEDURE worker.wage_alterdata; expected 7, got 6 [ SQL语句 ]
- java反射 java.lang.IllegalArgumentException: wrong number of arguments
- 解析Java反射java.lang.IllegalArgumentException: wrong number of arguments
- java.lang.IllegalArgumentException: wrong number of arguments