Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am ruby fresher, I want to use this pomo util: https://github.com/visionmedia/pomo#readme.

But when I excute pomo on my ubuntu 12.10 terminal:

/var/lib/gems/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:365:in 
  `block in require_program': 
   program version required (Commander::Runner::CommandError)
    from /var/lib/gems/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:364:in `each'
    from /var/lib/gems/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:364:in `require_program'
    from /var/lib/gems/1.9.1/gems/commander-4.1.3/lib/commander/runner.rb:52:in `run!'
    from /var/lib/gems/1.9.1/gems/commander-4.1.3/lib/commander/delegates.rb:11:in `run!'
    from /var/lib/gems/1.9.1/gems/commander-4.1.3/lib/commander/import.rb:10:in `block in <top (required)>'
    /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 
      cannot load such file -- libnotify (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/pomo-2.0.2/lib/pomo.rb:5:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/pomo-2.0.2/bin/pomo:7:in `<top (required)>'
    from /usr/local/bin/pomo:23:in `load'
    from /usr/local/bin/pomo:23:in `<main>'

How can I do .thank you!

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Not completely sure what the problem is. But at least start by fixing this error:

cannot load such file -- libnotify

...with:

sudo apt-get install libnotify1
sudo gem install libnotify

With good luck it will fix the issue.

share|improve this answer

In my case it was an RVM Ruby version issue. I was using Ruby 1.9 and when I changed it to 1.8, the migration worked.

rvm use 1.8
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["                  <li><a href=\"//area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"//careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2015 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2015.4.27.2528\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Stack Overflow works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>\r\n    </nos"], "copyright__copyright__copyright": ["- libnotify\n\n...with:\n\nsudo apt-get install libnotify1\nsudo gem install libnotify\n\nWith good luck it will fix the issue.\n\nshare|improve this answer\n\nIn my case it was an RVM Ruby version issue. I was using Ruby 1.9 and when I changed it to 1.8, the migration worked.\n\nrvm use 1.8\nshare|improve this answer\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}