candlerb/snailgun

uninitialized constant Object::RAILS_ROOT

Opened this issue · 2 comments

I get this on startup:

/Users/xavier/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rake.rb:2482:in `const_missing': uninitialized constant Object::RAILS_ROOT (NameError)
    from /Users/xavier/.rvm/gems/ruby-1.9.2-p0@1.9.2/gems/snailgun-1.0.6/bin/snailgun:74:in `block (2 levels) in <top (required)>'
    from /Users/xavier/.rvm/gems/ruby-1.9.2-p0@1.9.2/gems/snailgun-1.0.6/bin/snailgun:70:in `fork'
    from /Users/xavier/.rvm/gems/ruby-1.9.2-p0@1.9.2/gems/snailgun-1.0.6/bin/snailgun:70:in `block in <top (required)>'
    from /Users/xavier/.rvm/gems/ruby-1.9.2-p0@1.9.2/gems/snailgun-1.0.6/bin/snailgun:69:in `each'
    from /Users/xavier/.rvm/gems/ruby-1.9.2-p0@1.9.2/gems/snailgun-1.0.6/bin/snailgun:69:in `<top (required)>'
    from /Users/xavier/.rvm/gems/ruby-1.9.2-p0@1.9.2/bin/snailgun:19:in `load'
    from /Users/xavier/.rvm/gems/ruby-1.9.2-p0@1.9.2/bin/snailgun:19:in `<main>'

I tried changing to Rails.root but that doesn't work either. Rails 3 + ruby 1.9.2.

Did you got any solution for the above error , I also got the same error with same setup of rails

Sorry I can't remember what this project is or why/where I was trying to use it.