Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized constant Object::RAILS_ROOT #6

Open
xaviershay opened this issue Sep 12, 2010 · 2 comments
Open

uninitialized constant Object::RAILS_ROOT #6

xaviershay opened this issue Sep 12, 2010 · 2 comments

Comments

@xaviershay
Copy link

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/[email protected]/gems/snailgun-1.0.6/bin/snailgun:74:in `block (2 levels) in <top (required)>'
    from /Users/xavier/.rvm/gems/[email protected]/gems/snailgun-1.0.6/bin/snailgun:70:in `fork'
    from /Users/xavier/.rvm/gems/[email protected]/gems/snailgun-1.0.6/bin/snailgun:70:in `block in <top (required)>'
    from /Users/xavier/.rvm/gems/[email protected]/gems/snailgun-1.0.6/bin/snailgun:69:in `each'
    from /Users/xavier/.rvm/gems/[email protected]/gems/snailgun-1.0.6/bin/snailgun:69:in `<top (required)>'
    from /Users/xavier/.rvm/gems/[email protected]/bin/snailgun:19:in `load'
    from /Users/xavier/.rvm/gems/[email protected]/bin/snailgun:19:in `<main>'

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

@dineshmatta
Copy link

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

@xaviershay
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants