2012-09-01 163 views
0

我想安装推客户端的宝石。宝石安装好,但没有捆绑

我已经把这个在我的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>' 

这似乎是链接到 - 在宝石名称中,但其他宝石正确安装。

任何帮助或建议,非常感谢......

回答

2

git路径是错误的。如果您在GitHub上访问the repository,您会看到代码已移至here

你应该在你Gemfile,而不是这样做:

​​
+0

太好了!愚蠢的错误在我身边!非常感谢 – tomsoft

相关问题