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

game not working after install #18

Open
berlintam opened this issue Oct 3, 2014 · 1 comment
Open

game not working after install #18

berlintam opened this issue Oct 3, 2014 · 1 comment

Comments

@berlintam
Copy link

After install, I can't start the game! I have ruby version 2.1.1p76. The install from rubygems seemed to work thou (no error messages)

/Users/tam/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require': dlopen(/Users/tam/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/gosu-0.7.50/gosu.bundle, 9): Symbol not found: __ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_terminalE (LoadError)
  Referenced from: /Users/tam/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/gosu-0.7.50/gosu.bundle
  Expected in: flat namespace
 in /Users/tam/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/gosu-0.7.50/gosu.bundle - /Users/tam/.rvm/gems/ruby-2.1.1/extensions/x86_64-darwin-12/2.1.0-static/gosu-0.7.50/gosu.bundle
    from /Users/tam/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /Users/tam/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from /Users/tam/.rvm/gems/ruby-2.1.1/gems/gosu-0.7.50/lib/gosu.rb:9:in `<top (required)>'
    from /Users/tam/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/tam/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /Users/tam/.rvm/gems/ruby-2.1.1/gems/carpet_diem-0.0.6/bin/carpet_diem:3:in `<top (required)>'
    from /Users/tam/.rvm/gems/ruby-2.1.1/bin/carpet_diem:23:in `load'
    from /Users/tam/.rvm/gems/ruby-2.1.1/bin/carpet_diem:23:in `<main>'
    from /Users/tam/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval'
    from /Users/tam/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'
@sferik
Copy link
Contributor

sferik commented Oct 4, 2014

Hey Tam, this appears to be the issue: gosu/gosu#199.

@RapidRailsGirls I think we can fix this by allowing the latest version of gosu (currently 0.8.5) instead of specifying 0.7.50. After making that change to carpet_diem.gemspec, you’ll need to release a new version of the gem.

--- a/carpet_diem.gemspec
+++ b/carpet_diem.gemspec
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
   s.files      += Dir.glob('lib/**/*') + Dir.glob('bin/**/*.rb')
   s.homepage    = 'https://github.com/RapidRailsGirls/carpet-diem'
   s.executables = %w[carpet_diem]
-  s.add_runtime_dependency 'gosu', '0.7.50'
+  s.add_runtime_dependency 'gosu', '>= 0.7.50', '< 0.9'

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