2011-10-03 109 views
1

而我嘗試啓動WEBrick服務器上我的Windows XP我得到這個錯誤開始的WEBrick。無法在Windows XP

←[31mCould not find eventmachine-0.12.10 in any of the sources←[0m 
←[33mRun `bundle install` to install missing gems.←[0m 

我已經做了一個'捆綁安裝'。還試圖安裝雜種,但它並沒有幫助!

的Gemfile代碼:

source 'http://rubygems.org' 

gem 'rails', '3.0.10' 

# Bundle edge Rails instead: 
# gem 'rails', :git => 'git://github.com/rails/rails.git' 

#gem 'sqlite3' 

group :production do 
    gem 'pg' 
end 
group :development, :test do 
    gem 'sqlite3' 
end 

gem 'thin' 

# Use unicorn as the web server 
# gem 'unicorn' 

# Deploy with Capistrano 
# gem 'capistrano' 

# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+) 
# gem 'ruby-debug' 
# gem 'ruby-debug19', :require => 'ruby-debug' 

# Bundle the extra gems: 
# gem 'bj' 
# gem 'nokogiri' 
# gem 'sqlite3-ruby', :require => 'sqlite3' 
# gem 'aws-s3', :require => 'aws/s3' 

# Bundle gems for the local environment. Make sure to 
# put test-only gems in this group so their generators 
# and rake tasks are available in development mode: 
# group :development, :test do 
# gem 'webrat' 
# end 
+0

你試過'bundle exec rails s'嗎? – Bohdan

+0

嗨@Bohdan Pohorilets,我得到了以下錯誤消息,當我試圖「捆綁高管軌道的」 - 「找不到EventMachine的-0.12.10在任何來源」 – user976665

+0

可能您發佈的Gemfile? – Bohdan

回答

1

嘗試運行以下命令,然後再次嘗試rails s

gem install specific_install 
gem specific_install -l http://github.com/eventmachine/eventmachine.git 
+0

嗨@Nexerus,我得到了相同的錯誤消息,因爲我已經先貼即使EventMachine的成功安裝。任何想法爲什麼?謝謝你到目前爲止。 – user976665

+0

嘗試從Git倉庫檢查出具體的版本,並試圖再次,不太清楚的命令從目錄安裝,但嘗試'寶石specific_install。/'如果不工作,'-l嘗試。/' – Nexerus