mezis / yarp

Yet Another Rubygems Proxy
68 stars 10 forks source link

Local install issues #15

Open hakunin opened 9 years ago

hakunin commented 9 years ago

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.

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.