0

pusher-clientgemをインストールしようとしています。

私はこれを私のGemfileに入れました:

gem "pusher-client",:git=>"git://github.com/logankoester/pusher-client.git"

バンドルインストールは大丈夫です

しかし、私がアプリを起動すると:

/Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.2.0/lib/bundler/runtime.rb:76:in `require': no such file to load -- pusher/client (LoadError)
from /Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.2.0/lib/bundler/runtime.rb:76:in `rescue in block in require'
from /Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.2.0/lib/bundler/runtime.rb:62:in `block in require'
from /Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.2.0/lib/bundler/runtime.rb:55:in `each'
from /Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.2.0/lib/bundler/runtime.rb:55:in `require'
from /Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/bundler-1.2.0/lib/bundler.rb:128:in `require'
from /Users/thomas/Documents/TweetTv/server/tvtweet/config/application.rb:12:in `<top (required)>'
from /Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.1.0/lib/rails/commands.rb:38:in `require'
from /Users/thomas/.rvm/gems/ruby-1.9.2-p318/gems/railties-3.1.0/lib/rails/commands.rb:38:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

gem名の-にリンクされているようですが、他のgemは正しくインストールされます。

どんな助けや提案も大歓迎です...

4

1 に答える 1

2

あなたのgit道は間違っています。GitHubのリポジトリに移動すると、コードがここに移動したことがわかります。

Gemfile代わりに、これを行う必要があります。

gem 'pusher-client', :git => "git://github.com/pusher/pusher-ruby-client.git"
于 2012-09-01T09:25:02.460 に答える