Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Local install issues #15

Description

@hakunin

Hi, I just installed yarp and it complained about missing gem:

LoadError: cannot load such file -- term/ansicolor
~/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in require' ~/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
~/dev/yarp/yarp/logger.rb:3:in <top (required)>' ~/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
~/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'

So I think there should be a bundle step in your readme's install notes.

Furthermore pow seems to not be able to restart it. Maybe because the project doesn't have tmp dir? I restarted pow and then the server but still the server claims missing gem.

Will restart the mac and see if it helps.

Update 1: no luck after restart. That means pow was working correctly. I had to install the term-ansicolor gem globally to make yarp work.

  • Please update the readme if bundle is needed to install.
  • Please update the code so that term-ansicolor is used from the bundled gems.

Update 2: While yarp.dev now redirects to rubygems, the bundler can't use it:

michal@11:56:32:~/dev/myapp$ bundle update
Fetching source index from http://yarp.dev/
Retrying source fetch due to error (2/3): Bundler::HTTPError Could not fetch specs from http://yarp.dev/
Retrying source fetch due to error (3/3): Bundler::HTTPError Could not fetch specs from http://yarp.dev/
Could not fetch specs from http://yarp.dev/

Update 3: Running yarp locally shows that I have to be running memcached to use it. While it is mentioned in the hacking guide, I don't see local install meantioning it.

  • Please add note about having to be running memcached when installing as a user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions