I have a very big project developed in certain test version, the project run well, but there are a problem with the rspec, the Gemfile and the Gemfile.lock, some of the developers have updated some gems but didn't remove the old Gemfile.lock, so we did not had any problem with the project because the Gemfile not crashed with the project.
TOO MANY commits after, I found the problem, I think is for the differences beetween gems.
When I copy and paste the last version of the Gemfile.lock all the specs run well, but if I remove the old Gemfile.lock and run again the bundle install the project will to present many problems with the specs I think is for the gems version, but I try to install the same version that I have in my old Gemfile.lock and I have the same problem, also there are some gems that cannot find the original version.
The project is so big, and I cannot update the Gemfile, I think that one of the possible solution is with a program convert the Gemfile.lock to Gemfile to not have any error with my specs
This is my old Gemfile.lock that makes run my rspec well:
GEM
remote: https://rubygems.org/
specs:
aasm (3.0.3)
activerecord
actionmailer (3.2.1)
actionpack (= 3.2.1)
mail (~> 2.4.0)
actionpack (3.2.1)
activemodel (= 3.2.1)
activesupport (= 3.2.1)
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)
active_median (0.0.1)
active_record_query_trace (1.5.4)
activemodel (3.2.1)
activesupport (= 3.2.1)
builder (~> 3.0.0)
activerecord (3.2.1)
activemodel (= 3.2.1)
activesupport (= 3.2.1)
arel (~> 3.0.0)
tzinfo (~> 0.3.29)
activeresource (3.2.1)
activemodel (= 3.2.1)
activesupport (= 3.2.1)
activesupport (3.2.1)
i18n (~> 0.6)
multi_json (~> 1.0)
addressable (2.2.7)
akami (1.0.0)
gyoku (>= 0.4.0)
algorithms (0.5.0)
arel (3.0.2)
awesome_nested_set (2.1.6)
activerecord (>= 3.0.0)
bcrypt-ruby (3.0.1)
bluepill (0.0.66)
activesupport (>= 3.0.0, < 4.0.0)
daemons (~> 1.1.4)
i18n (>= 0.5.0)
state_machine (~> 1.1)
bourne (1.6.0)
mocha (~> 1.1)
builder (3.0.0)
cancan (1.6.7)
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)
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)
columnize (0.9.0)
daemons (1.1.9)
database_cleaner (0.7.2)
debugger (1.6.8)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
debugger-ruby_core_source (~> 1.3.5)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.3.8)
devise (2.0.4)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
railties (~> 3.1)
warden (~> 1.1.1)
devise_lastseenable (0.0.6)
devise
rails (>= 3.0.4)
diff-lcs (1.1.3)
erubis (2.7.0)
exception_notification (2.6.1)
actionmailer (>= 3.0.4)
execjs (1.3.0)
multi_json (~> 1.0)
factory_girl (3.0.0)
activesupport (>= 3.0.0)
factory_girl_rails (3.0.0)
factory_girl (~> 3.0.0)
railties (>= 3.0.0)
faraday (0.7.6)
addressable (~> 2.2)
multipart-post (~> 1.1)
rack (~> 1.1)
geocoder (1.1.1)
groupdate (1.0.4)
activerecord (>= 3.0.0)
gyoku (0.4.4)
builder (>= 2.1.2)
highline (1.6.11)
hike (1.2.1)
holidays (3.3.0)
httpi (0.9.6)
rack
i18n (0.6.0)
i18n-inflector (2.6.6)
i18n (>= 0.4.1)
journey (1.0.3)
json (1.6.5)
kaminari (0.13.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
metaclass (0.0.4)
mime-types (1.18)
mocha (1.2.1)
metaclass (~> 0.0.1)
multi_json (1.1.0)
multipart-post (1.1.5)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-sftp (2.0.5)
net-ssh (>= 2.0.9)
net-ssh (2.9.2)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
newrelic_rpm (3.15.2.317)
nokogiri (1.5.2)
nori (1.1.0)
oauth (0.4.5)
oauth-plugin (0.4.0.rc2)
multi_json
oauth (~> 0.4.4)
oauth2
rack
oauth2 (0.5.2)
faraday (~> 0.7)
multi_json (~> 1.0)
orm_adapter (0.0.7)
passenger (5.0.28)
rack
rake (>= 0.8.1)
pg (0.18.4)
polyglot (0.3.3)
rabl (0.6.2)
activesupport (>= 2.3.14)
multi_json (~> 1.1.0)
rack (1.4.1)
rack-cache (1.2)
rack (>= 0.4)
rack-protection (1.2.0)
rack
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.2.1)
actionmailer (= 3.2.1)
actionpack (= 3.2.1)
activerecord (= 3.2.1)
activeresource (= 3.2.1)
activesupport (= 3.2.1)
bundler (~> 1.0)
railties (= 3.2.1)
railties (3.2.1)
actionpack (= 3.2.1)
activesupport (= 3.2.1)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (11.1.2)
rdoc (3.12)
json (~> 1.4)
redis (2.2.2)
redis-actionpack (3.2.1)
actionpack (= 3.2.1)
redis-rack (~> 1.4.0)
redis-store (~> 1.1.0)
redis-activesupport (3.2.1)
activesupport (= 3.2.1)
redis-store (~> 1.1.0)
redis-namespace (1.0.3)
redis (< 3.0.0)
redis-rack (1.4.1)
rack (= 1.4.1)
redis-store (~> 1.1.0)
redis-rails (3.2.1)
redis-actionpack (~> 3.2.1)
redis-activesupport (~> 3.2.1)
redis-store (~> 1.1.0)
redis-store (1.1.0)
redis (~> 2.2.0)
resque (1.20.0)
multi_json (~> 1.0)
redis-namespace (~> 1.0.2)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
resque-scheduler (2.0.0)
redis (>= 2.0.1)
resque (>= 1.20.0)
rufus-scheduler
resque_mailer (2.0.3)
actionmailer (>= 3.0.0)
resque (>= 1.2.3)
resque_spec (0.12.2)
resque (>= 1.19.0)
rspec (>= 2.5.0)
rspec (2.9.0)
rspec-core (~> 2.9.0)
rspec-expectations (~> 2.9.0)
rspec-mocks (~> 2.9.0)
rspec-core (2.9.0)
rspec-expectations (2.9.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.9.0)
rspec-rails (2.9.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec (~> 2.9.0)
rufus-scheduler (2.0.17)
tzinfo (>= 0.3.23)
rvm-capistrano (1.0.2)
capistrano (>= 2.0.0)
sass (3.1.15)
sass-rails (3.2.5)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
savon (0.9.9)
akami (~> 1.0)
builder (>= 2.1.2)
gyoku (>= 0.4.0)
httpi (~> 0.9)
nokogiri (>= 1.4.0)
nori (~> 1.1)
wasabi (~> 2.1)
shoulda-matchers (1.5.6)
activesupport (>= 3.0.0)
bourne (~> 1.3)
simplecov (0.6.1)
multi_json (~> 1.0)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sinatra (1.3.2)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
tilt (~> 1.3, >= 1.3.3)
slack-notifier (1.5.1)
sprockets (2.1.2)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.5)
state_machine (1.2.0)
strip_attributes (1.1.0)
activemodel (~> 3.0)
sugarcrm (0.9.18)
activesupport (>= 2.3.10)
i18n
json
thor (0.14.6)
tilt (1.3.3)
timecop (0.8.1)
timezone (0.99.2)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
typhoeus (0.3.3)
mime-types
tzinfo (0.3.49)
uglifier (1.2.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
vegas (0.1.11)
rack (>= 1.0.0)
warden (1.1.1)
rack (>= 1.0)
wasabi (2.1.0)
nokogiri (>= 1.4.0)
PLATFORMS
ruby
DEPENDENCIES
aasm
active_median
active_record_query_trace
algorithms
awesome_nested_set
bluepill
cancan
capistrano
coffee-rails (~> 3.2.1)
database_cleaner (~> 0.7.1)
debugger
devise
devise_lastseenable
exception_notification (~> 2.6.1)
factory_girl_rails
geocoder
groupdate
holidays
i18n-inflector
kaminari
net-ssh (= 2.9.2)
newrelic_rpm
nokogiri
oauth-plugin (>= 0.4.0.pre1)
passenger
pg
rabl (~> 0.6.0)
rails (= 3.2.1)
redis-rails
resque (~> 1.20.0)
resque-scheduler
resque_mailer (~> 2.0.3)
resque_spec
rspec-rails (~> 2.4)
rvm-capistrano
sass-rails (~> 3.2.3)
savon (~> 0.9.9)
shoulda-matchers (~> 1.5.0)
simplecov
slack-notifier (~> 1.5, >= 1.5.1)
sqlite3
strip_attributes (~> 1.0)
sugarcrm
timecop
timezone
typhoeus (~> 0.3.3)
tzinfo (~> 0.3.49)
uglifier (>= 1.0.3)
BUNDLED WITH
1.14.6
And here is my attemp to copy the Gemfile.lock to the Gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.1'
gem 'pg', '~> 0.18.4', group: [:development, :test, :production]
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
end
group :production do
gem 'passenger', '~> 5.0.8'
# gem 'passenger', '~> 5.1.4'
end
gem 'devise'
gem 'devise_lastseenable'
gem 'cancan'
gem 'oauth-plugin', ">= 0.4.0.pre1"
group :test, :development, :vcr do
gem 'rspec', '~> 1.1.3'
gem "rspec-rails", "~> 2.99"
gem 'factory_girl_rails'
gem 'timecop'
gem 'shoulda-matchers', '~> 2.8.0'#, git: 'git://github.com/thoughtbot/shoulda-matchers.git'
gem 'debugger'
gem 'sqlite3'
gem 'database_cleaner', '~> 0.7.1'
gem 'simplecov'
end
group :test do
gem 'resque_spec'
end
gem 'rabl', '~> 0.6.0'
gem 'aasm'
gem 'net-ssh', '=2.9.2'
gem 'holidays', '~> 3.1.2'#, git: 'https://github.com/sincola/holidays.git'
gem 'capistrano', require: false
gem 'rvm-capistrano', require: false
gem 'newrelic_rpm', '~> 3.18.1'
gem 'i18n-inflector'
gem 'savon', '~> 0.9.9'
gem "typhoeus", "~> 0.3.3"
gem "exception_notification", "~> 2.6.1"
gem "strip_attributes", "~> 1.0"
gem 'resque', "~> 1.20.0"
gem 'resque_mailer', "~> 2.0.3"
gem 'resque-scheduler', :require => 'resque_scheduler'
gem 'kaminari'
gem 'redis-rails'
gem 'algorithms'
gem 'geocoder'
gem 'timezone', '~> 1.0'
gem 'sugarcrm'
gem 'bluepill'
gem 'groupdate'
gem 'active_median'
gem 'awesome_nested_set'
gem 'tzinfo', '~> 0.3.49'
gem 'active_record_query_trace' # source: https://github.com/ruckus/active-record-query-trace
gem 'slack-notifier', '~> 1.5', '>= 1.5.1'
gem 'nokogiri', '~> 1.6.5'
What I think is: there are different gems that are repeated in my Gemfile.lock with different versions in old Gemfile.lock
Please read carefully my problem, and If you know how to help my, I would thank you infinitely.
Thanks and regards,
When you try to run bundle install, Some gem will give you error like Your bundle is locked to xyz gem (version), but that version could not be found in any of the sources listed in your Gemfile. To resolve such issue you have to update exact version = xxx in your Gemfile not with ~> xxx.
Also you might need to update locked gems also in Gemfile.lock, due to dependency of other gems.
The Gemfile is less strict than the Gemfile.lock. So, all the Gems that have no restriction or a soft restriction (for example, ~> 4 or > 4.0) would be updated to a new version, which may not be the one that was used when the code was originally developed, that's why some of the gems may fail.
I hadn't time to do a complete review of your attempt to copy the Gemfile.lock to a Gemfile yet, but I have seen you used some gems without specifying an exact version in your Gemfile and I think that may be your problem. The Gemfile.lock always specify the exact version, so if you want to copy your Gemfile.lock you should be doing the same. For example, for slack-notifier gem you are using version 1.5.1 but your Gemfile has gem 'slack-notifier', '~> 1.5', '>= 1.5.1' when it should be gem 'slack-notifier', '1.5.1'
Related
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 cloned a repo repository for a project in Ruby, but I couldn't run it whatsoever, when I run rails s I get the following error.
[DEPRECATED] Your Gemfile contains multiple primary sources. Using `source` more than once without a block is security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicatwhich gems should come from the secondary source. To upgrade this warning to an error, run `bundle config setisable_multisource true`.
The git source `git://github.com/ryanb/nested_form.git` uses the `git` protocol, which transmits data withoutncryption. Disable this warning with `bundle config set git.allow_insecure true`, or switch to the `https` procol to keep your data secure.
The git source `git://github.com/ryanb/cancan.git` uses the `git` protocol, which transmits data without encrtion. Disable this warning with `bundle config set git.allow_insecure true`, or switch to the `https` protocoto keep your data secure.
Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails was resolved to 3.2.2, which depends on
bundler (~> 1.0)
Current Bundler version:
bundler (2.1.4)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (~> 1.0)', which is required by gem 'rails', in any of the sources.
Ofcourse, I tried installing the ruby & rails versions that the project was built on, that didn't work either.
this is my Gemfile
require 'rbconfig'
HOST_OS = RbConfig::CONFIG['host_os']
source "http://rubygems.org"
#source "http://gemcutter.org"
source "http://gems.github.com"
gem 'rails'
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", ">= 2.1.4"
#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"
and when I run bundle install I get the following error
Fetching source index from http://gems.github.com/
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from http://gems.github.com/
Retrying fetcher due to error (3/4): Bundler::HTTPError Could not fetch specs from http://gems.github.com/
Retrying fetcher due to error (4/4): Bundler::HTTPError Could not fetch specs from http://gems.github.com/
Could not fetch specs from http://gems.github.com/
*** LOCAL GEMS ***
bigdecimal (default: 1.4.1)
bundler (default: 2.1.4, 1.0.22)
bundler-unload (1.0.2)
cmath (default: 1.0.0)
csv (default: 3.0.9)
date (default: 2.0.0)
did_you_mean (1.3.0)
e2mmap (default: 0.1.0)
etc (default: 1.0.1)
executable-hooks (1.6.0)
fcntl (default: 1.0.0)
fiddle (default: 1.0.0)
fileutils (default: 1.1.0)
forwardable (default: 1.2.0)
gdbm (default: 2.0.0)
gem-wrappers (1.4.0)
io-console (default: 0.4.7)
ipaddr (default: 1.2.2)
irb (default: 1.0.0)
json (default: 2.1.0)
logger (default: 1.3.0)
matrix (default: 0.1.0)
minitest (5.11.3)
mutex_m (default: 0.1.0)
net-telnet (0.2.0)
openssl (default: 2.1.2)
ostruct (default: 0.1.0)
power_assert (1.1.3)
prime (default: 0.1.0)
psych (default: 3.1.0)
rake (12.3.2)
rdoc (default: 6.1.0)
rexml (default: 3.1.9)
rss (default: 0.2.7)
rubygems-bundler (1.4.5)
rvm (1.11.3.9)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
shell (default: 0.7)
stringio (default: 0.0.2)
strscan (default: 1.0.0)
sync (default: 0.5.0)
test-unit (3.2.9)
thwait (default: 0.1.0)
tracer (default: 0.1.0)
webrick (default: 1.4.2)
xmlrpc (0.3.0)
zlib (default: 1.0.0)
This is my Gemfile.lock
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 (>= 2.1.4)
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 (~> 2.1.4)
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 (= 6.0.3.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 feel like I've come to a dead end. any help is highly appreciated.
Create a clean gemset for the project with rvm gemset use myOldRailsProject --create
Then gem install bundler -v '~>1.0.0'
Run gem list to check what gems you have installed and which versions. If there is a newer bundler; remove it. And, post the output of this command to your answer so we can see what gems you have in your gemset. While you’re at it, also add the contents of Gemfile.lock
Remove the line source "http://gems.github.com" from your Gemfile
Finally, in your project directory (you can do the above commands from anywhere on your machine) run bundle
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.
Trying to update the project to RoR-v4.0.0.rc2 in prep for new release next week, and I am a bit confused about how to fix the dependency issue. If I use bundle update, I get the following error:
Resolving dependencies...
Bundler could not find compatible versions for gem "railties":
In Gemfile:
requirejs-rails (>= 0) ruby depends on
railties (~> 3.1.1) ruby
rails (= 4.0.0.rc2) ruby depends on
railties (4.0.0.rc2)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
requirejs-rails (>= 0) ruby depends on
rails (~> 3.1.1) ruby
rails (4.0.0.rc2)
But if I use just bundle, I get the following :
Resolving dependencies...
Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (3.2.2)
In Gemfile:
rails (= 4.0.0.rc2) ruby depends on
activesupport (= 4.0.0.rc2) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Supposedly, requirejs-rail has been updated for Rails 4 Beta here. Still unsure of what dependency is causing the issue, and which version to force the gem to.
Gemfile:
source 'https://rubygems.org'
gem 'rails', '4.0.0.rc2'
group :development, :test do
gem 'railroady'
gem 'sqlite3'
# For linux support
gem 'therubyracer'
end
group :production do
gem 'pg'
gem 'thin'
end
gem 'sass-rails', '~> 4.0.0.rc1'
gem 'coffee-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.0.3'
gem 'colorize'
gem 'jquery-ui-rails'
gem 'jquery-rails'
gem 'rails-backbone'
gem 'bootstrap-sass', '~> 2.3.0.0'
gem 'requirejs-rails'
gem 'ejs'
gem 'devise'
gem 'better_errors', '>= 0.2.0', :group => :development
gem 'binding_of_caller', '>= 0.6.8', :group => :development
gem 'd3_rails'
# for a better way of looking at the rake routes by calling rake color_routes in the console
gem 'color_routes'
# lets us know which user is logged in, and store in a gloabel variable gon{}
gem 'gon'
#browser detection
gem 'browser'
# FOR EASY TRANISTION TO Rails 4
gem 'protected_attributes'
gem 'rails-observers'
gem 'actionpack-page_caching'
gem 'actionpack-action_caching'
Gemfile.lock:
GEM
remote: https://rubygems.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)
arel (3.0.2)
bcrypt-ruby (3.0.1)
binding_of_caller (0.7.1)
debug_inspector (>= 0.0.1)
bootstrap-sass (2.3.0.1)
sass (~> 3.2)
browser (0.1.6)
builder (3.0.4)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.2)
color_routes (1.0.0)
colorize (0.5.8)
d3_rails (3.1.6)
railties (>= 3.1.0)
daemons (1.1.9)
debug_inspector (0.0.2)
devise (2.2.4)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (~> 3.1)
warden (~> 1.2.1)
ejs (1.1.1)
erubis (2.7.0)
eventmachine (1.0.3)
execjs (1.4.0)
multi_json (~> 1.0)
gon (4.1.0)
actionpack (>= 2.3.0)
json
hike (1.2.2)
i18n (0.6.4)
journey (1.0.4)
jquery-rails (2.1.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.0.3)
jquery-rails
railties (>= 3.1.0)
json (1.8.0)
libv8 (3.11.8.17)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.23)
multi_json (1.7.3)
orm_adapter (0.4.0)
pg (0.15.1)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
railroady (1.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-backbone (0.9.10)
coffee-script (~> 2.2.0)
ejs (~> 1.1.1)
jquery-rails (~> 2.1.3)
railties (>= 3.1.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 (10.0.4)
rdoc (3.12.2)
json (~> 1.4)
ref (1.0.5)
requirejs-rails (0.9.1)
railties (>= 3.1.1, < 3.3)
sass (3.2.9)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
sprockets (2.1.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.7)
therubyracer (0.11.4)
libv8 (~> 3.11.8.12)
ref
thin (1.5.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.4.1)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.37)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
warden (1.2.1)
rack (>= 1.0)
PLATFORMS
ruby
DEPENDENCIES
binding_of_caller (>= 0.6.8)
bootstrap-sass (~> 2.3.0.0)
browser
coffee-rails (~> 3.2.1)
color_routes
colorize
d3_rails
devise
ejs
gon
jquery-rails
jquery-ui-rails
pg
railroady
rails (= 3.2.2)
rails-backbone
requirejs-rails
sass-rails (~> 3.2.3)
sqlite3
therubyracer
thin
uglifier (>= 1.0.3)
The problem is with requirejs-rails gem. You probably should refer to master branch on github in your Gemfile
gem 'requirejs-rails', git: 'git://github.com/jwhitley/requirejs-rails.git'
#Michael Szyndel That branch is not completely rails 4 compatible.
The rake task will fail with an error about 'ruby_rake_task'. Also, the asset pre-compilation is broken. There are rails 4 patches out their but they have yet to be included into master.
This fork has included the rails 4 patches, try that one out.
https://github.com/scalient/requirejs-rails
I am running: ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
Nokogiri is seg-faulting on me and I think the issue has been solved at:
https://github.com/ender672/nokogiri
However if I do:
gem 'nokogiri', :git => 'git://github.com/ender672/nokogiri.git'
I get a successful bundle install, bundle pack, and even did a bundle update to generate a new Gemfile. However, I can't even get to console:
git://github.com/ender672/nokogiri.git (at master) is not checked out. Please run `bundle install`
rvm just updated my 1.9.2 to p290 and I think that might be causing the problem. Maybe I should just step back to the last stable build. I would be interested in how to do that, but I don't know the previous build number.
Gemfile
source 'http://rubygems.org'
gem 'simplecov', '>= 0.4.0', :require => false, :group => :test
gem 'httparty'
gem "rails", "3.1.0.rc5"
# Rails 3.1 - Asset Pipeline
group :assets do
gem 'sass-rails', "~> 3.1.0.rc"
gem 'coffee-script'
gem 'uglifier'
gem 'json'
gem 'jquery-rails'
gem 'therubyracer'
gem 'execjs'
gem 'sprockets', '~> 2.0.0.beta.12'
end
# Bundle gems needed for Mongoid
gem "mongoid", "~>2.0.1" #, "2.0.0.rc.7"
gem "bson_ext" #, "1.1.5"
gem 'rake', '0.8.7'
# Bundle gem needed for Devise and cancan
gem "devise", "~>1.4.0" # ,"1.1.7"
gem "cancan"
#gem "omniauth", :git => 'git://github.com/intridea/omniauth.git' # maybe we need this latest version instead of the gem -tbb
#gem "govkit" #, :git => 'git://github.com/tbbooher/govkit.git'
#gem "nytimes-congress"
#gem "geokit"
#gem 'drumbone'
gem "googlecharts"
#gem "omniauth" "0.2.6"
#gem 'omniauth', '>= 0.2.6'
gem 'omniauth', :git => 'git://github.com/intridea/omniauth.git'
# we need some stuff too (tbb)
gem "formtastic"
# for installation
#gem "heroku"
# for deployment
gem "capistrano"
# and server
gem 'unicorn'
# time to connect to opencongress
gem 'json'
#gem 'ym4r'
gem 'geocoder'
#group :after_initialize do
gem 'nokogiri' #, :git => 'git://github.com/ender672/nokogiri.git'# :git => 'git://github.com/tenderlove/nokogiri.git'
gem "feedzirra" #ls
#, :git => "git://github.com/pauldix/feedzirra.git"
#end
gem 'sax-machine'
# Bundle gem needed for paperclip and attachments
gem "mongoid-paperclip", :require => "mongoid_paperclip"
# MongoID Extensions and extras
gem 'mongoid-tree', :require => 'mongoid/tree'
# Bundle gems for views
gem "haml"
gem "will_paginate"
gem 'escape_utils'
gem "RedCloth", "4.2.5"
# Markdown
# do "easy_install pygments" on your system
gem 'redcarpet'
gem 'albino'
#gem "nokogiri", "1.4.6"
# maybe we need rack here
# Bundle gems for development
group :development do
gem "nifty-generators"
gem "rails-erd"
gem 'rdoc'
gem "rails3-generators"
gem "ruby-debug19"
gem 'unicorn'
gem 'yard' #broken in OS X 10.7 see how to workarround this issue
end
# Bundle gems for testing
group :test do
#gem 'webmock'
#gem 'vcr'
gem 'faker'
gem 'json_pure'
gem 'capybara'
gem 'database_cleaner'
gem 'cucumber-rails'
gem 'cucumber'
gem 'rspec', '2.6.0'
gem 'rspec-rails', '2.6.1'
gem 'spork', '0.9.0.rc9'
gem 'spork-testunit'
gem 'launchy'
gem 'factory_girl'
gem 'factory_girl_rails'
gem 'ZenTest'
gem 'autotest'
gem 'autotest-rails'
gem 'ruby-growl'
gem 'autotest-growl'
gem "mocha"
gem "fabrication"
gem "gherkin"
gem 'test-unit'
gem "autotest-fsevent"
end
Gemfile.lock
GIT
remote: git://github.com/intridea/omniauth.git
revision: 26fb41d840a9f50da1d3ab4c778ef5a20581808b
specs:
oa-basic (0.3.0.rc1)
oa-core (= 0.3.0.rc1)
rest-client (~> 1.6.0)
oa-core (0.3.0.rc1)
oa-enterprise (0.3.0.rc1)
addressable (~> 2.2.6)
net-ldap (~> 0.2.2)
nokogiri (~> 1.5.0)
oa-core (= 0.3.0.rc1)
pyu-ruby-sasl (~> 0.0.3.1)
rubyntlm (~> 0.1.1)
oa-more (0.3.0.rc1)
multi_json (~> 1.0.0)
oa-core (= 0.3.0.rc1)
rest-client (~> 1.6.0)
oa-oauth (0.3.0.rc1)
faraday (~> 0.7.3)
multi_json (~> 1.0.0)
multi_xml (~> 0.2.2)
oa-core (= 0.3.0.rc1)
oauth (~> 0.4.0)
oauth2 (~> 0.5.0)
oa-openid (0.3.0.rc1)
oa-core (= 0.3.0.rc1)
rack-openid (~> 1.3.1)
ruby-openid-apps-discovery (~> 1.2.0)
omniauth (0.3.0.rc1)
oa-basic (= 0.3.0.rc1)
oa-core (= 0.3.0.rc1)
oa-enterprise (= 0.3.0.rc1)
oa-more (= 0.3.0.rc1)
oa-oauth (= 0.3.0.rc1)
oa-openid (= 0.3.0.rc1)
GEM
remote: http://rubygems.org/
specs:
RedCloth (4.2.5)
ZenTest (4.6.0)
actionmailer (3.1.0.rc5)
actionpack (= 3.1.0.rc5)
mail (~> 2.3.0)
actionpack (3.1.0.rc5)
activemodel (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.1)
rack-cache (~> 1.0.2)
rack-mount (~> 0.8.1)
rack-test (~> 0.6.0)
sprockets (~> 2.0.0.beta.12)
activemodel (3.1.0.rc5)
activesupport (= 3.1.0.rc5)
bcrypt-ruby (~> 2.1.4)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.0.rc5)
activemodel (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
arel (~> 2.1.4)
tzinfo (~> 0.3.29)
activeresource (3.1.0.rc5)
activemodel (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
activesupport (3.1.0.rc5)
multi_json (~> 1.0)
addressable (2.2.6)
albino (1.3.3)
posix-spawn (>= 0.3.6)
archive-tar-minitar (0.5.2)
arel (2.1.4)
autotest (4.4.6)
ZenTest (>= 4.4.1)
autotest-fsevent (0.2.5)
sys-uname
autotest-growl (0.2.9)
autotest-rails (4.1.0)
ZenTest
bcrypt-ruby (2.1.4)
bson (1.3.1)
bson_ext (1.3.1)
builder (3.0.0)
cancan (1.6.5)
capistrano (2.8.0)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capybara (1.0.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 0.2.0)
xpath (~> 0.1.4)
childprocess (0.2.0)
ffi (~> 1.0.6)
cocaine (0.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.1.2)
columnize (0.3.4)
crack (0.1.8)
cucumber (1.0.2)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.4.5)
json (>= 1.4.6)
term-ansicolor (>= 1.0.5)
cucumber-rails (1.0.2)
capybara (>= 1.0.0)
cucumber (~> 1.0.0)
nokogiri (>= 1.4.6)
curb (0.7.15)
database_cleaner (0.6.7)
devise (1.4.2)
bcrypt-ruby (~> 2.1.2)
orm_adapter (~> 0.0.3)
warden (~> 1.0.3)
diff-lcs (1.1.2)
erubis (2.7.0)
escape_utils (0.2.3)
execjs (1.2.4)
multi_json (~> 1.0)
fabrication (1.0.1)
factory_girl (2.0.3)
factory_girl_rails (1.1.0)
factory_girl (~> 2.0.0)
railties (>= 3.0.0)
faker (0.9.5)
i18n (~> 0.4)
faraday (0.7.4)
addressable (~> 2.2.6)
multipart-post (~> 1.1.0)
rack (= 1.1.0)
feedzirra (0.0.24)
activesupport (>= 2.3.8)
builder (>= 2.1.2)
curb (>= 0.2.3)
loofah (>= 0.3.1)
nokogiri (> 0.0.0)
sax-machine (>= 0.0.12)
ffi (1.0.9)
formtastic (1.2.4)
actionpack (>= 2.3.7)
activesupport (>= 2.3.7)
i18n (~> 0.4)
geocoder (1.0.2)
gherkin (2.4.5)
json (>= 1.4.6)
googlecharts (1.6.7)
haml (3.1.2)
highline (1.6.2)
hike (1.2.0)
httparty (0.7.8)
crack (= 0.1.8)
i18n (0.6.0)
jquery-rails (1.0.12)
railties (~> 3.0)
thor (~> 0.14)
json (1.5.3)
json_pure (1.5.3)
kgio (2.6.0)
launchy (2.0.5)
addressable (~> 2.2.6)
libv8 (3.3.10.2)
linecache19 (0.5.12)
ruby_core_source (>= 0.1.4)
loofah (1.0.0)
nokogiri (>= 1.3.3)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
mocha (0.9.12)
mongo (1.3.1)
bson (>= 1.3.1)
mongoid (2.0.2)
activemodel (~> 3.0)
mongo (~> 1.3)
tzinfo (~> 0.3.22)
mongoid-paperclip (0.0.5)
paperclip (~> 2.3.6)
mongoid-tree (0.6.1)
mongoid (~> 2.0)
multi_json (1.0.3)
multi_xml (0.2.2)
multipart-post (1.1.3)
net-ldap (0.2.2)
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-sftp (2.0.5)
net-ssh (>= 2.0.9)
net-ssh (2.1.4)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
nifty-generators (0.4.6)
nokogiri (1.5.0)
oauth (0.4.5)
oauth2 (0.5.0)
faraday (= 0.6.1)
multi_json (~> 1.0.0)
orm_adapter (0.0.5)
paperclip (2.3.16)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
mime-types
polyglot (0.3.2)
posix-spawn (0.3.6)
pyu-ruby-sasl (0.0.3.3)
rack (1.3.2)
rack-cache (1.0.2)
rack (>= 0.4)
rack-mount (0.8.1)
rack (>= 1.0.0)
rack-openid (1.3.1)
rack (>= 1.1.0)
ruby-openid (>= 2.1.8)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.0.rc5)
actionmailer (= 3.1.0.rc5)
actionpack (= 3.1.0.rc5)
activerecord (= 3.1.0.rc5)
activeresource (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
bundler (~> 1.0)
railties (= 3.1.0.rc5)
rails-erd (0.4.5)
activerecord (~> 3.0)
activesupport (~> 3.0)
ruby-graphviz (~> 0.9.18)
rails3-generators (0.17.4)
railties (>= 3.0.0)
railties (3.1.0.rc5)
actionpack (= 3.1.0.rc5)
activesupport (= 3.1.0.rc5)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
raindrops (0.7.0)
rake (0.8.7)
rdoc (3.9.1)
redcarpet (1.17.2)
rest-client (1.6.3)
mime-types (>= 1.16)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
rspec-rails (2.6.1)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.6.0)
ruby-debug-base19 (0.11.25)
columnize (>= 0.3.1)
linecache19 (>= 0.5.11)
ruby_core_source (>= 0.1.4)
ruby-debug19 (0.11.6)
columnize (>= 0.3.1)
linecache19 (>= 0.5.11)
ruby-debug-base19 (>= 0.11.19)
ruby-graphviz (0.9.21)
ruby-growl (3.0)
ruby-openid (2.1.8)
ruby-openid-apps-discovery (1.2.0)
ruby-openid (>= 2.1.7)
ruby_core_source (0.1.5)
archive-tar-minitar (>= 0.5.2)
rubyntlm (0.1.1)
rubyzip (0.9.4)
sass (3.1.7)
sass-rails (3.1.0.rc.5)
actionpack (~> 3.1.0.rc1)
railties (~> 3.1.0.rc1)
sass (>= 3.1.4)
sprockets (>= 2.0.0.beta.9)
sax-machine (0.0.20)
nokogiri (> 0.0.0)
selenium-webdriver (0.2.2)
childprocess (>= 0.1.9)
ffi (>= 1.0.7)
json_pure
rubyzip
simplecov (0.4.2)
simplecov-html (~> 0.4.4)
simplecov-html (0.4.5)
spork (0.9.0.rc9)
spork-testunit (0.0.5)
spork (>= 0.6.0)
sprockets (2.0.0.beta.13)
hike (~> 1.2)
rack (~> 1.0)
tilt (!= 1.3.0, ~> 1.1)
sys-uname (0.8.5)
term-ansicolor (1.0.6)
test-unit (2.3.1)
therubyracer (0.9.2)
libv8 (~> 3.3.10)
thor (0.14.6)
tilt (1.3.2)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
uglifier (1.0.0)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
unicorn (4.0.1)
kgio (~> 2.4)
rack
raindrops (~> 0.6)
warden (1.0.5)
rack (>= 1.0)
will_paginate (2.3.15)
xpath (0.1.4)
nokogiri (~> 1.3)
yard (0.7.2)
PLATFORMS
ruby
DEPENDENCIES
RedCloth (= 4.2.5)
ZenTest
albino
autotest
autotest-fsevent
autotest-growl
autotest-rails
bson_ext
cancan
capistrano
capybara
coffee-script
cucumber
cucumber-rails
database_cleaner
devise (~> 1.4.0)
escape_utils
execjs
fabrication
factory_girl
factory_girl_rails
faker
feedzirra
formtastic
geocoder
gherkin
googlecharts
haml
httparty
jquery-rails
json
json_pure
launchy
mocha
mongoid (~> 2.0.1)
mongoid-paperclip
mongoid-tree
nifty-generators
nokogiri
omniauth!
rails (= 3.1.0.rc5)
rails-erd
rails3-generators
rake (= 0.8.7)
rdoc
redcarpet
rspec (= 2.6.0)
rspec-rails (= 2.6.1)
ruby-debug19
ruby-growl
sass-rails (~> 3.1.0.rc)
sax-machine
simplecov (>= 0.4.0)
spork (= 0.9.0.rc9)
spork-testunit
sprockets (~> 2.0.0.beta.12)
test-unit
therubyracer
uglifier
unicorn
will_paginate
yard
it appears that the gem source code on github does not include a .gemspec file, in my case I could not even get it to install
source 'http://rubygems.org'
gem 'nokogiri', :git => 'git://github.com/ender672/nokogiri.git'
run: bundle install, fails with
Could not find gem 'nokogiri (>= 0, runtime)' in git://github.com/ender672/nokogiri.git (at master).
Source does not contain any versions of 'nokogiri (>= 0, runtime)'
did a google search and found this - https://github.com/tenderlove/nokogiri/issues/274
but since this is not from tenderlove git repo, I don't think that will work
looking at bundler homepage
If there is no .gemspec at the root of a git repository, you must specify a version that bundler should use when resolving dependencies
using this in the gem file I was at least able to install it, note the "1.5" addition
source 'http://rubygems.org'
gem 'nokogiri', "1.5", :git => 'git://github.com/ender672/nokogiri.git'
I can't claim this will fix your issue, but I think your app is using the 'official' 1.5 release that still has issue, I don't think you were executing the code from ender672 git repo? they are both labeled as 1.5
contents of Gemfile.lock
GIT
remote: git://github.com/ender672/nokogiri.git
revision: 953e9b3b1ecf240c83c544f185461c7b86d387d5
specs:
nokogiri (1.5)
GEM
remote: http://rubygems.org/
specs:
PLATFORMS
ruby
DEPENDENCIES
nokogiri (= 1.5)!
I did not see remote: git://github.com/ender672/nokogiri.git in your Gemfile.lock, so assuming it is not really installed
hope this helps