This project is archived and is in readonly mode.

#4135 ✓invalid
johngrimes

Creating new project - 'hash': bignum too big to convert into long

Reported by johngrimes | March 8th, 2010 @ 10:57 PM

I just followed these steps to install Rails 3 beta:

sudo gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n
sudo gem install rails --pre

Then issued the following command:

rails myproject --edge --database=mysql

And got the following output:

  create
  create  README
  create  .gitignore
  create  Rakefile
  create  config.ru
  create  Gemfile
  create  app
  create  app/controllers/application_controller.rb
  create  app/helpers/application_helper.rb
  create  app/models
  create  app/views/layouts
  create  config
  create  config/routes.rb
  create  config/application.rb
  create  config/environment.rb
  create  config/environments
  create  config/environments/test.rb
  create  config/environments/development.rb
  create  config/environments/production.rb
  create  config/initializers
  create  config/initializers/backtrace_silencers.rb
  create  config/initializers/session_store.rb
  create  config/initializers/cookie_verification_secret.rb
  create  config/initializers/mime_types.rb
  create  config/initializers/inflections.rb
  create  config/locales
  create  config/locales/en.yml
  create  config/boot.rb
  create  config/database.yml
  create  db
  create  db/seeds.rb
  create  doc
  create  doc/README_FOR_APP
  create  lib
  create  lib/tasks
  create  lib/tasks/.gitkeep
  create  log
  create  log/server.log
  create  log/production.log
  create  log/development.log
  create  log/test.log
  create  public
  create  public/favicon.ico
  create  public/500.html
  create  public/robots.txt
  create  public/422.html
  create  public/404.html
  create  public/index.html
  create  public/images
  create  public/images/rails.png
  create  public/stylesheets
  create  public/stylesheets/.gitkeep
  create  public/javascripts
  create  public/javascripts/dragdrop.js
  create  public/javascripts/controls.js
  create  public/javascripts/effects.js
  create  public/javascripts/application.js
  create  public/javascripts/prototype.js
  create  public/javascripts/rails.js
  create  script
  create  script/rails
  create  test
  create  test/test_helper.rb
  create  test/performance/browsing_test.rb
  create  test/functional
  create  test/integration
  create  test/fixtures
  create  test/unit
  create  tmp
  create  tmp/sessions
  create  tmp/sockets
  create  tmp/cache
  create  tmp/pids
  create  vendor/plugins
  create  vendor/plugins/.gitkeep
     run  bundle install from "."

/usr/lib/ruby/1.8/yaml.rb:389:in hash': bignum too big to convert intolong' (RangeError)

from /usr/lib/ruby/1.8/yaml.rb:389:in `quick_emit'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:38:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `node_export'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `add'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `each'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `map'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml'
from /usr/lib/ruby/1.8/yaml.rb:391:in `call'
from /usr/lib/ruby/1.8/yaml.rb:391:in `emit'
from /usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:15:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `node_export'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `add'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `each'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `map'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml'
from /usr/lib/ruby/1.8/yaml.rb:391:in `call'
from /usr/lib/ruby/1.8/yaml.rb:391:in `emit'
from /usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:15:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `node_export'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `add'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `each'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `map'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml'
from /usr/lib/ruby/1.8/yaml.rb:391:in `call'
from /usr/lib/ruby/1.8/yaml.rb:391:in `emit'
from /usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:15:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `node_export'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `add'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:109:in `each'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:109:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:108:in `seq'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:108:in `to_yaml'
from /usr/lib/ruby/1.8/yaml.rb:391:in `call'
from /usr/lib/ruby/1.8/yaml.rb:391:in `emit'
from /usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:107:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `node_export'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `add'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:18:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `each'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:17:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `map'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:16:in `to_yaml'
from /usr/lib/ruby/1.8/yaml.rb:391:in `call'
from /usr/lib/ruby/1.8/yaml.rb:391:in `emit'
from /usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:15:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `node_export'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `add'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:110:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:109:in `each'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:109:in `to_yaml'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:108:in `seq'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:108:in `to_yaml'
from /usr/lib/ruby/1.8/yaml.rb:391:in `call'
from /usr/lib/ruby/1.8/yaml.rb:391:in `emit'
from /usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
from /usr/lib/ruby/1.8/yaml/rubytypes.rb:107:in `to_yaml'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:701:in `node_export'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:701:in `add'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:701:in `to_yaml'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:700:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:700:in `to_yaml'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:687:in `map'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:687:in `to_yaml'
from /usr/lib/ruby/1.8/yaml.rb:391:in `call'
from /usr/lib/ruby/1.8/yaml.rb:391:in `emit'
from /usr/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
from /usr/local/lib/site_ruby/1.8/rubygems/specification.rb:686:in `to_yaml'
from /usr/local/lib/site_ruby/1.8/rubygems/builder.rb:73:in `write_package'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_output.rb:72:in `add_gem_contents'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_writer.rb:82:in `new'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_output.rb:66:in `add_gem_contents'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_output.rb:64:in `wrap'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_output.rb:64:in `add_gem_contents'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_writer.rb:112:in `add_file'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_output.rb:62:in `add_gem_contents'
from /usr/local/lib/site_ruby/1.8/rubygems/package/tar_output.rb:30:in `open'
from /usr/local/lib/site_ruby/1.8/rubygems/package.rb:55:in `open'
from /usr/local/lib/site_ruby/1.8/rubygems/builder.rb:72:in `write_package'
from /usr/local/lib/site_ruby/1.8/rubygems/builder.rb:71:in `open'
from /usr/local/lib/site_ruby/1.8/rubygems/builder.rb:71:in `write_package'
from /usr/local/lib/site_ruby/1.8/rubygems/builder.rb:36:in `build'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/source.rb:196:in `generate_bin'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/source.rb:195:in `chdir'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/source.rb:195:in `generate_bin'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/source.rb:260:in `install'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/installer.rb:30:in `run'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/installer.rb:18:in `each'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/installer.rb:18:in `run'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/installer.rb:6:in `install'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/cli.rb:60:in `install'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor/task.rb:33:in `send'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor/task.rb:33:in `run'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor/invocation.rb:109:in `invoke'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor/invocation.rb:116:in `call'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor/invocation.rb:116:in `invoke'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor.rb:137:in `start'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor/base.rb:378:in `start'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/lib/bundler/vendor/thor.rb:124:in `start'
from /usr/lib/ruby/gems/1.8/gems/bundler-0.9.10/bin/bundle:11
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19

Here is my gem list also if that helps at all:

LOCAL GEMS

abstract (1.0.0)
actionmailer (3.0.0.beta, 2.3.5, 2.3.4, 2.3.2, 2.1.2)
actionpack (3.0.0.beta, 2.3.5, 2.3.4, 2.3.2, 2.1.2)
activemerchant (1.4.1)
activemodel (3.0.0.beta)
activerecord (3.0.0.beta, 2.3.5, 2.3.4, 2.3.2, 2.1.2)
activerecord-tableless (0.1.0)
activeresource (3.0.0.beta, 2.3.5, 2.3.4, 2.3.2, 2.1.2)
activesupport (3.0.0.beta, 2.3.5, 2.3.4, 2.3.2, 2.1.2)
arel (0.2.1)
authlogic (2.0.11)
aws-s3 (0.6.2)
builder (2.1.2)
bundler (0.9.10)
calendar_date_select (1.15)
capistrano (2.5.10)
carlosbrando-autotest-notification (2.0.0)
cgi_multipart_eof_fix (2.5.0)
chriseppstein-compass (0.8.17)
chriseppstein-compass-960-plugin (0.9.10)
chronic (0.2.3)
classifier (1.3.1)
columnize (0.3.1)
compass (0.8.17)
compass-colors (0.3.1)
cucumber (0.3.104)
daemons (1.0.10)
diff-lcs (1.1.2)
directory_watcher (1.3.1)
erubis (2.6.5)
fastercsv (1.5.1)
fastthread (1.0.7)
flay (1.4.0)
flog (2.2.0)
fontadapter (0.2.4)
fssm (0.1.3)
gem_plugin (0.2.3)
geokit (1.5.0)
git (1.2.5)
haml (2.2.13)
haml-edge (2.3.155)
henrik-jekyll (0.5.2)
highline (1.5.1)
hoe (2.5.0)
httpclient (2.1.5.2)
i18n (0.3.5)
imagesize (0.1.1)
javan-whenever (0.3.7)
jeweler (1.4.0)
jscruggs-metric_fu (1.1.5)
json_pure (1.2.0)
linecache (0.43)
liquid (2.0.0)
mail (2.1.3)
maruku (0.6.0)
memcache-client (1.8.0, 1.7.8)
mime (0.1)
mime-types (1.16)
mini_magick (1.2.5)
mislav-will_paginate (2.3.11)
mocha (0.9.8)
mojombo-chronic (0.3.0)
money (2.1.5)
mongrel (1.1.5)
mysql (2.8.1)
net-scp (1.0.2)
net-sftp (2.0.2)
net-ssh (2.0.15)
net-ssh-gateway (1.0.1)
nokogiri (1.4.1)
oauth (0.3.6)
open4 (1.0.1)
polyglot (0.3.0)
rack (1.1.0, 1.0.1)
rack-mount (0.6.1, 0.4.7)
rack-test (0.5.3)
radiant (0.8.1)
rails (3.0.0.beta, 2.3.5, 2.3.4, 2.3.2, 2.1.2)
railsless-deploy (1.0.0)
railties (3.0.0.beta)
rake (0.8.7)
rcov (0.9.6)
rdiscount (1.5.8)
RedCloth (4.2.2)
reek (1.2.6)
relevance-rcov (0.9.2.1)
riddle (1.0.3)
roodi (2.0.1)
rsl-stringex (1.0.3)
rspec (1.2.9)
rspec-rails (1.2.9)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-hmac (0.3.2)
ruby2ruby (1.2.4)
ruby_parser (2.0.4)
rubyforge (2.0.3)
rubygems-update (1.3.6)
searchlogic (2.4.11)
serve (0.10.0)
sexp_processor (3.0.3)
smurf (1.0.3)
soap4r (1.5.8)
spree (0.9.4)
stemmer (1.0.1)
syntax (1.0.0)
term-ansicolor (1.0.4)
text-format (1.0.0)
text-hyphen (1.0.0)
thor (0.13.4)
thoughtbot-factory_girl (1.2.2)
tlsmail (0.0.1)
treetop (1.4.3)
tzinfo (0.3.17)
webrat (0.4.5)
xml-simple (1.0.12)
ZenTest (4.1.4)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages