Well, it appears you're on windows using ruby 1.8.6 with rails 2.3.8 (and apparently have at least two plugins: one named open_flash_chart_2 and resque)...
RESQUE CONF {"production_private"=>"localhost:9878",
"auth"=>{*****}, "development"=>"localhost:6382","test"=>"localhost
:6379", "staging"=>"localhost:6379"}
Yeah, you really ought to make a habit of scrubbing things like username and passwords out of any data you copy/paste into a post. Perhaps they're throw-away, dev. machine-only credentials. Even if they are, good security habits will protect you...
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
bignum too big to convert into `long'
I certainly hope you Google'd: "bignum too big to convert into long" first. I'll assume you did and looked at the results (that aren't your own post). If your then actually look at the top of your stack trace (which it's awesome you provided):
c:/Ruby186/lib/ruby/site_ruby/1.8/rubygems/requirement.rb:109:in `hash'
The innermost scope is clearly within the "requirement.rb" file (line 109) of rubygems itself. So, add "rubygems" to your error phrase in Google.... Anyhow, that's what I did. I immediately found some posts that, though people had a slightly different setup/problem/environment, they all seemed to point to the problem being a bug in old versions of rubygems.
What version of rubygems are you using? I'm guessing its the version bundled with the 1.8.6 windows installer which I'm guessing is 1.3.7? If I'm right then this *is* an old version so perhaps you need to upgrade your version up rubygems? If this is the case, you'll also need to upgrade to a newer version of ruby because rubygems 1.3.7 is the newest version that supports ruby 1.8.6.
So, I'm my guess (it is just a guess) is correct, you really ought to attempt to install ruby 1.8.7 (which should come with the latest rubygems) and use it to run your rake task.
@10086的野望我参考了一下这篇给原问主的解答(上文是节选),大意是说原问主的运行框架,大概也就是你的模拟器,ruby框架的版本是比较老的,然而ruby语言有在不断更新,会造成新的语法在旧框架中无法正确解读的现象。于是你需要做的大概就是去换个模拟器。手机模拟器我不了解,请你参考一下FAQ中的某一条,到专门的模拟器贴吧去提问。或者这里还有一个建议,吧里也有不少用手机玩的,你可以向他们要一下模拟器。要是模拟器都一样,只有你的无法运行,那么这个问题我就无法解决了。说到底我对ruby语言也没有太深了解,关于这种脚本错误我只能对几个典例做出解答。希望你的问题能解决。