I cloned from github a website I made several months ago with a mac computer. Now I am using windows and I decided to run
bundle install
However I have not been able to download the kgio gem version 2.9.2 .
Here is the log from C:\RailsInstaller\Ruby2.0.0\lib\ruby\gems\2.0.0\gems\kgio-2.9.2\ext\kgioC:\RailsInstaller\Ruby2.0.0\lib\ruby\gems\2.0.0\gems\kgio-2.9.2\ext\kgio:
C:/RailsInstaller/Ruby2.0.0/bin/ruby.exe extconf.rb
checking for CLOCK_MONOTONIC in time.h... yes
checking for clockid_t in time.h... yes
checking for clock_gettime() in -lrt... no
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for poll() in poll.h... no
checking for getaddrinfo() in sys/types.h,sys/socket.h,netdb.h... no
getaddrinfo required
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/RailsInstaller/Ruby2.0.0/bin/ruby
--with-rtlib
--without-rtlib
--with-nsllib
--without-nsllib
--with-socketlib
--without-socketlib
Here is my gemfile :
source 'http://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.8'
gem 'bcrypt','3.1.7'
gem 'bootstrap-sass', '3.2.0.0'
gem 'sprockets', '2.11.0'
gem 'carrierwave', '0.10.0'
gem 'mini_magick', '3.8.0'
gem 'fog', '1.23.0'
gem 'sorcery'
gem 'will_paginate', '3.0.7'
gem 'bootstrap-will_paginate', '0.0.10'
gem 'sunspot_rails'
gem 'progress_bar'
group :development, :test do
gem 'sqlite3', '1.3.8'
gem 'rspec-rails', '2.13.1'
gem 'sunspot_solr'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
end
gem 'sass-rails', '4.0.3'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
gem 'unicorn'
end
Here is my Gemfile.lock:
GEM
remote: http://rubygems.org/
specs:
actionmailer (4.0.8)
actionpack (= 4.0.8)
mail (~> 2.5.4)
actionpack (4.0.8)
activesupport (= 4.0.8)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.8)
activesupport (= 4.0.8)
builder (~> 3.1.0)
activerecord (4.0.8)
activemodel (= 4.0.8)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.8)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.8)
i18n (~> 0.6, >= 0.6.9)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
arel (4.0.2)
bcrypt (3.1.7)
bootstrap-sass (3.2.0.0)
sass (~> 3.2)
bootstrap-will_paginate (0.0.10)
will_paginate
builder (3.1.4)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
carrierwave (0.10.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
mime-types (>= 1.16)
childprocess (0.5.5)
ffi (~> 1.0, >= 1.0.11)
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)
diff-lcs (1.2.5)
erubis (2.7.0)
excon (0.41.0)
execjs (2.2.2)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
ffi (1.9.6)
fog (1.23.0)
fog-brightbox
fog-core (~> 1.23)
fog-json
fog-softlayer
ipaddress (~> 0.5)
nokogiri (~> 1.5, >= 1.5.11)
fog-brightbox (0.6.1)
fog-core (~> 1.22)
fog-json
inflecto
fog-core (1.24.0)
builder
excon (~> 0.38)
formatador (~> 0.2)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
fog-json (1.0.0)
multi_json (~> 1.0)
fog-softlayer (0.3.24)
fog-core
fog-json
formatador (0.2.5)
highline (1.6.21)
hike (1.2.3)
i18n (0.6.11)
inflecto (0.0.2)
ipaddress (0.8.0)
jbuilder (1.0.2)
activesupport (>= 3.0.0)
jquery-rails (3.0.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
jwt (1.0.0)
kgio (2.9.2)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
mini_magick (3.8.0)
subexec (~> 0.2.1)
mini_portile (0.6.0)
minitest (4.7.5)
multi_json (1.10.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
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)
oauth (0.4.7)
oauth2 (0.9.4)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
options (2.3.2)
pg (0.15.1)
polyglot (0.3.5)
pr_geohash (1.0.0)
progress_bar (1.0.3)
highline (~> 1.6.1)
options (~> 2.3.0)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.8)
actionmailer (= 4.0.8)
actionpack (= 4.0.8)
activerecord (= 4.0.8)
activesupport (= 4.0.8)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.8)
sprockets-rails (~> 2.0)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.2)
rails_stdout_logging (0.0.3)
railties (4.0.8)
actionpack (= 4.0.8)
activesupport (= 4.0.8)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.3.2)
rdoc (3.12.2)
json (~> 1.4)
rsolr (1.0.10)
builder (>= 2.1.2)
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.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rubyzip (0.9.9)
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)
sdoc (0.3.20)
json (>= 1.1.3)
rdoc (~> 3.10)
selenium-webdriver (2.35.1)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip (< 1.0.0)
websocket (~> 1.0.4)
sorcery (0.8.6)
bcrypt (~> 3.1)
oauth (~> 0.4, >= 0.4.4)
oauth2 (>= 0.8.0, < 1.0.0)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.8)
subexec (0.2.3)
sunspot (2.1.1)
pr_geohash (~> 1.0)
rsolr (~> 1.0.7)
sunspot_rails (2.1.1)
nokogiri
rails (>= 3)
sunspot (= 2.1.1)
sunspot_solr (2.1.1)
thor (0.19.1)
thread_safe (0.3.4)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (1.1.1)
coffee-rails
tzinfo (0.3.41)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
unicorn (4.8.3)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
websocket (1.0.7)
will_paginate (3.0.7)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
bcrypt (= 3.1.7)
bootstrap-sass (= 3.2.0.0)
bootstrap-will_paginate (= 0.0.10)
capybara (= 2.1.0)
carrierwave (= 0.10.0)
coffee-rails (= 4.0.1)
fog (= 1.23.0)
jbuilder (= 1.0.2)
jquery-rails (= 3.0.4)
mini_magick (= 3.8.0)
pg (= 0.15.1)
progress_bar
rails (= 4.0.8)
rails_12factor (= 0.0.2)
rspec-rails (= 2.13.1)
sass-rails (= 4.0.3)
sdoc (= 0.3.20)
selenium-webdriver (= 2.35.1)
sorcery
sprockets (= 2.11.0)
sqlite3 (= 1.3.8)
sunspot_rails
sunspot_solr
turbolinks (= 1.1.1)
uglifier (= 2.1.1)
unicorn
will_paginate (= 3.0.7)
I've been facing the same issue with a Linux OS application I've been stubbornly developing on Windows. In a nutshell, the unicorn gem relies on kgio which is *nix only, as described in this similar StackOverflow question.
However! All is not lost, as in order to run your project locally on Windows, you can use other less demanding gems - I used thin for a while, but then realised that RubyMine would quite happily load up the Rails application with WEBrick. If you have a production Linux server and want to use unicorn there, but prefer using thin locally, you can edit your Gemfile as follows:
platforms :ruby do
gem 'unicorn'
end
platforms :mswin do
gem 'thin'
end
This will load the appropriate gems depending on the environment.
Or you can exclude the group that contains unicorn when you bundle install on Windows by running this command:
bundle install --without production
And then it'll stop complaining about kgio but you can still run your app using the WEBrick server that comes with Rails (as I said, I've only done this within RubyMine, but I'm sure you can run start it directly from the command line).
Related
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.
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?
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)
I have been going through a lot of trouble trying to get the SQLite gem working in my Rails project.
After a lot of looking, I found a tutorial to help fix my problem, at least, I though it would fix my problem. It let me actually install the gem, which really didn't help me much. When I put it in my gemfile, bundle install does one of three things:
It completely ignores the gem.
It runs into an error building the gem native extensions.
Something else that I forgot to mention, because sometimes something random happens.
Any help here is welcome.
My Gemfile and Gemfile.lock: http://pastebin.com/h9g4S7YM (also show below):
Gemfile:
source 'https://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.1'
group :development, :test do
gem 'sqlite3', "1.3.7"
gem 'rspec-rails', '2.13.1'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
end
gem 'sass-rails', '4.0.1'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
Gemfile.lock:
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.1)
actionpack (= 4.0.1)
mail (~> 2.5.4)
actionpack (4.0.1)
activesupport (= 4.0.1)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.1)
activesupport (= 4.0.1)
builder (~> 3.1.0)
activerecord (4.0.1)
activemodel (= 4.0.1)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.1)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.1)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
arel (4.0.1)
atomic (1.1.14)
builder (3.1.4)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.0.2)
ffi (1.9.3-x86-mingw32)
hike (1.2.3)
i18n (0.6.5)
jbuilder (1.0.2)
activesupport (>= 3.0.0)
jquery-rails (3.0.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
mini_portile (0.5.2)
minitest (4.7.5)
multi_json (1.8.2)
nokogiri (1.6.0-x86-mingw32)
mini_portile (~> 0.5.0)
pg (0.15.1-x86-mingw32)
polyglot (0.3.3)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.1)
actionmailer (= 4.0.1)
actionpack (= 4.0.1)
activerecord (= 4.0.1)
activesupport (= 4.0.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.1)
sprockets-rails (~> 2.0.0)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.1)
rails_stdout_logging (0.0.3)
railties (4.0.1)
actionpack (= 4.0.1)
activesupport (= 4.0.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
rdoc (3.12.2)
json (~> 1.4)
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.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rubyzip (0.9.9)
sass (3.2.12)
sass-rails (4.0.1)
railties (>= 4.0.0, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
sdoc (0.3.20)
json (>= 1.1.3)
rdoc (~> 3.10)
selenium-webdriver (2.35.1)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip (< 1.0.0)
websocket (~> 1.0.4)
sprockets (2.10.1)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.7-x86-mingw32)
thor (0.18.1)
thread_safe (0.1.3)
atomic
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (1.1.1)
coffee-rails
tzinfo (0.3.38)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
websocket (1.0.7)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
x86-mingw32
DEPENDENCIES
capybara (= 2.1.0)
coffee-rails (= 4.0.1)
jbuilder (= 1.0.2)
jquery-rails (= 3.0.4)
pg (= 0.15.1)
rails (= 4.0.1)
rails_12factor (= 0.0.2)
rspec-rails (= 2.13.1)
sass-rails (= 4.0.1)
sdoc (= 0.3.20)
selenium-webdriver (= 2.35.1)
sqlite3 (= 1.3.7)
turbolinks (= 1.1.1)
uglifier (= 2.1.1)
A Screenshot of what happens (usually) after bundle install, and what the actual error is: http://imgur.com/G7tFl4W (also shown below)
Are you running a 64-bit version of Windows? The latest released version of Bundler doesn't support this platform yet, but the next version will. Try upgrading to the latest pre-release version of Bundler:
gem install --pre bundler
Then run bundle install again.
I am running my first test on a new app, and I am getting this error:
/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler/
runtime.rb:33:in `block in setup': You have already activated rspec-core
2.14.4, but your Gemfile requires rspec-core 2.13.1. Using bundle exec
may solve this. (Gem::LoadError)
I don't know what it means by "activated rspec-core 2.14.4. I don't remember doing anything like this.
I ran the test from the command line with:
bundle exec rspec spec/requests/static_pages_spec.rb
Ruby -v: 2.0.0
Rails -v: 4.0.0
The test in question:
require 'spec_helper'
describe "Static pages" do
describe "Home page" do
it "should have the content 'Skeleton App'" do
visit root_url
expect(page).to have_content('Skeleton App')
end
end
end
My Gemfile:
source 'https://rubygems.org'
ruby '2.0.0'
#ruby-gemset=railstutorial_rails_4_0
gem 'rails', '4.0.0'
gem 'bootstrap-sass', '~> 3.0.1.0.rc'
gem 'bcrypt-ruby', '3.0.1'
gem 'faker', '1.1.2'
gem 'will_paginate', '3.0.4'
gem 'bootstrap-will_paginate', '0.0.9'
gem 'devise'
group :development, :test do
gem 'sqlite3', '1.3.7'
gem 'rspec-rails', '2.13.1'
# The following optional lines are part of the advanced setup.
gem 'guard-rspec', '2.5.0'
gem 'spork-rails', github: 'sporkrb/spork-rails'
gem 'guard-spork', '1.5.0'
gem 'childprocess', '0.3.6'
end
group :test do
gem 'selenium-webdriver', '2.0.0'
gem 'capybara', '2.1.0'
gem 'factory_girl_rails', '4.2.0'
gem 'cucumber-rails', '1.3.0', :require => false
gem 'database_cleaner', github: 'bmabey/database_cleaner'
# Uncomment this line on OS X.
gem 'growl', '1.0.3'
# Uncomment these lines on Linux.
# gem 'libnotify', '0.8.0'
# Uncomment these lines on Windows.
# gem 'rb-notifu', '0.0.4'
# gem 'win32console', '1.3.2'
end
gem 'sass-rails', '4.0.0'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.0'
gem 'jquery-rails', '2.2.1'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
Thanks!
EDIT:
/Gemfile.lock
GIT
remote: git://github.com/bmabey/database_cleaner.git
revision: 6da38c4c1a565bbcc62ed9b84c2574537c6ebae2
specs:
database_cleaner (1.2.0)
GIT
remote: git://github.com/sporkrb/spork-rails.git
revision: 0dd45e59d3237b4c8f9efc215b46d9c07072a95e
specs:
spork-rails (4.0.0)
rails (>= 3.0.0, < 5)
spork (>= 1.0rc0)
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.0)
actionpack (= 4.0.0)
mail (~> 2.5.3)
actionpack (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
activerecord (4.0.0)
activemodel (= 4.0.0)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.0)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.0)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
arel (4.0.1)
atomic (1.1.14)
bcrypt-ruby (3.0.1)
bootstrap-sass (3.0.1.0)
sass (~> 3.2)
bootstrap-will_paginate (0.0.9)
will_paginate
builder (3.1.4)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
celluloid (0.15.2)
timers (~> 1.1.0)
childprocess (0.3.6)
ffi (~> 1.0, >= 1.0.6)
coderay (1.0.9)
coffee-rails (4.0.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0.beta, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
cucumber (1.3.9)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.0.2)
cucumber-rails (1.3.0)
capybara (>= 1.1.2)
cucumber (>= 1.1.8)
nokogiri (>= 1.5.0)
devise (3.2.0)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.0.2)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.0)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
faker (1.1.2)
i18n (~> 0.5)
ffi (1.9.3)
formatador (0.2.4)
gherkin (2.12.2)
multi_json (~> 1.3)
growl (1.0.3)
guard (2.2.3)
formatador (>= 0.2.4)
listen (~> 2.1)
lumberjack (~> 1.0)
pry (>= 0.9.12)
thor (>= 0.18.1)
guard-rspec (2.5.0)
guard (>= 1.1)
rspec (~> 2.11)
guard-spork (1.5.0)
childprocess (>= 0.2.3)
guard (>= 1.1)
spork (>= 0.8.4)
hike (1.2.3)
i18n (0.6.5)
jbuilder (1.0.2)
activesupport (>= 3.0.0)
jquery-rails (2.2.1)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
json_pure (1.8.1)
listen (2.2.0)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lumberjack (1.0.4)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.2)
mime-types (1.25)
mini_portile (0.5.2)
minitest (4.7.5)
multi_json (1.8.2)
multi_test (0.0.2)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
orm_adapter (0.4.0)
pg (0.15.1)
polyglot (0.3.3)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.0)
actionmailer (= 4.0.0)
actionpack (= 4.0.0)
activerecord (= 4.0.0)
activesupport (= 4.0.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.0)
sprockets-rails (~> 2.0.0)
rails_12factor (0.0.2)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.1)
rails_stdout_logging (0.0.3)
railties (4.0.0)
actionpack (= 4.0.0)
activesupport (= 4.0.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
rb-fsevent (0.9.3)
rb-inotify (0.9.2)
ffi (>= 0.5.0)
rdoc (3.12.2)
json (~> 1.4)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
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.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rubyzip (1.1.0)
sass (3.2.12)
sass-rails (4.0.0)
railties (>= 4.0.0.beta, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
sdoc (0.3.20)
json (>= 1.1.3)
rdoc (~> 3.10)
selenium-webdriver (2.0.0)
childprocess (>= 0.1.9)
ffi (>= 1.0.7)
json_pure
rubyzip
slop (3.4.6)
spork (1.0.0rc4)
sprockets (2.10.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.7)
thor (0.18.1)
thread_safe (0.1.3)
atomic
tilt (1.4.1)
timers (1.1.0)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (1.1.1)
coffee-rails
tzinfo (0.3.38)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
warden (1.2.3)
rack (>= 1.0)
will_paginate (3.0.4)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
bcrypt-ruby (= 3.0.1)
bootstrap-sass (~> 3.0.1.0.rc)
bootstrap-will_paginate (= 0.0.9)
capybara (= 2.1.0)
childprocess (= 0.3.6)
coffee-rails (= 4.0.0)
cucumber-rails (= 1.3.0)
database_cleaner!
devise
factory_girl_rails (= 4.2.0)
faker (= 1.1.2)
growl (= 1.0.3)
guard-rspec (= 2.5.0)
guard-spork (= 1.5.0)
jbuilder (= 1.0.2)
jquery-rails (= 2.2.1)
pg (= 0.15.1)
rails (= 4.0.0)
rails_12factor (= 0.0.2)
rspec-rails (= 2.13.1)
sass-rails (= 4.0.0)
sdoc (= 0.3.20)
selenium-webdriver (= 2.0.0)
spork-rails!
sqlite3 (= 1.3.7)
turbolinks (= 1.1.1)
uglifier (= 2.1.1)
will_paginate (= 3.0.4)
Look in your Gemfile.lock file for multiple rspec-core dependencies. It's likely one of your included gems has locked a dependency that is inconsistent with the version you're locking to.
Paste in your Gemfile.lock file here for more help.
A reasonable solution would be to use an operator in your gemfile that allows for less restrictive version locking. The pessimistic operator (`gem 'rspec-rails', '~>2.13') will allow versions of rspec-rails >= 2.13 and < 3. More info here: http://techiferous.com/2011/05/sanely-updating-your-gems/
try this: In your Gemfile specify:
group :development, :test do
gem 'rspec-rails', "~> 2.14"
#other gems for development and test only
end
then in the shell cd to your application directory and run
bundle install
Let me know if this works or if i missed something.
I'm not sure what was causing this error, but I removed all rspec related (actually all testing related) gems from Gemfile, ran bundle install, added them back, and ran bundle install again, and so far it seems to be working.