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

Error listing issues for a project #40

Open
icco opened this issue Dec 25, 2009 · 5 comments
Open

Error listing issues for a project #40

icco opened this issue Dec 25, 2009 · 5 comments

Comments

@icco
Copy link

icco commented Dec 25, 2009

I just installed octopi and I'm getting the following error. Anyone know why?

/var/lib/gems/1.8/gems/octopi-0.2.2/lib/octopi/commit.rb:2: uninitialized constant Octopi::Base (NameError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /var/lib/gems/1.8/gems/octopi-0.2.2/lib/octopi.rb:15
from /var/lib/gems/1.8/gems/octopi-0.2.2/lib/octopi.rb:15:in each' from /var/lib/gems/1.8/gems/octopi-0.2.2/lib/octopi.rb:15 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:ingem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in require' from ./erasmus/github.rb:4 from ./bots.rb:7:inrequire'
from ./bots.rb:7

The code that is using this is at http://github.com/icco/erasmus/blob/master/lib/erasmus/github.rb

@icco
Copy link
Author

icco commented Dec 25, 2009

Aparrently this is supposed to be used with 1.9 not 1.8, which might be where my problem lies...

@xiongchiamiov
Copy link

Working off of (essentially) the same code, I get (basically) the same error on a fresh install of ruby- and rubygems-1.8:

> ruby-1.8 bots.rb                                
/opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- mechanize (LoadError)
        from /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /opt/ruby1.8/lib/ruby/gems/1.8/gems/octopi-0.2.2/lib/octopi.rb:4
        from /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from /opt/ruby1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
        from ./erasmus/github.rb:4
        from bots.rb:7:in `require'
        from bots.rb:7

So my guess is that octopi isn't 1.8 compatible.

@radar
Copy link
Collaborator

radar commented Dec 26, 2009

It's neither. Did you install the mechanize gem?

@radar
Copy link
Collaborator

radar commented Dec 26, 2009

Could you please try installing the latest from gemcutter too (which should automatically install mechanize too)

@icco
Copy link
Author

icco commented Dec 26, 2009

I just did sudo gem install octopi, if it's not one of the dependencies for the gem, then I didn't.

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

3 participants