Rails 4.1.5, capistrano 3 trying to deploy to ubuntu.
Get the following errors on deploy:
Gem::LoadError: mysql2 is not part of the bundle. Add it to Gemfile.
Gem::LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile
But mysql2 is in the Gemfile. I've tried delete the shared/bundle directory to force redo of gem installs, but doesn't fix.
What's going on here? Why doesn't it see the mysql2 in the Gemfile?
Gemfile:
source 'http://rubygems.org'
gem 'rails', '4.1.5'
gem 'mysql2'
gem 'dynamic_form'
gem 'coffeebeans'
gem 'friendly_id', '5.0.3'
gem 'dumper'
gem 'sass-rails', " ~> 4.0.2"
gem 'coffee-rails', "~> 4.0.0"
gem 'uglifier', '>= 1.3.0'
gem 'jquery-ui-rails'
gem 'jquery-rails'
gem 'jquery-validation-rails'
gem 'bcrypt-ruby', '~> 3.1.2'
gem 'paperclip', '4.1.1'
gem 'slim'
gem 'slim-rails'
gem 'prawn'
gem 'prawn-table', '0.1.0'
gem 'axlsx_rails'
gem 'dalli'
gem 'simple_form', '~> 3.0.2'
gem 'redcarpet'
gem 'i18n-active_record',
:git => 'git://github.com/svenfuchs/i18n-active_record.git',
:require => 'i18n/active_record'
group :test, :development do
gem 'launchy'
gem 'capybara-webkit'
gem 'rspec-rails'
gem 'factory_girl_rails', '~> 4.0'
gem 'thin'
end
group :development do
gem 'rack-mini-profiler'
gem 'powder'
gem 'letter_opener'
gem 'hirb'
gem 'capistrano-rails', '~> 1.1', require: false
gem 'capistrano-bundler', '~> 1.1', require: false
gem 'capistrano-rbenv'
gem 'spring'
gem 'spring-commands-rspec'
gem 'spring-commands-testunit'
end
group :test do
gem 'minitest'
gem 'minitest-reporters'
gem 'capybara'
gem 'poltergeist'
gem 'database_cleaner', '1.2'
gem 'mocha'
gem 'faker'
end
Gemfile.lock:
GIT
remote: git://github.com/svenfuchs/i18n-active_record.git
revision: 2d9a22b6a4e5d809782cdbfa65b14d9e47aa27fc
specs:
i18n-active_record (0.0.2)
i18n (>= 0.5.0)
GEM
remote: http://rubygems.org/
specs:
actionmailer (4.1.5)
actionpack (= 4.1.5)
actionview (= 4.1.5)
mail (~> 2.5.4)
actionpack (4.1.5)
actionview (= 4.1.5)
activesupport (= 4.1.5)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
actionview (4.1.5)
activesupport (= 4.1.5)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.5)
activesupport (= 4.1.5)
builder (~> 3.1)
activerecord (4.1.5)
activemodel (= 4.1.5)
activesupport (= 4.1.5)
arel (~> 5.0.0)
activesupport (4.1.5)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
addressable (2.3.6)
ansi (1.4.3)
arel (5.0.1.20140414130214)
axlsx (2.0.1)
htmlentities (~> 4.3.1)
nokogiri (>= 1.4.1)
rubyzip (~> 1.0.0)
axlsx_rails (0.2.1)
axlsx (>= 2.0.1)
rails (>= 3.1)
bcrypt (3.1.7)
bcrypt-ruby (3.1.5)
bcrypt (>= 3.1.3)
builder (3.2.2)
capistrano (3.2.1)
i18n
rake (>= 10.0.0)
sshkit (~> 1.3)
capistrano-bundler (1.1.3)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-rails (1.1.2)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rbenv (2.0.2)
capistrano (~> 3.1)
sshkit (~> 1.3)
capybara (2.4.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara-webkit (1.3.0)
capybara (>= 2.0.2, < 2.5.0)
json
climate_control (0.0.3)
activesupport (>= 3.0)
cliver (0.3.2)
cocaine (0.5.4)
climate_control (>= 0.0.3, < 1.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.8.0)
coffeebeans (1.0.1)
actionpack (>= 3.0.0)
coffee-script
colorize (0.7.3)
daemons (1.1.9)
dalli (2.7.2)
database_cleaner (1.2.0)
diff-lcs (1.2.5)
dumper (1.6.0)
multi_json (>= 1.0)
multipart-post (>= 1.1.5)
posix-spawn (>= 0.3.6)
dynamic_form (1.1.4)
erubis (2.7.0)
eventmachine (1.0.3)
execjs (2.2.1)
factory_girl (4.4.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.4.1)
factory_girl (~> 4.4.0)
railties (>= 3.0.0)
faker (1.4.3)
i18n (~> 0.5)
friendly_id (5.0.3)
activerecord (>= 4.0.0)
hike (1.2.3)
hirb (0.7.2)
htmlentities (4.3.2)
i18n (0.6.11)
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.0)
railties (>= 3.2.16)
jquery-validation-rails (1.12.0)
railties (>= 3.2, < 5.0)
thor (~> 0.14)
json (1.8.1)
launchy (2.4.2)
addressable (~> 2.3)
letter_opener (1.2.0)
launchy (~> 2.2)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
metaclass (0.0.4)
mime-types (1.25.1)
mini_portile (0.6.0)
minitest (5.4.1)
minitest-reporters (1.0.5)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
mocha (1.1.0)
metaclass (~> 0.0.1)
multi_json (1.10.1)
multipart-post (2.0.0)
mysql2 (0.3.16)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.1)
nokogiri (1.6.3.1)
mini_portile (= 0.6.0)
paperclip (4.1.1)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.3)
mime-types
pdf-core (0.2.5)
poltergeist (1.5.1)
capybara (~> 2.1)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
polyglot (0.3.5)
posix-spawn (0.3.9)
powder (0.2.1)
thor (>= 0.11.5)
prawn (1.2.1)
pdf-core (~> 0.2.5)
ttfunk (~> 1.2.0)
prawn-table (0.1.0)
rack (1.5.2)
rack-mini-profiler (0.9.2)
rack (>= 1.1.3)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.1.5)
actionmailer (= 4.1.5)
actionpack (= 4.1.5)
actionview (= 4.1.5)
activemodel (= 4.1.5)
activerecord (= 4.1.5)
activesupport (= 4.1.5)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.5)
sprockets-rails (~> 2.0)
railties (4.1.5)
actionpack (= 4.1.5)
activesupport (= 4.1.5)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.2)
redcarpet (3.1.2)
rspec-core (3.1.2)
rspec-support (~> 3.1.0)
rspec-expectations (3.1.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.1.0)
rspec-mocks (3.1.0)
rspec-support (~> 3.1.0)
rspec-rails (3.1.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.1.0)
rspec-expectations (~> 3.1.0)
rspec-mocks (~> 3.1.0)
rspec-support (~> 3.1.0)
rspec-support (3.1.0)
ruby-progressbar (1.5.1)
rubyzip (1.0.0)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
simple_form (3.0.2)
actionpack (~> 4.0)
activemodel (~> 4.0)
slim (2.0.3)
temple (~> 0.6.6)
tilt (>= 1.3.3, < 2.1)
slim-rails (2.1.5)
actionpack (>= 3.0, < 4.2)
activesupport (>= 3.0, < 4.2)
railties (>= 3.0, < 4.2)
slim (~> 2.0)
spring (1.1.3)
spring-commands-rspec (1.0.2)
spring (>= 0.9.1)
spring-commands-testunit (1.0.1)
spring (>= 0.9.1)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.1.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sshkit (1.5.1)
colorize
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
temple (0.6.8)
thin (1.6.2)
daemons (>= 1.0.9)
eventmachine (>= 1.0.0)
rack (>= 1.0.0)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
ttfunk (1.2.2)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.5.3)
execjs (>= 0.3.0)
json (>= 1.8.0)
websocket-driver (0.3.4)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
axlsx_rails
bcrypt-ruby (~> 3.1.2)
capistrano-bundler (~> 1.1)
capistrano-rails (~> 1.1)
capistrano-rbenv
capybara
capybara-webkit
coffee-rails (~> 4.0.0)
coffeebeans
dalli
database_cleaner (= 1.2)
dumper
dynamic_form
factory_girl_rails (~> 4.0)
faker
friendly_id (= 5.0.3)
hirb
i18n-active_record!
jquery-rails
jquery-ui-rails
jquery-validation-rails
launchy
letter_opener
minitest
minitest-reporters
mocha
mysql2
paperclip (= 4.1.1)
poltergeist
powder
prawn
prawn-table (= 0.1.0)
rack-mini-profiler
rails (= 4.1.5)
redcarpet
rspec-rails
sass-rails (~> 4.0.2)
simple_form (~> 3.0.2)
slim
slim-rails
spring
spring-commands-rspec
spring-commands-testunit
thin
uglifier (>= 1.3.0)
Related
im getting the below error.
Sprockets::FileNotFound at /
couldn't find file 'owl.theme.default' with type 'text/css'
Checked in these paths:
/home/xyz/abc/proj1/app/assets/config
/home/xyz/abc/proj1/app/assets/fonts
/home/xyz/abc/proj1/app/assets/images
below are my proj1 Gemfile and Gemfile.lock files
source 'https://rubygems.org'
#ruby '3.0.4'
ruby '2.6.0'
gem 'rails', '~> 5.1.4'
#gem 'rails', '~> 6.1', '>= 6.1.5'
gem 'puma'
gem 'pg'
gem 'devise'#, :github => 'plataformatec/devise', :branch => 'master'
gem 'omniauth'
gem 'omniauth-facebook'
gem 'omniauth-google-oauth2'
gem 'sass-rails'#, '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
gem 'therubyracer', platforms: :ruby
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'turbolinks', '~> 5'
gem 'jquery-turbolinks'
gem 'jbuilder'#, '~> 2.5'
gem 'will_paginate'
gem 'will_paginate-bootstrap'
gem 'redis', '~> 3.0'
gem 'bootstrap-sass'
gem 'font-awesome-sass', '~> 4.4.0'
gem 'figaro'
gem "paperclip"#, "~> 4.3"
gem 'angularjs-rails'
gem 'angular-rails-templates'
gem 'angular-ui-bootstrap-rails'
gem 'aws-sdk', '< 2.0'
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'
group :development do
gem 'pry'
gem 'spring'
gem 'better_errors'
gem "binding_of_caller"
end
group :development, :test do
gem 'rubocop'
gem 'byebug'
end
group :production do
gem 'rails_12factor'
end
*** Gemfile.lock ***
GEM
remote: https://rubygems.org/
specs:
actioncable (5.1.7)
actionpack (= 5.1.7)
nio4r (~> 2.0)
websocket-driver (~> 0.6.1)
actionmailer (5.1.7)
actionpack (= 5.1.7)
actionview (= 5.1.7)
activejob (= 5.1.7)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.1.7)
actionview (= 5.1.7)
activesupport (= 5.1.7)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.1.7)
activesupport (= 5.1.7)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.1.7)
activesupport (= 5.1.7)
globalid (>= 0.3.6)
activemodel (5.1.7)
activesupport (= 5.1.7)
activerecord (5.1.7)
activemodel (= 5.1.7)
activesupport (= 5.1.7)
arel (~> 8.0)
activesupport (5.1.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
angular-rails-templates (1.1.0)
railties (>= 4.2, < 7)
sprockets (>= 3.0, < 5)
tilt
angular-ui-bootstrap-rails (2.4.0)
angularjs-rails (1.8.0)
arel (8.0.0)
ast (2.4.2)
autoprefixer-rails (10.4.7.0)
execjs (~> 2)
aws-sdk (1.67.0)
aws-sdk-v1 (= 1.67.0)
aws-sdk-v1 (1.67.0)
json (~> 1.4)
nokogiri (~> 1)
bcrypt (3.1.17)
better_errors (2.9.1)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
rack (>= 0.9.0)
binding_of_caller (1.0.0)
debug_inspector (>= 0.0.1)
bootstrap-sass (3.4.1)
autoprefixer-rails (>= 5.2.1)
sassc (>= 2.0.0)
builder (3.2.4)
byebug (11.1.3)
climate_control (0.2.0)
coderay (1.1.3)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.10)
crass (1.0.6)
debug_inspector (1.1.0)
devise (4.8.1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
responders
warden (~> 1.2.3)
erubi (1.10.0)
execjs (2.8.1)
faraday (2.2.0)
faraday-net_http (~> 2.0)
ruby2_keywords (>= 0.0.4)
faraday-net_http (2.0.2)
ffi (1.15.5)
figaro (1.2.0)
thor (>= 0.14.0, < 2)
font-awesome-sass (4.4.0)
sass (>= 3.2)
globalid (1.0.0)
activesupport (>= 5.0)
hashie (5.0.0)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
jquery-rails (4.4.0)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-turbolinks (2.1.0)
railties (>= 3.1.0)
turbolinks
jquery-ui-rails (6.0.1)
railties (>= 3.2.16)
json (1.8.6)
jwt (2.3.0)
libv8 (3.16.14.19)
loofah (2.17.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
method_source (1.0.0)
mime-types (3.4.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mimemagic (0.3.10)
nokogiri (~> 1)
rake
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.15.0)
multi_json (1.15.0)
multi_xml (0.6.0)
nio4r (2.5.8)
nokogiri (1.13.5)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
oauth2 (1.4.9)
faraday (>= 0.17.3, < 3.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (2.1.0)
hashie (>= 3.4.6)
rack (>= 2.2.3)
rack-protection
omniauth-facebook (9.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-google-oauth2 (1.0.1)
jwt (>= 2.0)
oauth2 (~> 1.1)
omniauth (~> 2.0)
omniauth-oauth2 (~> 1.7.1)
omniauth-oauth2 (1.7.2)
oauth2 (~> 1.4)
omniauth (>= 1.9, < 3)
orm_adapter (0.5.0)
paperclip (6.1.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
mime-types
mimemagic (~> 0.3.0)
terrapin (~> 0.6.0)
parallel (1.22.1)
parser (3.1.2.0)
ast (~> 2.4.1)
pg (1.3.5)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
puma (5.6.4)
nio4r (~> 2.0)
racc (1.6.0)
rack (2.2.3)
rack-protection (2.2.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.1.7)
actioncable (= 5.1.7)
actionmailer (= 5.1.7)
actionpack (= 5.1.7)
actionview (= 5.1.7)
activejob (= 5.1.7)
activemodel (= 5.1.7)
activerecord (= 5.1.7)
activesupport (= 5.1.7)
bundler (>= 1.3.0)
railties (= 5.1.7)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (5.1.7)
actionpack (= 5.1.7)
activesupport (= 5.1.7)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (3.1.1)
rake (13.0.6)
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
ffi (~> 1.0)
redis (3.3.5)
ref (2.0.0)
regexp_parser (2.3.1)
responders (3.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
rexml (3.2.5)
rubocop (1.28.2)
parallel (~> 1.10)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.17.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.17.0)
parser (>= 3.1.1.0)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (6.0.0)
sassc-rails (~> 2.1, >= 2.1.1)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
railties (>= 4.0.0)
sassc (>= 2.0)
sprockets (> 3.0)
sprockets-rails
tilt
spring (3.1.1)
sprockets (4.0.3)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.2)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
terrapin (0.6.0)
climate_control (>= 0.0.3, < 1.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thor (1.2.1)
thread_safe (0.3.6)
tilt (2.0.10)
turbolinks (5.2.1)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (1.2.9)
thread_safe (~> 0.1)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.1.0)
warden (1.2.9)
rack (>= 2.0.9)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
wicked_pdf (2.6.2)
activesupport
will_paginate (3.3.1)
will_paginate-bootstrap (1.0.2)
will_paginate (>= 3.0.3)
wkhtmltopdf-binary (0.12.6.5)
PLATFORMS
ruby
DEPENDENCIES
angular-rails-templates
angular-ui-bootstrap-rails
angularjs-rails
aws-sdk (< 2.0)
better_errors
binding_of_caller
bootstrap-sass
byebug
coffee-rails (~> 4.2)
devise
figaro
font-awesome-sass (~> 4.4.0)
jbuilder
jquery-rails
jquery-turbolinks
jquery-ui-rails
omniauth
omniauth-facebook
omniauth-google-oauth2
paperclip
pg
pry
puma
rails (~> 5.1.4)
rails_12factor
redis (~> 3.0)
rubocop
sass-rails
spring
therubyracer
turbolinks (~> 5)
uglifier (>= 1.3.0)
wicked_pdf
will_paginate
will_paginate-bootstrap
wkhtmltopdf-binary
RUBY VERSION
ruby 2.6.0p0
BUNDLED WITH
1.17.3
I want to run this project, https://github.com/ebidadmin/ebid33 I tried rails s and bundle install but was instead faced upon a series of different bundler version compatability and dependency issues. It's been a week or so that I'm trying to run. I just feel like I've reached a dead end.
My Ruby Version is 2.6.3, I also have 1.8.7 Installed.
My rails version is 6.0.3.2
when I run bundle install this is what I get :
Fetching gem metadata from http://gemcutter.org/.
Retrying dependency api due to error (2/4): Bundler::MarshalError TypeError: incompatible marshal file format (can't be read)
format version 4.8 required; 60.33 given
Retrying dependency api due to error (3/4): Bundler::MarshalError TypeError: incompatible marshal file format (can't be read)
format version 4.8 required; 60.33 given
Retrying dependency api due to error (4/4): Bundler::MarshalError TypeError: incompatible marshal file format (can't be read)
format version 4.8 required; 60.33 given
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from http://gemcutter.org/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from http://gemcutter.org/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from http://gemcutter.org/
the Gemfile is like this
require 'rbconfig'
HOST_OS = RbConfig::CONFIG['host_os']
source 'http://rubygems.org'
source "http://gemcutter.org"
gem 'rails', '4.2.2'
gem 'mysql2'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem "twitter-bootstrap-rails", "2.0.3"
gem "client_side_validations"
end
gem 'jquery-rails'
gem "rspec-rails", ">= 2.8.0.rc1", :group => [:development, :test]
group :test do
gem "factory_girl_rails", ">= 1.4.0"
gem "cucumber-rails", ">= 1.2.0"
gem "capybara", ">= 1.1.2"
gem "database_cleaner", ">= 0.7.0"
gem "launchy", ">= 2.0.5"
gem "mocha"
end
group :development do
# case HOST_OS
# when /darwin/i
# gem 'rb-fsevent'
# gem 'growl'
# when /linux/i
# gem 'libnotify'
# gem 'rb-inotify'
# when /mswin|windows/i
# gem 'rb-fchange'
# gem 'win32console'
# gem 'rb-notifu'
# end
gem "guard", ">= 0.6.2"
gem "guard-bundler", ">= 0.1.3"
gem "guard-rails", ">= 0.0.3"
gem "guard-livereload", ">= 0.3.0"
gem "guard-rspec", ">= 0.4.3"
gem "guard-cucumber", ">= 0.6.1"
gem "rails-footnotes", ">= 3.7"
gem "nifty-generators"
gem "letter_opener"
gem "capistrano"
end
gem "devise", ">= 1.5.0"
gem "has_scope"
gem "simple_form"
gem "nested_form", :git => 'git://github.com/ryanb/nested_form.git'
gem "cancan", :git => "git://github.com/ryanb/cancan.git", :branch => "2.0"
gem "paperclip", '2.4.5'
gem "delayed_job_active_record"
gem "will_paginate", "~> 3.0"
gem "squeel"
gem "tire"
# gem 'elastic_searchable'
# gem 'rd_searchlogic', :require => 'searchlogic', :git => 'git://github.com/railsdog/searchlogic.git'
gem "ransack"#, :git => "git://github.com/ernie/ransack.git"
gem "ancestry"
gem "private_pub"
gem "thin"
gem "delayed_paperclip"
gem 'exception_notification'
gem 'therubyracer', :group => :production
gem "business_time"
The Gemfile.lock contents are like this :
GIT
remote: git://github.com/ryanb/cancan.git
revision: c94de4ab1805d2e080ebd658051c59d0ec5147ce
branch: 2.0
specs:
cancan (2.0.0.alpha)
GIT
remote: git://github.com/ryanb/nested_form.git
revision: 486e0f0e93f3ca455d5d0fc7869053257b6afce2
specs:
nested_form (0.2.0)
GEM
remote: http://rubygems.org/
remote: http://gemcutter.org/
specs:
actionmailer (3.2.2)
actionpack (= 3.2.2)
mail (~> 2.4.0)
actionpack (3.2.2)
activemodel (= 3.2.2)
activesupport (= 3.2.2)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.1)
rack (~> 1.4.0)
rack-cache (~> 1.1)
rack-test (~> 0.6.1)
sprockets (~> 2.1.2)
activemodel (3.2.2)
activesupport (= 3.2.2)
builder (~> 3.0.0)
activerecord (3.2.2)
activemodel (= 3.2.2)
activesupport (= 3.2.2)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.2)
activemodel (= 3.2.2)
activesupport (= 3.2.2)
activesupport (3.2.2)
i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.2.7)
ancestry (1.2.5)
activerecord (>= 2.2.2)
arel (3.0.2)
bcrypt-ruby (3.0.1)
builder (3.0.0)
business_time (0.4.0)
activesupport (>= 2.0.0)
capistrano (2.11.2)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capybara (1.1.2)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
childprocess (0.3.1)
ffi (~> 1.0.6)
client_side_validations (3.1.4)
cocaine (0.2.1)
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.2.0)
commonjs (0.2.4)
cookiejar (0.3.0)
cucumber (1.1.9)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.9.0)
json (>= 1.4.6)
term-ansicolor (>= 1.0.6)
cucumber-rails (1.3.0)
capybara (>= 1.1.2)
cucumber (>= 1.1.8)
nokogiri (>= 1.5.0)
daemons (1.1.8)
database_cleaner (0.7.1)
delayed_job (3.0.1)
activesupport (~> 3.0)
delayed_job_active_record (0.3.2)
activerecord (> 2.1.0)
delayed_job (~> 3.0.0)
delayed_paperclip (2.4.5.1)
paperclip (>= 2.4.5)
devise (2.0.4)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
railties (~> 3.1)
warden (~> 1.1.1)
diff-lcs (1.1.3)
em-http-request (0.3.0)
addressable (>= 2.0.0)
escape_utils
eventmachine (>= 0.12.9)
em-websocket (0.3.6)
addressable (>= 2.1.1)
eventmachine (>= 0.12.9)
erubis (2.7.0)
escape_utils (0.2.4)
eventmachine (0.12.10)
exception_notification (2.5.2)
actionmailer (>= 3.0.4)
execjs (1.3.0)
multi_json (~> 1.0)
factory_girl (2.6.4)
activesupport (>= 2.3.9)
factory_girl_rails (1.7.0)
factory_girl (~> 2.6.0)
railties (>= 3.0.0)
faye (0.8.1)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.4.0)
rack (>= 1.0.0)
yajl-ruby (>= 1.0.0)
faye-websocket (0.4.4)
eventmachine (>= 0.12.0)
ffi (1.0.11)
gherkin (2.9.1)
json (>= 1.4.6)
guard (1.0.1)
ffi (>= 0.5.0)
thor (~> 0.14.6)
guard-bundler (0.1.3)
bundler (>= 1.0.0)
guard (>= 0.2.2)
guard-cucumber (0.7.5)
cucumber (>= 0.10)
guard (>= 0.8.3)
guard-livereload (0.4.2)
em-websocket (>= 0.2.0)
guard (>= 0.10.0)
multi_json (~> 1.0)
guard-rails (0.1.0)
guard (>= 0.2.2)
guard-rspec (0.6.0)
guard (>= 0.10.0)
has_scope (0.5.1)
highline (1.6.11)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.3)
jquery-rails (2.0.1)
railties (>= 3.2.0, < 5.0)
thor (~> 0.14)
json (1.6.5)
launchy (2.0.5)
addressable (~> 2.2.6)
less (2.0.11)
commonjs (~> 0.2.0)
therubyracer (~> 0.9.9)
less-rails (2.1.8)
actionpack (>= 3.1)
less (~> 2.0.7)
letter_opener (0.0.2)
launchy
libv8 (3.3.10.4)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
metaclass (0.0.1)
mime-types (1.17.2)
mocha (0.10.5)
metaclass (~> 0.0.1)
multi_json (1.1.0)
mysql2 (0.3.11)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-sftp (2.0.5)
net-ssh (>= 2.0.9)
net-ssh (2.3.0)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
nifty-generators (0.4.6)
nokogiri (1.5.2)
orm_adapter (0.0.6)
paperclip (2.4.5)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
mime-types
polyamorous (0.5.0)
activerecord (~> 3.0)
polyglot (0.3.3)
private_pub (1.0.1)
faye
rack (1.4.1)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.2.2)
actionmailer (= 3.2.2)
actionpack (= 3.2.2)
activerecord (= 3.2.2)
activeresource (= 3.2.2)
activesupport (= 3.2.2)
bundler (~> 1.0)
railties (= 3.2.2)
rails-footnotes (3.7.5)
rails (>= 3.0.0)
railties (3.2.2)
actionpack (= 3.2.2)
activesupport (= 3.2.2)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
ransack (0.6.0)
actionpack (~> 3.0)
activerecord (~> 3.0)
polyamorous (~> 0.5.0)
rdoc (3.12)
json (~> 1.4)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.9.0.rc2)
rspec-core (= 2.9.0.rc2)
rspec-expectations (= 2.9.0.rc2)
rspec-mocks (= 2.9.0.rc2)
rspec-core (2.9.0.rc2)
rspec-expectations (2.9.0.rc2)
diff-lcs (~> 1.1.3)
rspec-mocks (2.9.0.rc2)
rspec-rails (2.9.0.rc2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec (= 2.9.0.rc2)
rubyzip (0.9.6.1)
sass (3.1.15)
sass-rails (3.2.4)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
selenium-webdriver (2.20.0)
childprocess (>= 0.2.5)
ffi (~> 1.0)
multi_json (~> 1.0)
rubyzip
simple_form (2.0.1)
actionpack (~> 3.0)
activemodel (~> 3.0)
sprockets (2.1.2)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
squeel (0.9.5)
activerecord (~> 3.0)
activesupport (~> 3.0)
polyamorous (~> 0.5.0)
term-ansicolor (1.0.7)
therubyracer (0.9.10)
libv8 (~> 3.3.10)
thin (1.3.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
tire (0.3.12)
activemodel (~> 3.0)
multi_json (~> 1.0)
rake
rest-client (~> 1.6.0)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
twitter-bootstrap-rails (2.0.3)
actionpack (>= 3.1)
less-rails (~> 2.1.6)
railties (>= 3.1)
tzinfo (0.3.32)
uglifier (1.2.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
warden (1.1.1)
rack (>= 1.0)
will_paginate (3.0.3)
xpath (0.1.4)
nokogiri (~> 1.3)
yajl-ruby (1.1.0)
PLATFORMS
ruby
DEPENDENCIES
ancestry
business_time
cancan!
capistrano
capybara (>= 1.1.2)
client_side_validations
coffee-rails (~> 3.2.1)
cucumber-rails (>= 1.2.0)
database_cleaner (>= 0.7.0)
delayed_job_active_record
delayed_paperclip
devise (>= 1.5.0)
exception_notification
factory_girl_rails (>= 1.4.0)
guard (>= 0.6.2)
guard-bundler (>= 0.1.3)
guard-cucumber (>= 0.6.1)
guard-livereload (>= 0.3.0)
guard-rails (>= 0.0.3)
guard-rspec (>= 0.4.3)
has_scope
jquery-rails
launchy (>= 2.0.5)
letter_opener
mocha
mysql2
nested_form!
nifty-generators
paperclip (= 2.4.5)
private_pub
rails (= 3.2.2)
rails-footnotes (>= 3.7)
ransack
rspec-rails (>= 2.8.0.rc1)
sass-rails (~> 3.2.3)
simple_form
squeel
therubyracer
thin
tire
twitter-bootstrap-rails (= 2.0.3)
uglifier (>= 1.0.3)
will_paginate (~> 3.0)
I just want the project to run. any help is highly appreciated!
I'm creating a Rails app. I deployed to a vps server by Capistrano, running the following deploy command:
$ bundle exec cap development deploy
And the deploying looked like success, but some gems were missing.
The following gems are missing
DEBUG [16b13d82] * debug_inspector (0.0.3)
* web-console (3.1.1)
DEBUG [16b13d82] * spring (1.7.2)
* spring-watcher-listen (2.0.0)
DEBUG [16b13d82] * rails-controller-testing (0.1.1)
DEBUG [16b13d82] * ansi (1.5.0)
DEBUG [16b13d82] * ruby-progressbar (1.8.1)
* minitest-reporters (1.1.9)
* formatador (0.2.5)
DEBUG [16b13d82] * lumberjack (1.0.12)
DEBUG [16b13d82] * nenv (0.3.0)
DEBUG [16b13d82] * shellany (0.0.1)
DEBUG [16b13d82] * notiffany (0.1.1)
DEBUG [16b13d82] * coderay (1.1.1)
DEBUG [16b13d82] * slop (3.6.0)
DEBUG [16b13d82] * pry (0.10.4)
DEBUG [16b13d82] * guard (2.13.0)
DEBUG [16b13d82] * guard-compat (1.2.1)
DEBUG [16b13d82] * guard-minitest (2.4.4)
DEBUG [16b13d82] Install missing gems with `bundle install`
I want to installing the missing gems.
The specs are:
ubuntu 16.04
Bundler 1.14.6
ruby 2.4.1p111 (2017-03-22 revision58053) [x86_64-darwin16]
Rails 5.1.2
capistrano 3
cloud9 (local environment)
My Gemfile:
source 'https://rubygems.org'
gem 'rails', '5.1.2'
gem 'will_paginate', '3.1.0'
gem 'bootstrap-will_paginate', '0.0.10'
gem 'bootstrap-sass', '~> 3.3.6'
gem 'sass-rails', '>= 3.2'
gem 'puma', '3.4.0'
gem 'uglifier', '3.0.0'
gem 'coffee-rails', '4.2.1'
gem 'jquery-rails', '4.1.1'
gem 'turbolinks', '5.0.1'
gem 'jbuilder', '2.4.1'
gem 'devise'
gem 'toastr-rails'
gem 'omniauth'
gem 'omniauth-facebook'
gem 'omniauth-twitter'
gem 'omniauth-google-oauth2'
gem 'paperclip'
gem 'geocoder'
gem 'jquery-ui-rails', '5.0.5'
gem 'private_pub'
gem 'thin'
gem 'ransack'
gem 'font-awesome-rails'
gem 'font-awesome-sass'
gem 'rails-i18n'
gem 'payjp'
gem 'carrierwave'
gem 'rmagick'
gem 'rack-mini-profiler'
gem 'rb-readline'
gem 'unicorn'
gem 'capistrano', '~> 3.6'
gem 'capistrano-rails', '~> 1.3'
gem 'capistrano-bundler'
gem 'capistrano-passenger'
gem 'capistrano-rbenv'
gem 'therubyracer', platforms: :ruby
gem 'capistrano3-unicorn'
gem 'capistrano-safe-deploy-to'
gem 'listen', '~> 3.1.5'
gem 'sqlite3', '1.3.13'
group :development do
gem 'web-console', '3.1.1'
gem 'spring', '1.7.2'
gem 'spring-watcher-listen', '2.0.0'
end
group :test do
gem 'rails-controller-testing', '0.1.1'
gem 'minitest-reporters', '1.1.9'
gem 'guard', '2.13.0'
gem 'guard-minitest', '2.4.4'
end
group :production do
gem 'pg', '0.18.4'
gem 'rails_12factor'
end
My Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
actioncable (5.0.3)
actionpack (= 5.0.3)
nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1)
actionmailer (5.0.3)
actionpack (= 5.0.3)
actionview (= 5.0.3)
activejob (= 5.0.3)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.0.3)
actionview (= 5.0.3)
activesupport (= 5.0.3)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.3)
activesupport (= 5.0.3)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.0.3)
activesupport (= 5.0.3)
globalid (>= 0.3.6)
activemodel (5.0.3)
activesupport (= 5.0.3)
activerecord (5.0.3)
activemodel (= 5.0.3)
activesupport (= 5.0.3)
arel (~> 7.0)
activesupport (5.0.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
airbrussh (1.3.0)
sshkit (>= 1.6.1, != 1.7.0)
ansi (1.5.0)
arel (7.1.4)
autoprefixer-rails (7.1.2.2)
execjs
bcrypt (3.1.11)
bootstrap-sass (3.3.7)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
bootstrap-will_paginate (0.0.10)
will_paginate
builder (3.2.3)
capistrano (3.8.2)
airbrussh (>= 1.0.0)
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.2.0)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-passenger (0.2.0)
capistrano (~> 3.0)
capistrano-rails (1.3.0)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rbenv (2.1.1)
capistrano (~> 3.1)
sshkit (~> 1.3)
capistrano-safe-deploy-to (1.1.1)
capistrano (>= 3.0)
capistrano3-unicorn (0.2.1)
capistrano (~> 3.1, >= 3.1.0)
carrierwave (1.1.0)
activemodel (>= 4.0.0)
activesupport (>= 4.0.0)
mime-types (>= 1.16)
climate_control (0.2.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.1)
coffee-rails (4.2.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.2.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
cookiejar (0.3.3)
daemons (1.2.4)
debug_inspector (0.0.3)
devise (4.3.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.2)
responders
warden (~> 1.2.3)
domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0)
em-http-request (1.1.5)
addressable (>= 2.3.4)
cookiejar (!= 0.3.1)
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.1)
eventmachine (>= 1.0.0.beta.4)
erubis (2.7.0)
eventmachine (1.2.3)
execjs (2.7.0)
faraday (0.12.1)
multipart-post (>= 1.2, < 3)
faye (1.2.4)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.9.1)
multi_json (>= 1.0.0)
rack (>= 1.0.0)
websocket-driver (>= 0.5.1)
faye-websocket (0.10.7)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
ffi (1.9.18)
font-awesome-rails (4.7.0.2)
railties (>= 3.2, < 5.2)
font-awesome-sass (4.7.0)
sass (>= 3.2)
formatador (0.2.5)
geocoder (1.4.4)
globalid (0.4.0)
activesupport (>= 4.2.0)
guard (2.13.0)
formatador (>= 0.2.4)
listen (>= 2.7, <= 4.0)
lumberjack (~> 1.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-minitest (2.4.4)
guard-compat (~> 1.2)
minitest (>= 3.0)
hashie (3.5.6)
http-cookie (1.0.3)
domain_name (~> 0.5)
http_parser.rb (0.6.0)
i18n (0.8.6)
jbuilder (2.4.1)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-rails (4.1.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
jwt (1.5.6)
kgio (2.11.0)
libv8 (3.16.14.19)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.0.3)
nokogiri (>= 1.5.9)
lumberjack (1.0.12)
mail (2.6.6)
mime-types (>= 1.16, < 4)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mini_portile2 (2.2.0)
minitest (5.10.2)
minitest-reporters (1.1.9)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
multi_json (1.12.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nenv (0.3.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (4.1.0)
netrc (0.11.0)
nio4r (2.1.0)
nokogiri (1.8.0)
mini_portile2 (~> 2.2.0)
notiffany (0.1.1)
nenv (~> 0.1)
shellany (~> 0.0)
oauth (0.5.3)
oauth2 (1.4.0)
faraday (>= 0.8, < 0.13)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.6.1)
hashie (>= 3.4.6, < 3.6.0)
rack (>= 1.6.2, < 3)
omniauth-facebook (4.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-google-oauth2 (0.5.0)
jwt (~> 1.5)
multi_json (~> 1.3)
omniauth (>= 1.1.1)
omniauth-oauth2 (>= 1.3.1)
omniauth-oauth (1.1.0)
oauth
omniauth (~> 1.0)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1)
rack
orm_adapter (0.5.0)
paperclip (5.1.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
cocaine (~> 0.5.5)
mime-types
mimemagic (~> 0.3.0)
payjp (0.0.5)
rest-client (~> 2.0)
pg (0.18.4)
polyamorous (1.3.1)
activerecord (>= 3.0)
private_pub (1.0.3)
faye
pry (0.10.4)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
public_suffix (2.0.5)
puma (3.4.0)
rack (2.0.3)
rack-mini-profiler (0.10.5)
rack (>= 1.2.0)
rack-test (0.6.3)
rack (>= 1.0)
rails (5.0.3)
actioncable (= 5.0.3)
actionmailer (= 5.0.3)
actionpack (= 5.0.3)
actionview (= 5.0.3)
activejob (= 5.0.3)
activemodel (= 5.0.3)
activerecord (= 5.0.3)
activesupport (= 5.0.3)
bundler (>= 1.3.0, < 2.0)
railties (= 5.0.3)
sprockets-rails (>= 2.0.0)
rails-controller-testing (0.1.1)
actionpack (~> 5.x)
actionview (~> 5.x)
activesupport (~> 5.x)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails-i18n (5.0.4)
i18n (~> 0.7)
railties (~> 5.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (5.0.3)
actionpack (= 5.0.3)
activesupport (= 5.0.3)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.18.0)
rake (12.0.0)
ransack (1.8.3)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.3)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rb-readline (0.5.4)
ref (2.0.0)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rmagick (2.16.0)
ruby-progressbar (1.8.1)
ruby_dep (1.5.0)
sass (3.5.1)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
shellany (0.0.1)
slop (3.6.0)
spring (1.7.2)
spring-watcher-listen (2.0.0)
listen (>= 2.7, < 4.0)
spring (~> 1.2)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
sshkit (1.14.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thin (1.7.2)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.7)
toastr-rails (1.0.3)
railties (>= 3.1.0)
turbolinks (5.0.1)
turbolinks-source (~> 5)
turbolinks-source (5.0.3)
tzinfo (1.2.3)
thread_safe (~> 0.1)
uglifier (3.0.0)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.4)
unicorn (5.3.0)
kgio (~> 2.6)
raindrops (~> 0.7)
warden (1.2.7)
rack (>= 1.0)
web-console (3.1.1)
activemodel (>= 4.2)
debug_inspector
railties (>= 4.2)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)
will_paginate (3.1.0)
PLATFORMS
ruby
DEPENDENCIES
bootstrap-sass (~> 3.3.6)
bootstrap-will_paginate (= 0.0.10)
capistrano (~> 3.6)
capistrano-bundler
capistrano-passenger
capistrano-rails (~> 1.3)
capistrano-rbenv
capistrano-safe-deploy-to
capistrano3-unicorn
carrierwave
coffee-rails (= 4.2.1)
devise
font-awesome-rails
font-awesome-sass
geocoder
guard (= 2.13.0)
guard-minitest (= 2.4.4)
jbuilder (= 2.4.1)
jquery-rails (= 4.1.1)
jquery-ui-rails (= 5.0.5)
listen (~> 3.1.5)
minitest-reporters (= 1.1.9)
omniauth
omniauth-facebook
omniauth-google-oauth2
omniauth-twitter
paperclip
payjp
pg (= 0.18.4)
private_pub
puma (= 3.4.0)
rack-mini-profiler
rails (= 5.0.3)
rails-controller-testing (= 0.1.1)
rails-i18n
rails_12factor
ransack
rb-readline
rmagick
sass-rails (>= 3.2)
spring (= 1.7.2)
spring-watcher-listen (= 2.0.0)
sqlite3 (= 1.3.13)
therubyracer
thin
toastr-rails
turbolinks (= 5.0.1)
uglifier (= 3.0.0)
unicorn
web-console (= 3.1.1)
will_paginate (= 3.1.0)
BUNDLED WITH
1.15.1
My Capfile
require 'capistrano/setup'
require 'capistrano/deploy'
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git
require 'capistrano/rbenv'
set :rbenv_type, :user
set :rbenv_ruby, '2.4.1'
require 'capistrano/bundler'
require 'capistrano3/unicorn'
require 'capistrano/rails'
require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'
require 'capistrano/safe_deploy_to'
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }
The gems that are reported as missing are all gems from the development and test groups. All other gems are there.
you may check capistrano bundler, as this in your production server not the Gem files in your development, you should also install the gemfiles in you production, since you deploy with capistrano then you must include in your Capfile
require 'capistrano/bundler'
with this command Capistrano will run the bundle install in your production server during the deploy.
I don't think there is anything left to install.
capistrano-bundler first checks if any gems are missing. That is why you see the "the following gems are missing" message. Then it automatically proceeds to install those missing gems.
If you deploy a second time, you shouldn't see the "missing" message, because now all the gems are installed.
I am using the new ruby version(2.3.0) with rails 4.2.5 and I am facing an issue with the "rake" command.
Edit: I have modified bin/rake
#!/usr/bin/env ruby
require_relative '../config/boot'
require 'rake'
Rake.application.run
And now the error is:
➜ rvm:(ruby-2.3.0#rails4.2) git:(edge) ✗ rake routes
./bin/rake:3:in `require': cannot load such file -- rake (LoadError)
from ./bin/rake:3:in `<main>'
The command works with ruby 2.2.4
This is my gemfile:
source 'https://rubygems.org'
# ruby '2.3.0'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.5'
# Use postgresql as the database for Active Record
gem 'pg', '0.18.3'
gem 'sass-rails', '~> 5.0'
gem 'bootstrap-sass', '~> 3.3.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
# gem 'therubyracer', platforms: :ruby
gem 'jquery-rails'
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
gem 'paperclip', '~> 4.2.1'
gem 'will_paginate', '3.0.7'
gem 'bootstrap-will_paginate'
gem 'auto_html', '1.6.4'
gem 'faker', '1.1.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano', group: :development
group :development, :test do
gem 'guard'
# gem 'guard-livereload'
# gem 'guard-rspec'
# gem 'guard-cucumber'
gem 'rspec-rails'
gem 'spring-commands-rspec'
gem 'shoulda-matchers'
gem 'better_errors'
gem 'binding_of_caller'
gem 'byebug', '~> 3.5.1'
gem 'quiet_assets'
#debug
gem 'pry-rails'
gem 'pry-byebug'
gem 'pry-stack_explorer'
gem 'pry-rescue'
gem 'awesome_print'
gem 'hirb'
end
group :development do
# A static analysis security vulnerability scanner for Ruby on Rails applications
gem 'brakeman', :require => false
# Checks for code optimization.
gem 'rubycritic', :require => false
# Checks for undefined routes and unreachable actions.
gem 'traceroute'
# Checks for query optimizations.
gem 'bullet'
# Profiler for your development and production Ruby rack apps.
gem 'rack-mini-profiler', require: false
# Checks for code optimization.
gem 'rails_best_practices'
# Checks for compliance to Sandi Metz's rules for developers.
gem 'sandi_meter'
# A Ruby static code analyzer, based on the community Ruby style guide.
gem 'rubocop', require: false
end
group :test do
gem 'capybara', '2.5.0'
gem 'factory_girl_rails', '4.4.1'
gem 'cucumber-rails', :require => false
gem 'database_cleaner', '~> 1.4.1'
gem 'simplecov', :require => false
end
group :production do
gem 'rails_12factor', '0.0.2'
end
This is my gemfile.lock:
GEM
remote: https://rubygems.org/
specs:
abstract_type (0.0.7)
actionmailer (4.2.5)
actionpack (= 4.2.5)
actionview (= 4.2.5)
activejob (= 4.2.5)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.5)
actionview (= 4.2.5)
activesupport (= 4.2.5)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.5)
activesupport (= 4.2.5)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.5)
activesupport (= 4.2.5)
globalid (>= 0.3.0)
activemodel (4.2.5)
activesupport (= 4.2.5)
builder (~> 3.1)
activerecord (4.2.5)
activemodel (= 4.2.5)
activesupport (= 4.2.5)
arel (~> 6.0)
activesupport (4.2.5)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
adamantium (0.2.0)
ice_nine (~> 0.11.0)
memoizable (~> 0.4.0)
addressable (2.4.0)
arel (6.0.3)
ast (2.2.0)
astrolabe (1.3.1)
parser (~> 2.2)
auto_html (1.6.4)
redcarpet (~> 3.1)
rinku (~> 1.5.0)
autoprefixer-rails (6.2.3)
execjs
json
awesome_print (1.6.1)
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
bcrypt (3.1.10)
better_errors (2.1.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-sass (3.3.6)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
bootstrap-will_paginate (0.0.10)
will_paginate
brakeman (3.1.4)
erubis (~> 2.6)
fastercsv (~> 1.5)
haml (>= 3.0, < 5.0)
highline (>= 1.6.20, < 2.0)
multi_json (~> 1.2)
ruby2ruby (>= 2.1.1, < 2.3.0)
ruby_parser (~> 3.7.0)
safe_yaml (>= 1.0)
sass (~> 3.0)
slim (>= 1.3.6, < 4.0)
terminal-table (~> 1.4)
builder (3.2.2)
bullet (4.14.10)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.9.0)
byebug (3.5.1)
columnize (~> 0.8)
debugger-linecache (~> 1.2)
slop (~> 3.6)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
code_analyzer (0.4.5)
sexp_processor
codeclimate-engine-rb (0.1.0)
virtus (~> 1.0)
coderay (1.1.0)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colored (1.2)
columnize (0.9.0)
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
concurrent-ruby (1.0.0)
cucumber (1.3.20)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-rails (1.4.2)
capybara (>= 1.1.2, < 3)
cucumber (>= 1.3.8, < 2)
mime-types (>= 1.16, < 3)
nokogiri (~> 1.5)
rails (>= 3, < 5)
database_cleaner (1.4.1)
debug_inspector (0.0.2)
debugger-linecache (1.2.0)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.2.5)
docile (1.1.5)
equalizer (0.0.11)
erubis (2.7.0)
execjs (2.6.0)
factory_girl (4.4.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.4.1)
factory_girl (~> 4.4.0)
railties (>= 3.0.0)
faker (1.1.2)
i18n (~> 0.5)
fastercsv (1.5.5)
ffi (1.9.10)
flay (2.6.1)
ruby_parser (~> 3.0)
sexp_processor (~> 4.0)
flog (4.3.2)
ruby_parser (~> 3.1, > 3.1.0)
sexp_processor (~> 4.4)
formatador (0.2.5)
gherkin (2.12.2)
multi_json (~> 1.3)
globalid (0.3.6)
activesupport (>= 4.1.0)
guard (2.13.0)
formatador (>= 0.2.4)
listen (>= 2.7, <= 4.0)
lumberjack (~> 1.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
haml (4.0.7)
tilt
highline (1.7.8)
hirb (0.7.3)
i18n (0.7.0)
ice_nine (0.11.1)
interception (0.5)
jbuilder (2.4.0)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-rails (4.0.5)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
launchy (2.4.3)
addressable (~> 2.3)
listen (3.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
loofah (2.0.3)
nokogiri (>= 1.5.9)
lumberjack (1.0.10)
mail (2.6.3)
mime-types (>= 1.16, < 3)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.8.2)
mime-types (2.99)
mini_portile2 (2.0.0)
minitest (5.8.3)
mixlib-cli (1.5.0)
multi_json (1.11.2)
multi_test (0.1.2)
nenv (0.2.0)
nokogiri (1.6.7.1)
mini_portile2 (~> 2.0.0.rc2)
notiffany (0.0.8)
nenv (~> 0.1)
shellany (~> 0.0)
paperclip (4.2.4)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
cocaine (~> 0.5.5)
mime-types
parser (2.2.3.0)
ast (>= 1.1, < 3.0)
pg (0.18.3)
powerpack (0.1.1)
private_attr (1.1.0)
procto (0.0.2)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.0.1)
byebug (~> 3.4)
pry (~> 0.10)
pry-rails (0.3.4)
pry (>= 0.9.10)
pry-rescue (1.4.2)
interception (>= 0.5)
pry
pry-stack_explorer (0.4.9.2)
binding_of_caller (>= 0.7)
pry (>= 0.9.11)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.4)
rack-mini-profiler (0.9.8)
rack (>= 1.1.3)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.5)
actionmailer (= 4.2.5)
actionpack (= 4.2.5)
actionview (= 4.2.5)
activejob (= 4.2.5)
activemodel (= 4.2.5)
activerecord (= 4.2.5)
activesupport (= 4.2.5)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.5)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.2)
loofah (~> 2.0)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_best_practices (1.15.7)
activesupport
code_analyzer (>= 0.4.3)
colored
erubis
i18n
json
require_all
ruby-progressbar
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.4)
railties (4.2.5)
actionpack (= 4.2.5)
activesupport (= 4.2.5)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (2.0.0)
rake (10.4.2)
rb-fsevent (0.9.7)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rdoc (4.2.1)
json (~> 1.4)
redcarpet (3.3.4)
reek (3.8.1)
codeclimate-engine-rb (~> 0.1.0)
parser (~> 2.2, >= 2.2.2.5)
private_attr (~> 1.1)
rainbow (~> 2.0)
unparser (~> 0.2.2)
require_all (1.3.3)
rinku (1.5.1)
rspec-core (3.4.1)
rspec-support (~> 3.4.0)
rspec-expectations (3.4.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-mocks (3.4.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-rails (3.4.0)
actionpack (>= 3.0, < 4.3)
activesupport (>= 3.0, < 4.3)
railties (>= 3.0, < 4.3)
rspec-core (~> 3.4.0)
rspec-expectations (~> 3.4.0)
rspec-mocks (~> 3.4.0)
rspec-support (~> 3.4.0)
rspec-support (3.4.1)
rubocop (0.35.1)
astrolabe (~> 1.3)
parser (>= 2.2.3.0, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
tins (<= 1.6.0)
ruby-progressbar (1.7.5)
ruby2ruby (2.2.0)
ruby_parser (~> 3.1)
sexp_processor (~> 4.0)
ruby_parser (3.7.2)
sexp_processor (~> 4.1)
rubycritic (2.4.1)
flay (= 2.6.1)
flog (= 4.3.2)
parser (>= 2.2.0, < 3.0)
reek (= 3.8.1)
virtus (~> 1.0)
safe_yaml (1.0.4)
sandi_meter (1.2.0)
json
launchy
mixlib-cli
sass (3.4.20)
sass-rails (5.0.4)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
sexp_processor (4.6.0)
shellany (0.0.1)
shoulda-matchers (3.0.1)
activesupport (>= 4.0.0)
simplecov (0.11.1)
docile (~> 1.1.0)
json (~> 1.8)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
slim (3.0.6)
temple (~> 0.7.3)
tilt (>= 1.3.3, < 2.1)
slop (3.6.0)
spring (1.6.1)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
sprockets (3.5.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.0.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
temple (0.7.6)
terminal-table (1.5.2)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.1)
tins (1.6.0)
traceroute (0.5.0)
rails (>= 3.0.0)
turbolinks (2.5.3)
coffee-rails
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
uniform_notifier (1.9.0)
unparser (0.2.4)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
concord (~> 0.1.5)
diff-lcs (~> 1.2.5)
equalizer (~> 0.0.9)
parser (~> 2.2.2)
procto (~> 0.0.2)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
will_paginate (3.0.7)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
auto_html (= 1.6.4)
awesome_print
bcrypt (~> 3.1.7)
better_errors
binding_of_caller
bootstrap-sass (~> 3.3.0)
bootstrap-will_paginate
brakeman
bullet
byebug (~> 3.5.1)
capybara (= 2.5.0)
coffee-rails (~> 4.1.0)
cucumber-rails
database_cleaner (~> 1.4.1)
factory_girl_rails (= 4.4.1)
faker (= 1.1.2)
guard
hirb
jbuilder (~> 2.0)
jquery-rails
paperclip (~> 4.2.1)
pg (= 0.18.3)
pry-byebug
pry-rails
pry-rescue
pry-stack_explorer
quiet_assets
rack-mini-profiler
rails (= 4.2.5)
rails_12factor (= 0.0.2)
rails_best_practices
rspec-rails
rubocop
rubycritic
sandi_meter
sass-rails (~> 5.0)
sdoc
shoulda-matchers
simplecov
spring
spring-commands-rspec
traceroute
turbolinks
uglifier (>= 1.3.0)
will_paginate (= 3.0.7)
BUNDLED WITH
1.11.2
Thanks in advance.
Re-installing Ruby helped for me. Using RVM you can type
rvm reinstall ruby-2.3.0
on console.
I uninstalled and then reinstalled 2.3.0, that was the solution.
1: bundle exec rake install
2: bundle exec rake routes
Hope this help you !!!
If you still have issue, In that case follow this.
This is a weird error. I'm in the process of upgrading a Rails 3.2.21 app to Ruby 2. Everything works fine, but when I want to make any HTTP requests using HTTParty within Rails, I get the following error:
Errno::ECONNREFUSED: Connection refused - connect(2) for "127.0.0.1" port 8881
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/net/http.rb:879:in `initialize'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/net/http.rb:879:in `open'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/timeout.rb:67:in `timeout'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/net/http.rb:878:in `connect'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/net/http.rb:852:in `start'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/2.1.0/net/http.rb:1369:in `request'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/httparty-0.13.5/lib/httparty/request.rb:101:in `perform'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/httparty-0.13.5/lib/httparty.rb:522:in `perform_request'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/httparty-0.13.5/lib/httparty.rb:460:in `get'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/httparty-0.13.5/lib/httparty.rb:560:in `get'
from (irb):1
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/railties-3.2.21/lib/rails/commands/console.rb:47:in `start'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/railties-3.2.21/lib/rails/commands/console.rb:8:in `start'
from /Users/stuart/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/railties-3.2.21/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
If I try and connect to the same URL using any other method (web browser, cURL, Net::HTTP), I can get the URL fine. Even if I run irb and require HTTParty and make the same request, it works.
Here's my Gemfile:
source 'https://rubygems.org'
gem 'rails', '~> 3.2.21'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
# gem "mongoid", "~> 3.0.0"
# gem 'bson_ext'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass'
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'haml', '>= 3.1.3'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', :platforms => :ruby
gem 'less-rails'
gem 'less-rails-bootstrap', '~> 2.3.3'
gem 'twitter-bootstrap-rails-confirm'
gem 'uglifier', '>= 1.0.3'
end
group :test do
gem "factory_girl_rails", "~> 4.0"
gem 'sqlite3'
gem 'coveralls'
gem 'shoulda'
gem 'mocha', require: false
gem 'test-unit'
gem 'pry'
gem 'csvlint', github: 'theodi/csvlint.rb'
gem 'vcr'
gem 'webmock'
gem 'shoulda-context'
gem 'timecop'
gem 'cucumber-rails', require: false
gem 'database_cleaner'
end
group :development do
gem 'guard', '~> 1.8.3'
gem 'guard-test'
# gem 'spring', github: 'jonleighton/spring'
gem 'terminal-notifier-guard'
gem 'ruby-prof'
gem 'rails-footnotes', '>= 3.7.9'
gem 'rubyXL'
end
group :production do
gem 'foreman'
gem 'mysql2'
gem 'airbrake'
gem 'delayed-plugins-airbrake'
gem 'logstash-event'
gem 'lograge'
end
group :surveyor do
gem 'fastercsv', '~> 1.5.4'
gem 'formtastic', '~> 2.1.0'
gem 'uuidtools', '~> 2.1'
gem 'mustache', '0.99.4'
gem 'rabl', '~>0.6.13'
end
gem 'jquery-rails'
#To serve static content / styleguide
gem 'high_voltage'
# states of the questionnaires
gem 'aasm'
# authorization
gem 'cancan'
# pagination
gem 'kaminari'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
gem 'thin'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
gem "ransack"
gem 'surveyor', path: 'vendor/gems/surveyor-1.4.0'
gem 'redcarpet'
gem "devise", "3.0.3"
gem 'dotenv-rails'
gem 'httparty'
gem 'data_kitten', github: 'theodi/data_kitten'
gem 'delayed_job_active_record'
gem 'linkeddata'
gem 'rack-linkeddata'
gem 'jbuilder'
gem 'rack-cors', require: 'rack/cors'
gem 'alternate_rails', :github => 'theodi/alternate-rails'
gem 'fog'
gem 'juvia_rails', github: 'theodi/juvia_rails'
gem 'domainatrix'
# newrelic appears to be adding significant performance problems
#gem 'newrelic_rpm'
gem 'google_drive'
gem 'pry-remote'
gem 'memoist'
gem 'validate_url'
gem 'sidekiq'
gem 'sinatra', :require => nil
And my Gemfile.lock
GIT
remote: git://github.com/theodi/alternate-rails.git
revision: 188889d66c5df1d7d13f7c6e53e8088e3503dea1
specs:
alternate_rails (0.0.1)
rails (~> 3.2.13)
GIT
remote: git://github.com/theodi/csvlint.rb.git
revision: 3dc689f4625c8edd4f7b725d1d420fdd67a67df9
specs:
csvlint (0.0.1)
activesupport
addressable
colorize
mime-types
open_uri_redirections
GIT
remote: git://github.com/theodi/data_kitten.git
revision: ddcbb677d7d993091a8f2ca44e537aa5cfd63bb8
specs:
data_kitten (1.2.0)
curb
datapackage
git
json
linkeddata
nokogiri
rake
rest-client
GIT
remote: git://github.com/theodi/juvia_rails.git
revision: 94f982aa8188a18bc0f37c16218c85e890d25294
specs:
juvia_rails (0.0.1)
rails (~> 3.2.1)
PATH
remote: vendor/gems/surveyor-1.4.0
specs:
surveyor (1.4.0)
GEM
remote: https://rubygems.org/
specs:
aasm (3.1.1)
actionmailer (3.2.21)
actionpack (= 3.2.21)
mail (~> 2.5.4)
actionpack (3.2.21)
activemodel (= 3.2.21)
activesupport (= 3.2.21)
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)
activemodel (3.2.21)
activesupport (= 3.2.21)
builder (~> 3.0.0)
activerecord (3.2.21)
activemodel (= 3.2.21)
activesupport (= 3.2.21)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.21)
activemodel (= 3.2.21)
activesupport (= 3.2.21)
activesupport (3.2.21)
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
addressable (2.3.5)
airbrake (4.1.0)
builder
multi_json
arel (3.0.3)
bcrypt (3.1.7)
bcrypt-ruby (3.1.5)
bcrypt (>= 3.1.3)
builder (3.0.4)
cancan (1.6.10)
capybara (2.4.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
celluloid (0.16.0)
timers (~> 4.0.0)
coderay (1.1.0)
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.7.0)
colorize (0.7.3)
commonjs (0.2.7)
connection_pool (2.1.0)
coveralls (0.7.0)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
crack (0.4.2)
safe_yaml (~> 1.0.0)
cucumber (1.3.16)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.1)
cucumber-rails (1.4.1)
capybara (>= 1.1.2, < 3)
cucumber (>= 1.3.8, < 2)
mime-types (~> 1.16)
nokogiri (~> 1.5)
rails (>= 3, < 5)
curb (0.8.8)
daemons (1.1.9)
database_cleaner (1.3.0)
datapackage (0.0.4)
colorize
json
json-schema
rest-client
delayed-plugins-airbrake (1.1.0)
airbrake
delayed_job
delayed_job (4.0.0)
activesupport (>= 3.0, < 4.1)
delayed_job_active_record (4.0.0)
activerecord (>= 3.0, < 4.1)
delayed_job (>= 3.0, < 4.1)
devise (3.0.3)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.3)
domainatrix (0.0.11)
addressable
dotenv (0.10.0)
dotenv-rails (0.10.0)
dotenv (= 0.10.0)
ebnf (0.3.6)
haml (~> 4.0)
rdf (~> 1.1)
sxp (~> 0.1, >= 0.1.3)
equivalent-xml (0.5.1)
nokogiri (>= 1.4.3)
erubis (2.7.0)
eventmachine (1.0.3)
excon (0.31.0)
execjs (2.0.2)
factory_girl (4.4.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.4.1)
factory_girl (~> 4.4.0)
railties (>= 3.0.0)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
fastercsv (1.5.5)
ffi (1.9.3)
fog (1.20.0)
builder
excon (~> 0.31.0)
formatador (~> 0.2.0)
mime-types
multi_json (~> 1.0)
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
nokogiri (>= 1.5.11)
foreman (0.63.0)
dotenv (>= 0.7)
thor (>= 0.13.6)
formatador (0.2.4)
formtastic (2.1.1)
actionpack (~> 3.0)
gherkin (2.12.2)
multi_json (~> 1.3)
git (1.2.9.1)
google_drive (0.3.9)
nokogiri (>= 1.4.4, != 1.5.2, != 1.5.1)
oauth (>= 0.3.6)
oauth2 (>= 0.5.0)
guard (1.8.3)
formatador (>= 0.2.4)
listen (~> 1.3)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
thor (>= 0.14.6)
guard-test (1.0.0)
guard (>= 1.8)
test-unit (~> 2.2)
haml (4.0.5)
tilt
high_voltage (2.1.0)
hike (1.2.3)
hitimes (1.2.2)
htmlentities (4.3.2)
httparty (0.13.5)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.6.11)
jbuilder (2.0.4)
activesupport (>= 3.0.0)
multi_json (>= 1.2.0)
journey (1.0.4)
jquery-rails (3.1.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
json-ld (1.1.6)
rdf (~> 1.1, >= 1.1.4)
json-schema (2.5.0)
addressable (~> 2.3)
jwt (0.1.13)
multi_json (>= 1.5)
kaminari (0.15.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
less (2.3.3)
commonjs (~> 0.2.6)
less-rails (2.3.3)
actionpack (>= 3.1)
less (~> 2.3.1)
less-rails-bootstrap (2.3.3)
less-rails (~> 2.3.1)
libv8 (3.16.14.7)
linkeddata (1.1.1)
equivalent-xml (>= 0.4.0)
json-ld (>= 1.1.1)
nokogiri (>= 1.6.1)
rdf (>= 1.1.1)
rdf-aggregate-repo (>= 1.1.0)
rdf-isomorphic (>= 1.1.0)
rdf-json (>= 1.1.0)
rdf-microdata (>= 1.1.1)
rdf-n3 (>= 1.1.0)
rdf-rdfa (>= 1.1.1)
rdf-rdfxml (>= 1.1.0)
rdf-trig (>= 1.1.2)
rdf-trix (>= 1.1.0)
rdf-turtle (>= 1.1.2)
sparql (>= 1.1.2)
sparql-client (>= 1.1.1)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
lograge (0.2.2)
actionpack (>= 3)
activesupport (>= 3)
railties (>= 3)
logstash-event (1.2.02)
lumberjack (1.0.4)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
memoist (0.9.3)
metaclass (0.0.4)
method_source (0.8.2)
mime-types (1.25.1)
mini_portile (0.6.0)
mocha (1.1.0)
metaclass (~> 0.0.1)
multi_json (1.10.1)
multi_test (0.1.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
mustache (0.99.4)
mysql2 (0.3.15)
net-http-persistent (1.9)
net-scp (1.1.2)
net-ssh (>= 2.6.5)
net-ssh (2.8.0)
netrc (0.7.7)
nokogiri (1.6.3.1)
mini_portile (= 0.6.0)
oauth (0.4.7)
oauth2 (0.9.3)
faraday (>= 0.8, < 0.10)
jwt (~> 0.1.8)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
open_uri_redirections (0.1.4)
orm_adapter (0.5.0)
polyamorous (0.6.4)
activerecord (>= 3.0)
polyglot (0.3.5)
pry (0.9.12.6)
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
pry-remote (0.1.8)
pry (~> 0.9)
slop (~> 3.0)
rabl (0.6.14)
activesupport (>= 2.3.14)
multi_json (~> 1.0)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-cors (0.4.0)
rack-linkeddata (1.1.0)
linkeddata (>= 1.1.0)
rack (>= 1.4)
rack-protection (1.5.3)
rack
rack-ssl (1.3.4)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.21)
actionmailer (= 3.2.21)
actionpack (= 3.2.21)
activerecord (= 3.2.21)
activeresource (= 3.2.21)
activesupport (= 3.2.21)
bundler (~> 1.0)
railties (= 3.2.21)
rails-footnotes (3.7.9)
rails (>= 3.0.0)
railties (3.2.21)
actionpack (= 3.2.21)
activesupport (= 3.2.21)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.4.0)
ransack (1.1.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
polyamorous (~> 0.6.0)
rb-fsevent (0.9.4)
rb-inotify (0.9.3)
ffi (>= 0.5.0)
rb-kqueue (0.2.2)
ffi (>= 0.5.0)
rdf (1.1.6)
rdf-aggregate-repo (1.1.0)
rdf (>= 1.1)
rdf-isomorphic (1.1.0)
rdf (>= 1.1)
rdf-json (1.1.0)
rdf (>= 1.1.0)
rdf-microdata (1.1.2)
htmlentities (~> 4.3)
nokogiri (~> 1.6)
rdf (~> 1.1)
rdf-xsd (~> 1.1)
rdf-n3 (1.1.2)
rdf (~> 1.1, >= 1.1.5)
rdf-rdfa (1.1.4)
haml (~> 4.0)
htmlentities (~> 4.3)
rdf (~> 1.1, >= 1.1.6)
rdf-xsd (~> 1.1)
rdf-rdfxml (1.1.1)
rdf (~> 1.1)
rdf-rdfa (~> 1.1)
rdf-xsd (~> 1.1)
rdf-trig (1.1.3.1)
ebnf (~> 0.3, >= 0.3.5)
rdf (~> 1.1, >= 1.1.2.1)
rdf-turtle (~> 1.1, >= 1.1.3)
rdf-trix (1.1.0)
rdf (>= 1.1)
rdf-turtle (1.1.4)
ebnf (~> 0.3, >= 0.3.6)
rdf (~> 1.1, >= 1.1.4)
rdf-xsd (1.1.1)
rdf (~> 1.1)
rdoc (3.12.2)
json (~> 1.4)
redcarpet (3.1.1)
redis (3.2.1)
redis-namespace (1.5.2)
redis (~> 3.0, >= 3.0.4)
ref (1.0.5)
rest-client (1.7.2)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
ruby-prof (0.14.2)
rubyXL (3.3.3)
nokogiri (>= 1.4.4)
rubyzip (>= 1.1.6)
rubyzip (1.1.6)
safe_yaml (1.0.3)
sass (3.2.14)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
shoulda (3.5.0)
shoulda-context (~> 1.0, >= 1.0.1)
shoulda-matchers (>= 1.4.1, < 3.0)
shoulda-context (1.1.6)
shoulda-matchers (2.5.0)
activesupport (>= 3.0.0)
sidekiq (2.17.2)
celluloid (>= 0.15.2)
connection_pool (>= 1.0.0)
json
redis (>= 3.0.6)
redis-namespace (>= 1.3.1)
simplecov (0.8.2)
docile (~> 1.1.0)
multi_json
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
slop (3.4.7)
sparql (1.1.4)
builder (~> 3.0)
ebnf (~> 0.3, >= 0.3.5)
rdf (~> 1.1, >= 1.1.4)
rdf-aggregate-repo (~> 1.1, >= 1.1.0)
rdf-xsd (~> 1.1)
sparql-client (~> 1.1)
sxp (~> 0.1)
sparql-client (1.1.3)
net-http-persistent (~> 1.4)
rdf (~> 1.1)
sprockets (2.2.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.9)
sxp (0.1.5)
term-ansicolor (1.3.0)
tins (~> 1.0)
terminal-notifier-guard (1.5.3)
test-unit (2.5.5)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
thin (1.6.2)
daemons (>= 1.0.9)
eventmachine (>= 1.0.0)
rack (>= 1.0.0)
thor (0.19.1)
tilt (1.4.1)
timecop (0.7.1)
timers (4.0.1)
hitimes
tins (1.1.0)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
twitter-bootstrap-rails-confirm (1.0.2)
tzinfo (0.3.42)
uglifier (2.4.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
uuidtools (2.1.4)
validate_url (0.2.2)
activemodel (>= 3.0.0)
addressable
vcr (2.9.0)
warden (1.2.3)
rack (>= 1.0)
webmock (1.17.4)
addressable (>= 2.2.7)
crack (>= 0.3.2)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
aasm
airbrake
alternate_rails!
cancan
coffee-rails (~> 3.2.1)
coveralls
csvlint!
cucumber-rails
data_kitten!
database_cleaner
delayed-plugins-airbrake
delayed_job_active_record
devise (= 3.0.3)
domainatrix
dotenv-rails
factory_girl_rails (~> 4.0)
fastercsv (~> 1.5.4)
fog
foreman
formtastic (~> 2.1.0)
google_drive
guard (~> 1.8.3)
guard-test
haml (>= 3.1.3)
high_voltage
httparty
jbuilder
jquery-rails
juvia_rails!
kaminari
less-rails
less-rails-bootstrap (~> 2.3.3)
linkeddata
lograge
logstash-event
memoist
mocha
mustache (= 0.99.4)
mysql2
pry
pry-remote
rabl (~> 0.6.13)
rack-cors
rack-linkeddata
rails (~> 3.2.21)
rails-footnotes (>= 3.7.9)
ransack
redcarpet
ruby-prof
rubyXL
sass
sass-rails (~> 3.2.3)
shoulda
shoulda-context
sidekiq
sinatra
sqlite3
surveyor!
terminal-notifier-guard
test-unit
therubyracer
thin
timecop
twitter-bootstrap-rails-confirm
uglifier (>= 1.0.3)
uuidtools (~> 2.1)
validate_url
vcr
webmock
Any ideas?