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

After upgrade 0 0 9 -> 0 0 10 #14

Closed
paulas opened this issue Oct 28, 2011 · 3 comments
Closed

After upgrade 0 0 9 -> 0 0 10 #14

paulas opened this issue Oct 28, 2011 · 3 comments

Comments

@paulas
Copy link

paulas commented Oct 28, 2011

~> ruber
/usr/lib/ruby/gems/1.8/gems/ruber-0.0.10/lib/ruber/world/environment.rb:82: warning: already initialized constant DEFAULT_HINTS
ruber(12178) KXMLGUI::ActionList::plug: Index 13 is not within range (0 - 12
/usr/lib/ruby/gems/1.8/gems/ruber-0.0.10/lib/ruber/application/application.rb:119:in const_missing': uninitialized constant Ruber::Application::Mutex (NameError) from /usr/lib/ruby/gems/1.8/gems/ruber-0.0.10/lib/ruber/application/application.rb:119:ininitialize'
from /usr/lib/ruby/gems/1.8/gems/ruber-0.0.10/lib/ruber/component_manager.rb:642:in new' from /usr/lib/ruby/gems/1.8/gems/ruber-0.0.10/lib/ruber/component_manager.rb:642:inload_component'
from /usr/lib/ruby/gems/1.8/gems/ruber-0.0.10/bin/ruber:68
from /usr/bin/ruber:19:in `load'
from /usr/bin/ruber:19
QObject::startTimer: QTimer can only be used with threads started with QThread
QObject::startTimer: QTimer can only be used with threads started with QThread
QObject::startTimer: QTimer can only be used with threads started with QThread
QObject::startTimer: QTimer can only be used with threads started with QThread

ruby 1.8.7 (2011-02-18 patchlevel 334) [i586-linux]

my gems:
aaronh-chronic (0.3.9)
abstract (1.0.0)
actionmailer (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3, 2.3.14, 2.3.11, 2.3.10)
actionmailer-with-request (0.3.0)
actionpack (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3, 2.3.14, 2.3.11, 2.3.10)
activemodel (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3)
activerecord (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3, 2.3.14, 2.3.11, 2.3.10)
activeresource (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3, 2.3.14, 2.3.11, 2.3.10)
activesupport (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3, 2.3.14, 2.3.11, 2.3.10)
acts-as-taggable-on (2.1.1, 2.0.6)
addressable (2.2.6, 2.2.4, 2.2.2)
arel (2.2.1, 2.1.4, 2.1.3, 2.0.10, 2.0.9, 2.0.7)
assert2 (0.5.5)
autotest (4.4.6)
aws-s3 (0.6.2)
barista (1.2.1, 1.0.0)
bcrypt-ruby (3.0.1, 3.0.0, 2.1.4)
bson (1.4.0)
bson_ext (1.4.0)
builder (3.0.0, 2.1.2)
bundle (0.0.1)
bundler (1.1.pre.8, 1.0.18, 1.0.15, 1.0.14)
bushido (0.0.35)
bushido_stub (0.0.3)
cancan (1.6.7, 1.6.5, 1.4.1)
capybara (1.1.1, 0.4.1.2, 0.4.0)
carrierwave (0.5.6)
celerity (0.9.0, 0.8.9, 0.8.6)
cells (3.7.0, 3.6.7, 3.6.6, 3.4.4)
cfruby (1.01)
cgi_multipart_eof_fix (2.5.0)
childprocess (0.2.2, 0.1.9, 0.1.6)
chronic (0.6.4, 0.5.0, 0.3.0)
closure-compiler (1.1.4, 0.3.3)
cocaine (0.2.0, 0.1.0)
coffee-script (2.2.0, 2.1.1)
coffee-script-source (1.1.2, 1.0.0)
columnize (0.3.4, 0.3.3, 0.3.2)
configuration (1.3.1, 1.2.0)
crack (0.1.8)
cucumber (1.1.0, 1.0.3, 1.0.2, 1.0.0, 0.10.0)
cucumber-rails (1.1.1, 0.3.2)
culerity (0.2.15, 0.2.14, 0.2.13)
custom_fields (1.0.0.beta.25)
daemons (1.1.4, 1.1.3, 1.1.0, 1.0.10)
database_cleaner (0.6.7, 0.5.2, 0.5.0)
delayed_job (2.1.4)
delayed_job_mongoid (1.0.2)
devise (1.3.4)
devise_bushido_authenticatable (1.0.0.alpha10)
dictionary (1.0.0)
diff-lcs (1.1.3, 1.1.2)
dim-ruby-net-ldap (0.1.1)
dragonfly (0.9.8)
email_spec (1.2.1, 0.6.6)
erubis (2.7.0, 2.6.6)
eventmachine (0.12.10)
excon (0.6.6)
execjs (1.2.9, 1.2.4)
facets (2.9.2, 2.9.1)
factory_girl (2.1.2, 1.3.3, 1.3.2)
factory_girl_rails (1.2.0)
faker (1.0.1, 1.0.0, 0.9.5)
faraday (0.7.5, 0.7.4, 0.6.1, 0.5.7, 0.5.4)
fastthread (1.0.7)
ffi (1.0.9, 0.6.3)
fog (0.8.2)
foreman (0.24.0, 0.19.0)
formatador (0.2.1)
formtastic (1.2.4)
fuubar (0.0.6, 0.0.5, 0.0.3)
gd2 (1.1.1)
gem_plugin (0.2.3)
gherkin (2.5.2, 2.5.1, 2.4.18, 2.4.5, 2.4.1, 2.3.3)
growl-glue (1.0.7)
haml (3.1.3, 3.1.2, 3.0.25)
haml-rails (0.3.4)
has_scope (0.5.1)
hashie (1.1.0, 1.0.0)
heroku (1.19.1)
highline (1.6.2)
hike (1.2.1)
hoptoad_notifier (2.4.11)
hpricot (0.8.4, 0.8.3)
htmlentities (4.3.0, 4.2.4)
httparty (0.7.8)
i18n (0.6.0, 0.5.0, 0.4.2, 0.4.1)
icalendar (1.1.6, 1.1.5)
image_science (1.2.1)
immortal (1.0.0, 0.1.7, 0.1.4)
inherited_resources (1.1.2)
jammit (0.6.3, 0.5.4)
jquery-rails (1.0.16, 0.2.7)
json (1.6.1, 1.5.4, 1.5.3, 1.4.6)
json_pure (1.6.1, 1.5.4, 1.5.3, 1.4.6)
kaminari (0.12.4)
kgio (2.6.0)
launchy (2.0.5, 0.3.7)
libxml-ruby (2.2.2, 1.1.3 ruby x86-mswin32-60)
linecache (0.46, 0.43)
locomotive_jammit-s3 (0.5.4.4)
locomotive_liquid (2.2.2)
locomotive_mongoid_acts_as_tree (0.1.5.7)
log4r (1.1.9)
macaddr (1.4.0, 1.0.0)
mail (2.3.0, 2.2.19, 2.2.15, 2.2.13)
memcache-client (1.8.5)
mime-types (1.16)
mimemagic (0.1.8)
mimetype-fu (0.1.2)
mocha (0.9.12)
mongo (1.4.0)
mongoid (2.0.2)
mongrel (1.2.0.pre2, 1.1.5)
multi_json (1.0.3, 0.0.5)
multi_xml (0.4.1, 0.3.0, 0.2.2)
multipart-post (1.1.3, 1.1.2, 1.0.1)
mysql (2.8.1)
mysql2 (0.3.7, 0.3.6, 0.2.11, 0.2.6)
nested_set (1.6.8, 1.6.4)
net-ldap (0.2.2, 0.1.1)
net-ssh (2.2.1)
newrelic_rpm (3.1.2, 3.1.0)
nokogiri (1.5.0, 1.4.7, 1.4.4, 1.4.1)
oa-basic (0.3.0, 0.2.6, 0.2.0)
oa-core (0.3.0, 0.2.6, 0.2.3, 0.2.0, 0.1.6)
oa-enterprise (0.3.0, 0.2.6, 0.2.0)
oa-more (0.3.0, 0.2.6, 0.2.0)
oa-oauth (0.3.0, 0.2.6, 0.2.3, 0.2.0, 0.1.6)
oa-openid (0.3.0, 0.2.6, 0.2.0)
oauth (0.4.5, 0.4.4)
oauth2 (0.5.1, 0.5.0, 0.4.1, 0.3.0, 0.1.1, 0.1.0)
omniauth (0.3.0, 0.2.6, 0.2.0)
open4 (1.2.0, 1.1.0)
openid (0.0.1)
orm_adapter (0.0.5)
outsider (0.0.2)
paperclip (2.4.3, 2.3.16, 2.3.15, 2.3.8, 2.3.6)
pg (0.11.0, 0.9.0)
pickle (0.4.10, 0.4.8, 0.4.4)
Platform (0.4.0)
polyglot (0.3.2, 0.3.1)
POpen4 (0.1.4)
postgres (0.7.9.2008.01.28)
proxies (0.2.1)
puffer (0.0.29, 0.0.19)
pyu-ruby-sasl (0.0.3.3)
rack (1.3.4, 1.3.2, 1.3.1, 1.3.0, 1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.1.2, 1.1.0)
rack-cache (1.1, 1.0.3)
rack-mount (0.8.3, 0.8.2, 0.8.1, 0.6.14, 0.6.13)
rack-openid (1.3.1, 1.2.0)
rack-ssl (1.3.2)
rack-ssl-enforcer (0.2.4, 0.2.2, 0.2.0)
rack-test (0.6.1, 0.6.0, 0.5.7, 0.5.6)
rails (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3, 2.3.14, 2.3.11, 2.3.10)
railties (3.1.1, 3.1.0, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.3)
raindrops (0.7.0)
rak (1.0)
rake (0.9.2, 0.9.1, 0.8.7)
rbx-require-relative (0.0.5)
rcov (0.9.11, 0.9.10, 0.9.9)
rdiscount (1.6.8, 1.6.5)
rdoc (3.10, 3.9.4, 3.9.2, 3.9.1, 3.8, 3.6.1)
RedCloth (4.2.8, 4.2.7, 4.2.3)
responders (0.6.4)
rest-client (1.6.7, 1.6.3)
rgd (0.4.2)
riddle (1.4.0, 1.3.3, 1.2.2)
rmagick (2.13.1, 2.12.2)
rspec (2.6.0, 2.3.0, 1.3.2, 1.3.0)
rspec-cells (0.0.5)
rspec-core (2.6.4, 2.3.1)
rspec-expectations (2.6.0, 2.3.0)
rspec-instafail (0.1.8, 0.1.5)
rspec-mocks (2.6.0, 2.3.0)
rspec-rails (2.6.1, 2.3.1, 1.3.4, 1.3.2)
ruber (0.0.10)
ruby-debug (0.10.4)
ruby-debug-base (0.10.4)
ruby-gd (0.8.0)
ruby-hmac (0.4.0)
ruby-openid (2.1.8)
ruby-openid-apps-discovery (1.2.0)
ruby-progressbar (0.0.10, 0.0.9)
rubycas-client (2.2.1)
rubygems-update (1.8.11, 1.8.10, 1.8.8, 1.8.6, 1.8.5)
RubyInline (3.11.0, 3.8.6)
rubyntlm (0.1.1)
rubyzip (0.9.4)
russian (0.2.7)
s3 (0.3.8)
sanitize (2.0.3, 2.0.0)
sass (3.1.10, 3.1.4, 3.1.2)
selenium-webdriver (2.8.0, 2.5.0, 2.0.1, 0.1.2)
shoulda (2.11.3)
spork (0.9.0.rc9, 0.8.5)
sprockets (2.0.2, 2.0.0, 1.0.2)
sprockets-rails (0.0.1)
spruz (0.2.13)
sqlite3 (1.3.4, 1.3.3)
sqlite3-ruby (1.3.3, 1.2.5)
state_machine (1.0.2, 0.9.4)
subdomain-fu (1.0.0.beta2)
SystemTimer (1.2.3, 1.2.1)
systemu (2.4.0, 2.2.0)
teambox-permalink_fu (1.0.2, 1.0.1)
term-ansicolor (1.0.7, 1.0.6, 1.0.5)
text-format (1.0.0)
text-hyphen (1.2, 1.0.2, 1.0.0)
thin (1.2.11, 1.2.7)
thinking-sphinx (2.0.9, 2.0.1)
thor (0.14.6)
tilt (1.3.3, 1.2.2, 1.2.1)
timecop (0.3.5)
tmail (1.2.7.1)
treetop (1.4.10, 1.4.9)
tzinfo (0.3.30, 0.3.29, 0.3.28, 0.3.27, 0.3.24)
unicorn (4.1.1, 4.0.1)
uuid (2.3.4, 2.2.0)
warden (1.0.5)
webrat (0.7.3, 0.7.2)
whenever (0.7.0, 0.6.6, 0.4.2)
will_paginate (3.0.2, 3.0.0, 3.0.pre2, 2.3.16, 2.3.15)
xml-simple (1.1.1, 1.1.0, 1.0.12)
XMLCanonicalizer (1.0.1)
xpath (0.1.4, 0.1.2)
yard (0.7.2, 0.6.4)
yui-compressor (0.9.6, 0.9.1)
ZenTest (4.6.2, 4.5.0)

@paulas
Copy link
Author

paulas commented Oct 28, 2011

after 'gem uninstall ruber' and then 'gem install ruber' same thing

@stcrocco
Copy link
Owner

This is a known bug, due to the fact that the Mutex class is in the standard library in ruby 1.8 but in ruby core in ruby 1.9 (which I use). It's already been fixed in master (commit 918b8ce). Until the next version of Ruber, you can solve this problem by adding the line

require 'thread'

at the beginning of the lib/ruber/application/application.rb file.

@paulas
Copy link
Author

paulas commented Nov 1, 2011

Stefano thanks very mach!

I am big fan of Ruber!

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