J'essaie d'exécuter mon Ruby application sur le serveur récemment et je continue à venir sur cette erreur:
Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
Je suis en cours d'exécution Rails 3.2.12 et Ruby 1.9.3P392. Jusqu'à présent, je n'ai aucun problème lors de l'accès au serveur, et c'est la première fois J'ai rencontré cette erreur.
J'ai essayé de chercher des réponses, mais comme je suis relativement nouveau à Ruby et Rails Je n'ai pas trouvé de réponse simple à comprendre.
Gemfile
:
source 'http://rubygems.org'
# STANDARD SET OF GEMS, SEE BOTTOM OF FILE FOR A LIST OF OTHER USEFUL GEMS
gem 'Rails', '3.2.12'
gem 'haml-Rails'
gem 'retina_tag'
gem 'mysql2'
gem 'will_paginate'
gem 'bootstrap-will_paginate'
gem 'contact_form'
gem 'draper'
gem 'pony'
gem 'devise'
gem 'cancan'
gem 'activemerchant', :require => 'active_merchant'
gem 'airbrake'
gem 'libv8','~> 3.11.8'
gem "therubyracer"
gem 'less-Rails'
gem "Twitter-bootstrap-Rails"
gem "font-awesome-Rails", "~> 3.0.2.0"
gem 'event-calendar', :require => 'event_calendar'
gem 'actionpack'
gem 'activesupport'
gem 'railties'
gem 'less'
gem "mailtrap", "~> 0.2.1"
group :assets do
gem 'sass-Rails'
gem 'coffee-Rails'
gem 'uglifier'
gem 'jquery-Rails'
gem 'jquery-ui-Rails'
end
group :development, :test do
gem 'sqlite3'
gem 'rspec-Rails'
gem 'debugger'
gem 'pry-Rails'
end
group :development do
gem 'thin'
gem 'letter_opener'
gem 'capistrano'
gem 'capistrano-ext'
## GUARD -- used to automatically run commands
# gem 'guard'
# gem 'rb-fsevent', '~> 0.9.1'
# gem 'growl'
# gem 'guard-rspec'
# gem 'guard-yard'
# gem 'redcarpet'
end
group :test do
gem 'capybara'
gem 'database_cleaner'
gem 'cucumber-Rails', :require => false
gem 'cucumber'
gem 'launchy'
gem 'simplecov'
gem 'metric_fu'
gem 'factory_girl_Rails'
# The use of 'shoulda' and 'shoulda-context' will break testing in Ruby 1.9.3
# so we explicitly use 'shoulda-matchers' only for testing purposes
gem 'shoulda-matchers'
# gem 'capybara-webkit'
end
Gemfile.lock
:
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.2.12)
actionpack (= 3.2.12)
mail (~> 2.4.4)
actionpack (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.5)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
active_utils (1.0.5)
activesupport (>= 2.3.11)
i18n
activemerchant (1.32.1)
active_utils (>= 1.0.2)
activesupport (>= 2.3.14)
builder (>= 2.0.0)
i18n
json (>= 1.5.1)
money
nokogiri
activemodel (3.2.12)
activesupport (= 3.2.12)
builder (~> 3.0.0)
activerecord (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
activesupport (3.2.12)
i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.3.4)
airbrake (3.1.11)
activesupport
builder
json
arel (3.0.2)
arrayfields (4.7.4)
awesome_print (1.1.0)
bcrypt-Ruby (3.0.1)
bluff (0.1.0)
bootstrap-will_paginate (0.0.9)
will_paginate
builder (3.0.4)
cancan (1.6.9)
cane (2.5.2)
parallel
capistrano (2.15.2)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capistrano-ext (1.2.1)
capistrano (>= 1.0.0)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
chronic (0.9.1)
churn (0.0.28)
chronic (>= 0.2.3)
hirb
json_pure
main
Ruby_parser (~> 3.0)
sexp_processor (~> 4.1)
code_analyzer (0.3.1)
sexp_processor
coderay (1.0.9)
coffee-Rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.2)
colored (1.2)
columnize (0.3.6)
commonjs (0.2.6)
contact_form (0.0.2)
i18n
jquery-Rails
mail
Rails (~> 3.2.8)
cucumber (1.3.1)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12.0)
multi_json (~> 1.3)
cucumber-Rails (1.3.1)
capybara (>= 1.1.2)
cucumber (>= 1.2.0)
nokogiri (>= 1.5.0)
Rails (~> 3.0)
daemons (1.1.9)
database_cleaner (0.9.1)
debugger (1.5.0)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-Ruby_core_source (~> 1.2.0)
debugger-linecache (1.2.0)
debugger-Ruby_core_source (1.2.0)
devise (2.2.3)
bcrypt-Ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (~> 3.1)
warden (~> 1.2.1)
diff-lcs (1.2.4)
draper (1.2.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
request_store (~> 1.0.3)
erubis (2.7.0)
event-calendar (2.3.3)
eventmachine (1.0.3)
execjs (1.4.0)
multi_json (~> 1.0)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_Rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
fattr (2.2.1)
flay (2.0.1)
Ruby_parser (~> 3.0)
sexp_processor (~> 4.0)
flog (3.2.2)
Ruby_parser (~> 3.1, > 3.1.0)
sexp_processor (~> 4.0)
font-awesome-Rails (3.0.2.0)
railties (>= 3.1)
gherkin (2.12.0)
multi_json (~> 1.3)
googlecharts (1.6.8)
haml (4.0.2)
tilt
haml-Rails (0.4)
actionpack (>= 3.1, < 4.1)
activesupport (>= 3.1, < 4.1)
haml (>= 3.1, < 4.1)
railties (>= 3.1, < 4.1)
highline (1.6.18)
hike (1.2.2)
hirb (0.7.1)
hoe (3.6.0)
rake (>= 0.8, < 11.0)
i18n (0.6.4)
japgolly-Saikuro (1.1.1.0)
journey (1.0.4)
jquery-Rails (2.2.1)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-Rails (4.0.2)
jquery-Rails
railties (>= 3.1.0)
json (1.7.7)
json_pure (1.7.7)
launchy (2.2.0)
addressable (~> 2.3)
less (2.3.2)
commonjs (~> 0.2.6)
less-Rails (2.3.3)
actionpack (>= 3.1)
less (~> 2.3.1)
letter_opener (1.1.0)
launchy (~> 2.2.0)
libv8 (3.11.8.17)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mailtrap (0.2.1)
daemons (>= 1.0.8)
hoe (>= 1.3.0)
trollop (>= 1.7)
main (5.2.0)
arrayfields (>= 4.7.4)
chronic (>= 0.6.2)
fattr (>= 2.2.0)
map (>= 5.1.0)
map (6.2.0)
method_source (0.8.1)
metric_fu (4.1.2)
activesupport (>= 2.0.0)
arrayfields (= 4.7.4)
bluff
cane (= 2.5.2)
churn (= 0.0.28)
coderay
fattr (= 2.2.1)
flay (= 2.0.1)
flog (= 3.2.2)
googlecharts
japgolly-Saikuro (>= 1.1.1.0)
map (= 6.2.0)
metric_fu-roodi (>= 2.2.1)
parallel (= 0.6.2)
Rails_best_practices (= 1.13.2)
redcard
reek (= 1.3.1)
Ruby2ruby (= 2.0.2)
Ruby_parser (~> 3.0, >= 3.1.1)
sexp_processor (~> 4.0)
metric_fu-roodi (2.2.1)
Ruby_parser
mime-types (1.23)
money (5.1.1)
i18n (~> 0.6.0)
multi_json (1.7.2)
mysql2 (0.3.11)
net-scp (1.1.0)
net-ssh (>= 2.6.5)
net-sftp (2.1.1)
net-ssh (>= 2.6.5)
net-ssh (2.6.7)
net-ssh-gateway (1.2.0)
net-ssh (>= 2.6.5)
nokogiri (1.5.9)
orm_adapter (0.4.0)
parallel (0.6.2)
polyglot (0.3.3)
pony (1.4)
mail (> 2.0)
progressbar (0.20.0)
pry (0.9.12.1)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
pry-Rails (0.2.2)
pry (>= 0.9.10)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
Rails (3.2.12)
actionmailer (= 3.2.12)
actionpack (= 3.2.12)
activerecord (= 3.2.12)
activeresource (= 3.2.12)
activesupport (= 3.2.12)
bundler (~> 1.0)
railties (= 3.2.12)
Rails_best_practices (1.13.2)
activesupport
awesome_print
code_analyzer
colored
erubis
i18n
progressbar
railties (3.2.12)
actionpack (= 3.2.12)
activesupport (= 3.2.12)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.4)
rdoc (3.12.2)
json (~> 1.4)
redcard (1.1.0)
reek (1.3.1)
Ruby2ruby (~> 2.0.2)
Ruby_parser (~> 3.1.1)
sexp_processor
ref (1.0.4)
request_store (1.0.5)
retina_tag (1.1.9)
jquery-Rails
Rails (>= 3.1)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.1)
rspec-Rails (2.13.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
Ruby2ruby (2.0.2)
Ruby_parser (~> 3.1)
sexp_processor (~> 4.0)
Ruby_parser (3.1.3)
sexp_processor (~> 4.1)
sass (3.2.8)
sass-Rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
sexp_processor (4.2.1)
shoulda-matchers (2.0.0)
activesupport (>= 3.0.0)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
slop (3.4.4)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.7)
therubyracer (0.11.4)
libv8 (~> 3.11.8.12)
ref
thin (1.5.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.18.1)
tilt (1.3.7)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
trollop (2.0)
Twitter-bootstrap-Rails (2.2.6)
actionpack (>= 3.1)
execjs
railties (>= 3.1)
tzinfo (0.3.37)
uglifier (2.0.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
warden (1.2.1)
rack (>= 1.0)
will_paginate (3.0.4)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
Ruby
DEPENDENCIES
actionpack
activemerchant
activesupport
airbrake
bootstrap-will_paginate
cancan
capistrano
capistrano-ext
capybara
coffee-Rails
contact_form
cucumber
cucumber-Rails
database_cleaner
debugger
devise
draper
event-calendar
factory_girl_Rails
font-awesome-Rails (~> 3.0.2.0)
haml-Rails
jquery-Rails
jquery-ui-Rails
launchy
less
less-Rails
letter_opener
libv8 (~> 3.11.8)
mailtrap (~> 0.2.1)
metric_fu
mysql2
pony
pry-Rails
Rails (= 3.2.12)
railties
retina_tag
rspec-Rails
sass-Rails
shoulda-matchers
simplecov
sqlite3
therubyracer
thin
Twitter-bootstrap-Rails
uglifier
will_paginate
À votre santé
Parfois, nous n'avons pas reçu la réponse de http://rubygems.org/ . Donc, il montrera l'erreur donnée.
Vous pouvez utiliser les façons suivantes pour résoudre ce problème
gem install rack
commande et exécution bundle update rake
Pour mettre à jour votre fichier gemfile.lock.Essayez de supprimer Gemfile.lock
et bundle install