After upgrading my Rails 3.0.9 app to 3.1.1, I'm getting the following bundler error when pushing to Heroku-cedar stack:
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.1.rc
Running: bundle install --without development:test --path vendor/bundle
Updating git://github.com/sferik/rails_admin.git
Fetching gem metadata from http://rubygems.org/........
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails_admin (>= 0) ruby depends on
rails (~> 3.1) ruby
rails (3.0.9)
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rails app
To git#heroku.com:[app].git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:[app].git'
I was originally using Bundler 1.0.21 but noticed that Heroku is using 1.1.rc so I removed 1.0.21 from my gemset, installed 1.1.rc, and re-generated my gemfile.lock.
I've tried deleting gemfile.lock and re-generating it with bundle update/bundle install, and have tried removing the rails_admin gem from the gemfile. I have also tried completely emptying my gemset and reinstalling all the gems.
My gemfile looks like:
source 'http://rubygems.org'
gem 'rails', '>= 3.1.1'
gem 'pg'
group :assets do
gem 'sass-rails', "~>3.1.4"
gem 'coffee-rails', "~>3.1.0"
gem 'uglifier'
end
gem 'devise'
gem 'cancan'
gem 'rake', '>= 0.9.2.2'
gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
gem 'jquery-rails', '>= 1.0.12'
# haml added to make heroku-cedar happy
gem 'haml'
gem 'formtastic', '>= 1.2.3'
gem 'tabs_on_rails'
gem 'acts_as_list'
gem 'acts-as-taggable-on'
gem 'best_in_place'
# fastercsv added to make heroku-cedar happy
gem 'fastercsv'
gem 'event-calendar', :require => 'event_calendar'
gem 'date_validator'
gem 'nested_form', :git => 'git://github.com/ryanb/nested_form.git'
gem 'will_paginate', '>= 3.0.pre4'
gem 'heroku'
# Google analytics gem
group :production do
gem 'thin'
gem 'rack-google_analytics', :require => "rack/google_analytics"
end
# Bundle the extra gems:
# gem 'bj'
# gem 'nokogiri'
# gem 'aws-s3', :require => 'aws/s3'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
gem "rspec-rails", ">= 2.6.1", :group => [:test, :development]
group :test do
gem 'factory_girl_rails'
gem 'webrat'
gem 'guard-rspec'
end
and gemfile.lock:
GIT
remote: git://github.com/ryanb/nested_form.git
revision: 57f32788f1952bcd633057b4b56b69b51df17610
specs:
nested_form (0.1.1)
GIT
remote: git://github.com/sferik/rails_admin.git
revision: e99d7f8e9002ae7c6b4dddb962174e76f8663400
specs:
rails_admin (0.0.1)
bootstrap-sass (~> 1.4)
builder (~> 3.0)
coffee-rails (~> 3.1)
haml (~> 3.1)
jquery-rails (= 1.0.16)
kaminari (~> 0.12.4)
rails (~> 3.1)
remotipart (= 1.0)
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.1)
actionpack (= 3.1.1)
mail (~> 2.3.0)
actionpack (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.2)
rack-cache (~> 1.1)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.2)
activemodel (3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activeresource (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
activesupport (3.1.1)
multi_json (~> 1.0)
acts-as-taggable-on (2.1.1)
rails
acts_as_list (0.1.4)
addressable (2.2.6)
arel (2.2.1)
bcrypt-ruby (3.0.1)
best_in_place (1.0.1)
jquery-rails
rails (~> 3.1.0)
bootstrap-sass (1.4.0)
sass-rails (~> 3.1.0)
builder (3.0.0)
cancan (1.6.7)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.1.2)
daemons (1.1.4)
date_validator (0.6.2)
activemodel (>= 3.0.0, < 3.2.0)
devise (1.4.9)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
warden (~> 1.0.3)
diff-lcs (1.1.3)
erubis (2.7.0)
event-calendar (2.3.3)
eventmachine (0.12.10)
execjs (1.2.9)
multi_json (~> 1.0)
factory_girl (2.2.0)
activesupport
factory_girl_rails (1.3.0)
factory_girl (~> 2.2.0)
railties (>= 3.0.0)
fastercsv (1.5.4)
formtastic (2.0.2)
rails (~> 3.0)
guard (0.8.8)
thor (~> 0.14.6)
guard-rspec (0.5.2)
guard (>= 0.8.4)
haml (3.1.3)
heroku (2.11.1)
launchy (>= 0.3.2)
rest-client (~> 1.6.1)
rubyzip
term-ansicolor (~> 1.0.5)
hike (1.2.1)
i18n (0.6.0)
jquery-rails (1.0.16)
railties (~> 3.0)
thor (~> 0.14)
json (1.6.1)
kaminari (0.12.4)
rails (>= 3.0.0)
launchy (2.0.5)
addressable (~> 2.2.6)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.17.2)
multi_json (1.0.3)
nokogiri (1.5.0)
orm_adapter (0.0.5)
pg (0.11.0)
polyglot (0.3.3)
rack (1.3.5)
rack-cache (1.1)
rack (>= 0.4)
rack-google_analytics (1.0.2)
rack
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.1)
actionmailer (= 3.1.1)
actionpack (= 3.1.1)
activerecord (= 3.1.1)
activeresource (= 3.1.1)
activesupport (= 3.1.1)
bundler (~> 1.0)
railties (= 3.1.1)
railties (3.1.1)
actionpack (= 3.1.1)
activesupport (= 3.1.1)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
rdoc (3.11)
json (~> 1.4)
remotipart (1.0)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.7.0)
rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0)
rspec-mocks (~> 2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.7.0)
rspec-rails (2.7.0)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.7.0)
rubyzip (0.9.4)
sass (3.1.10)
sass-rails (3.1.4)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (>= 3.1.4)
sprockets (~> 2.0.0)
tilt (~> 1.3.2)
sprockets (2.0.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
tabs_on_rails (2.0.2)
term-ansicolor (1.0.7)
thin (1.2.11)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.30)
uglifier (1.0.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
warden (1.0.6)
rack (>= 1.0)
webrat (0.7.3)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
will_paginate (3.0.2)
PLATFORMS
ruby
DEPENDENCIES
acts-as-taggable-on
acts_as_list
best_in_place
cancan
coffee-rails (~> 3.1.0)
date_validator
devise
event-calendar
factory_girl_rails
fastercsv
formtastic (>= 1.2.3)
guard-rspec
haml
heroku
jquery-rails (>= 1.0.12)
nested_form!
pg
rack-google_analytics
rails (>= 3.1.1)
rails_admin!
rake (>= 0.9.2.2)
rspec-rails (>= 2.6.1)
sass-rails (~> 3.1.4)
tabs_on_rails
thin
uglifier
webrat
will_paginate (>= 3.0.pre4)
gemfile.lock after commenting out rails_admin and bundle update / bundle install:
GIT
remote: git://github.com/ryanb/nested_form.git
revision: 57f32788f1952bcd633057b4b56b69b51df17610
specs:
nested_form (0.1.1)
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.1)
actionpack (= 3.1.1)
mail (~> 2.3.0)
actionpack (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.2)
rack-cache (~> 1.1)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.2)
activemodel (3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activeresource (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
activesupport (3.1.1)
multi_json (~> 1.0)
acts-as-taggable-on (2.1.1)
rails
acts_as_list (0.1.4)
addressable (2.2.6)
arel (2.2.1)
bcrypt-ruby (3.0.1)
best_in_place (1.0.1)
jquery-rails
rails (~> 3.1.0)
builder (3.0.0)
cancan (1.6.7)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.1.2)
daemons (1.1.4)
date_validator (0.6.2)
activemodel (>= 3.0.0, < 3.2.0)
devise (1.4.9)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
warden (~> 1.0.3)
diff-lcs (1.1.3)
erubis (2.7.0)
event-calendar (2.3.3)
eventmachine (0.12.10)
execjs (1.2.9)
multi_json (~> 1.0)
factory_girl (2.2.0)
activesupport
factory_girl_rails (1.3.0)
factory_girl (~> 2.2.0)
railties (>= 3.0.0)
fastercsv (1.5.4)
formtastic (2.0.2)
rails (~> 3.0)
guard (0.8.8)
thor (~> 0.14.6)
guard-rspec (0.5.2)
guard (>= 0.8.4)
haml (3.1.3)
heroku (2.11.1)
launchy (>= 0.3.2)
rest-client (~> 1.6.1)
rubyzip
term-ansicolor (~> 1.0.5)
hike (1.2.1)
i18n (0.6.0)
jquery-rails (1.0.16)
railties (~> 3.0)
thor (~> 0.14)
json (1.6.1)
launchy (2.0.5)
addressable (~> 2.2.6)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.17.2)
multi_json (1.0.3)
nokogiri (1.5.0)
orm_adapter (0.0.5)
pg (0.11.0)
polyglot (0.3.3)
rack (1.3.5)
rack-cache (1.1)
rack (>= 0.4)
rack-google_analytics (1.0.2)
rack
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.1)
actionmailer (= 3.1.1)
actionpack (= 3.1.1)
activerecord (= 3.1.1)
activeresource (= 3.1.1)
activesupport (= 3.1.1)
bundler (~> 1.0)
railties (= 3.1.1)
railties (3.1.1)
actionpack (= 3.1.1)
activesupport (= 3.1.1)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
rdoc (3.11)
json (~> 1.4)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.7.0)
rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0)
rspec-mocks (~> 2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.7.0)
rspec-rails (2.7.0)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.7.0)
rubyzip (0.9.4)
sass (3.1.10)
sass-rails (3.1.4)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (>= 3.1.4)
sprockets (~> 2.0.0)
tilt (~> 1.3.2)
sprockets (2.0.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
tabs_on_rails (2.0.2)
term-ansicolor (1.0.7)
thin (1.2.11)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.30)
uglifier (1.0.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
warden (1.0.6)
rack (>= 1.0)
webrat (0.7.3)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
will_paginate (3.0.2)
PLATFORMS
ruby
DEPENDENCIES
acts-as-taggable-on
acts_as_list
best_in_place
cancan
coffee-rails (~> 3.1.0)
date_validator
devise
event-calendar
factory_girl_rails
fastercsv
formtastic (>= 1.2.3)
guard-rspec
haml
heroku
jquery-rails (>= 1.0.12)
nested_form!
pg
rack-google_analytics
rails (>= 3.1.1)
rake (>= 0.9.2.2)
rspec-rails (>= 2.6.1)
sass-rails (~> 3.1.4)
tabs_on_rails
thin
uglifier
webrat
will_paginate (>= 3.0.pre4)
In the end I resolved this by deleting my .git directory, initialized a new repo with git init and re-committed everything. Not ideal, but the only way I could solve this.
Related
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'm developing a Spree Gem, and every time I run a rake command, I get this message
(ruby-2.0.0-p247#spree-mercadopago)jperez#devartis11:~/avalancha/spree_mp$ bundle exec rake test_app --trace
Thor has already been required. This may cause Bundler to malfunction in unexpected ways.
** Invoke test_app (first_time)
** Execute test_app
** Invoke common:test_app (first_time)
** Execute common:test_app
Generating dummy Rails application...
Setting up dummy database...
Running extension installation generator...
append app/assets/javascripts/store/all.js
append app/assets/javascripts/admin/all.js
insert app/assets/stylesheets/store/all.css
insert app/assets/stylesheets/admin/all.css
run bundle exec rake railties:install:migrations FROM=spree_mercado_pago_payment_method from "."
Would you like to run the migrations now? [Y/n] Y
run bundle exec rake db:migrate from "."
Why is it happening, and how can I avoid it?
Here's my Gemfile
source 'http://rubygems.org'
gem 'spree', '~> 2.1.0'
gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-1-stable'
gemspec
and the output of bundle env:
(ruby-2.0.0-p247#spree-mercadopago)jperez#devartis11:~/avalancha/spree_mp$ bundle env
Bundler 1.3.5
Ruby 2.0.0 (2013-06-27 patchlevel 247) [x86_64-linux]
Rubygems 2.1.10
rvm 1.23.13 (stable)
GEM_HOME /home/jperez/.rvm/gems/ruby-2.0.0-p247#spree-mercadopago
GEM_PATH /home/jperez/.rvm/gems/ruby-2.0.0-p247#spree-mercadopago:/home/jperez/.rvm/gems/ruby-2.0.0-p247#global
rubygems-bundler (1.4.2)
Bundler settings
local.spree_mercado_pago_payment_method
Set for the current user (/home/jperez/.bundle/config): "/home/jperez/avalancha/spree_mp"
Gemfile
source 'http://rubygems.org'
gem 'spree', '~> 2.1.0'
gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-1-stable'
group :test do
gem 'spork'
gem 'guard-rspec'
gem 'guard-spork'
gem 'capybara'
end
gemspec
Gemfile.lock
GIT
remote: https://github.com/spree/spree_auth_devise.git
revision: 42204323be9e3eb4bd67c07d02dd77de6a6ac0d8
branch: 2-1-stable
specs:
spree_auth_devise (2.1.0)
cancan (~> 1.6.7)
devise (~> 3.0.1)
devise-encryptable (= 0.1.2)
spree_backend (~> 2.1.0)
spree_core (~> 2.1.0)
spree_frontend (~> 2.1.0)
PATH
remote: .
specs:
spree_mercado_pago_payment_method (0.1.1)
rest-client
spree_core (~> 2.1.0)
GEM
remote: http://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)
active_utils (2.0.1)
activesupport (>= 2.3.11)
i18n
activemerchant (1.42.2)
active_utils (~> 2.0, >= 2.0.1)
activesupport (>= 2.3.14, < 5.0.0)
builder (>= 2.1.2, < 4.0.0)
i18n (~> 0.5)
json (~> 1.7)
money (< 7.0.0)
nokogiri (~> 1.4)
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)
acts_as_list (0.2.0)
activerecord (>= 3.0)
arel (4.0.1)
atomic (1.1.14)
awesome_nested_set (3.0.0.rc.2)
activerecord (~> 4.0.0)
aws-sdk (1.27.0)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
bcrypt-ruby (3.1.2)
builder (3.1.4)
cancan (1.6.10)
canonical-rails (0.0.3)
rails (>= 3.1, < 5.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)
celluloid (0.15.2)
timers (~> 1.1.0)
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.3)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.0)
colorize (0.6.0)
deface (1.0.0)
colorize (>= 0.5.8)
nokogiri (~> 1.6.0)
rails (>= 3.1)
devise (3.0.4)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
warden (~> 1.2.3)
devise-encryptable (0.1.2)
devise (>= 2.1.0)
diff-lcs (1.1.3)
erubis (2.7.0)
factory_girl (4.3.0)
activesupport (>= 3.0.0)
ffaker (1.21.0)
ffi (1.9.3)
formatador (0.2.4)
guard (2.2.4)
formatador (>= 0.2.4)
listen (~> 2.1)
lumberjack (~> 1.0)
pry (>= 0.9.12)
thor (>= 0.18.1)
guard-rspec (2.5.4)
guard (>= 1.1)
rspec (~> 2.11)
guard-spork (1.5.1)
childprocess (>= 0.2.3)
guard (>= 1.1)
spork (>= 0.8.4)
highline (1.6.20)
hike (1.2.3)
httparty (0.12.0)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.6.5)
jquery-rails (3.0.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.0.5)
railties (>= 3.1.0)
json (1.8.1)
kaminari (0.14.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
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)
money (5.1.1)
i18n (~> 0.6.0)
multi_json (1.8.2)
multi_xml (0.5.5)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
orm_adapter (0.5.0)
paperclip (3.4.2)
activemodel (>= 3.0.0)
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.0)
mime-types
paranoia (2.0.1)
activerecord (~> 4.0)
polyamorous (0.6.4)
activerecord (>= 3.0)
polyglot (0.3.3)
pry (0.9.12.4)
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
rabl (0.8.4)
activesupport (>= 2.3.14)
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)
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)
ransack (1.1.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
polyamorous (~> 0.6.0)
rb-fsevent (0.9.3)
rb-inotify (0.9.2)
ffi (>= 0.5.0)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.3)
diff-lcs (~> 1.1.3)
rspec-mocks (2.11.3)
rspec-rails (2.11.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec (~> 2.11.0)
rubyzip (1.0.0)
sass (3.2.12)
sass-rails (4.0.1)
railties (>= 4.0.0, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
select2-rails (3.4.9)
sass-rails
thor (~> 0.14)
selenium-webdriver (2.37.0)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip (~> 1.0.0)
websocket (~> 1.0.4)
slop (3.4.7)
spork (0.9.2)
spree (2.1.3)
spree_api (= 2.1.3)
spree_backend (= 2.1.3)
spree_cmd (= 2.1.3)
spree_core (= 2.1.3)
spree_frontend (= 2.1.3)
spree_sample (= 2.1.3)
spree_api (2.1.3)
rabl (= 0.8.4)
spree_core (= 2.1.3)
versioncake (~> 1.2.0)
spree_backend (2.1.3)
jquery-rails (~> 3.0.0)
jquery-ui-rails (~> 4.0.0)
select2-rails (~> 3.4.7)
spree_api (= 2.1.3)
spree_core (= 2.1.3)
spree_cmd (2.1.3)
thor (~> 0.14)
spree_core (2.1.3)
activemerchant (= 1.42.2)
acts_as_list (= 0.2.0)
awesome_nested_set (~> 3.0.0.rc.2)
aws-sdk (= 1.27.0)
cancan (~> 1.6.10)
deface (~> 1.0.0)
ffaker (~> 1.16)
highline (~> 1.6.18)
httparty (~> 0.11)
json (~> 1.7)
kaminari (~> 0.14.1)
money (~> 5.1)
paperclip (~> 3.4.1)
paranoia (~> 2.0)
rails (~> 4.0.0)
ransack (= 1.1.0)
state_machine (= 1.2.0)
stringex (~> 1.5.1)
truncate_html (= 0.9.2)
spree_frontend (2.1.3)
canonical-rails
jquery-rails (~> 3.0.0)
spree_api (= 2.1.3)
spree_core (= 2.1.3)
stringex (~> 1.5.1)
spree_sample (2.1.3)
spree_core (= 2.1.3)
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.8)
state_machine (1.2.0)
stringex (1.5.1)
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)
truncate_html (0.9.2)
tzinfo (0.3.38)
uuidtools (2.1.4)
versioncake (1.2.0)
actionpack (>= 3.2)
activesupport (>= 3.2)
railties (>= 3.2)
tzinfo
warden (1.2.3)
rack (>= 1.0)
websocket (1.0.7)
xpath (0.1.4)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
capybara
factory_girl
ffaker
guard-rspec
guard-spork
rspec-rails (~> 2.11.0)
sass-rails
spork
spree (~> 2.1.0)
spree_auth_devise!
spree_mercado_pago_payment_method!
sqlite3
Use bundler:
bundle exec rake test_app
According to a Spree developer:
What you are seeing is just a warning. You can safely ignore that.
When I run
rspec .
I get error log like this:
/Users/max/dev/Circle/lib/active_record.rb:1:in `<top (required)>': uninitialized constant ActiveRecord (NameError)
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.13/lib/active_record/railtie.rb:1:in `require'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/activerecord-3.2.13/lib/active_record/railtie.rb:1:in `<top (required)>'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/railties-3.2.13/lib/rails/all.rb:12:in `require'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/railties-3.2.13/lib/rails/all.rb:12:in `block in <top (required)>'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/railties-3.2.13/lib/rails/all.rb:5:in `each'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/railties-3.2.13/lib/rails/all.rb:5:in `<top (required)>'
from /Users/max/dev/Circle/config/application.rb:3:in `require'
from /Users/max/dev/Circle/config/application.rb:3:in `<top (required)>'
from /Users/max/dev/Circle/config/environment.rb:2:in `require'
from /Users/max/dev/Circle/config/environment.rb:2:in `<top (required)>'
from /Users/max/dev/Circle/spec/spec_helper.rb:35:in `require'
from /Users/max/dev/Circle/spec/spec_helper.rb:35:in `<top (required)>'
from /Users/max/dev/Circle/spec/controllers/admin/applies_controller_spec.rb:1:in `require'
from /Users/max/dev/Circle/spec/controllers/admin/applies_controller_spec.rb:1:in `<top (required)>'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `load'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `block in load_spec_files'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `each'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/rspec-core-2.13.1/lib/rspec/core/configuration.rb:819:in `load_spec_files'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:22:in `run'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
from /Users/max/.rvm/gems/ruby-1.9.3-p374/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
I've installed the gem rspec and rspec-rails, but error still happened. Thanks for saving my day.
EDIT 1:
Gemfile is like this:
source 'http://ruby.taobao.org'
gem "rails", "~> 3.2.9"
gem 'mysql2'
gem 'font-awesome-sass-rails'
gem 'exception_notification'
gem 'bootstrap-editable-rails'
gem 'cancan'
gem 'slim-rails'
gem "jqcloud-rails"
gem 'omniauth'
gem 'omniauth-oauth2'
gem 'acts-as-taggable-on'
gem 'acts_as_commentable', '3.0.1'
gem "acts_as_follower"
gem "select2-rails"
gem 'roadie'
gem 'rails_config'
gem 'daemons'
gem 'rmagick'
gem 'awesome_print'
gem 'mini_magick'
gem 'paperclip', '= 3.1.2'
gem 'cocaine', '= 0.3.2'
gem "will_paginate"
gem "bootstrap-will_paginate"
gem 'twitter-bootstrap-rails', "2.2.0"
gem 'therubyracer', "0.11.1",:platforms => :ruby
gem 'simple_form'
gem 'client_side_validations'
gem 'client_side_validations-simple_form'
gem 'delayed_job_active_record'
gem "responders"
gem 'inherited_resources'
gem 'newrelic_rpm'
gem 'redis'
gem 'redis-objects'
gem 'watir-webdriver'
gem 'nokogiri'
gem 'ruby-pinyin'
gem 'state_machine'
gem 'sitemap_generator'
gem 'ga_measurement', :git => 'https://github.com/nickcen/ga_measurement'
group :assets do
gem 'sass-rails'
gem 'coffee-rails'
gem 'libv8'
gem 'therubyracer','0.11.1'
gem 'uglifier'
end
gem 'enumerize'
group :development do
gem "letter_opener"
gem "better_errors"#, :git => 'git://github.com/charliesome/better_errors.git'
gem "binding_of_caller"
gem 'pry-rails'
gem "thin"
end
gem 'jquery-rails'
group :test do
gem 'turn', '~> 0.8.3'
end
group :test, :development do
gem 'rspec-rails'
end
Gemfile.lock is this this:
GIT
remote: https://github.com/nickcen/ga_measurement
revision: ecaaabdca410136d75975c3cb6a421e62a7c2d53
specs:
ga_measurement (0.0.1)
rest-client
GEM
remote: http://ruby.taobao.org/
specs:
actionmailer (3.2.13)
actionpack (= 3.2.13)
mail (~> 2.5.3)
actionpack (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
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.13)
activesupport (= 3.2.13)
builder (~> 3.0.0)
activerecord (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
acts-as-taggable-on (2.4.1)
rails (>= 3, < 5)
acts_as_commentable (3.0.1)
acts_as_follower (0.1.1)
addressable (2.3.4)
ansi (1.4.3)
arel (3.0.2)
awesome_print (1.1.0)
better_errors (0.9.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
binding_of_caller (0.7.1)
debug_inspector (>= 0.0.1)
bootstrap-editable-rails (0.0.5)
railties (>= 3.1)
bootstrap-will_paginate (0.0.9)
will_paginate
builder (3.0.4)
cancan (1.6.10)
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
client_side_validations (3.2.5)
client_side_validations-simple_form (2.1.0)
client_side_validations (~> 3.2.5)
simple_form (~> 2.1.0)
cocaine (0.3.2)
coderay (1.0.9)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.2)
css_parser (1.3.4)
addressable
daemons (1.1.9)
debug_inspector (0.0.2)
delayed_job (3.0.5)
activesupport (~> 3.0)
delayed_job_active_record (0.4.4)
activerecord (>= 2.1.0, < 4)
delayed_job (~> 3.0)
diff-lcs (1.2.4)
enumerize (0.6.1)
activesupport (>= 3.2)
erubis (2.7.0)
eventmachine (1.0.3)
exception_notification (3.0.1)
actionmailer (>= 3.0.4)
execjs (1.4.0)
multi_json (~> 1.0)
faraday (0.8.7)
multipart-post (~> 1.1)
ffi (1.8.1)
font-awesome-sass-rails (3.0.2.2)
railties (>= 3.1.1)
sass-rails (>= 3.1.1)
has_scope (0.5.1)
hashie (2.0.5)
hike (1.2.3)
httpauth (0.2.0)
i18n (0.6.1)
inherited_resources (1.4.0)
has_scope (~> 0.5.0)
responders (~> 0.9)
journey (1.0.4)
jqcloud-rails (1.0.0)
jquery-rails
jquery-rails (3.0.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.0)
jwt (0.1.8)
multi_json (>= 1.5)
launchy (2.3.0)
addressable (~> 2.3)
letter_opener (1.1.1)
launchy (~> 2.2)
libv8 (3.11.8.17)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.1)
mime-types (1.23)
mini_magick (3.6.0)
subexec (~> 0.2.1)
multi_json (1.7.6)
multipart-post (1.2.0)
mysql2 (0.3.11)
newrelic_rpm (3.6.3.106)
nokogiri (1.5.9)
oauth2 (0.8.1)
faraday (~> 0.8)
httpauth (~> 0.1)
jwt (~> 0.1.4)
multi_json (~> 1.0)
rack (~> 1.2)
omniauth (1.1.4)
hashie (>= 1.2, < 3)
rack
omniauth-oauth2 (1.1.1)
oauth2 (~> 0.8.0)
omniauth (~> 1.0)
paperclip (3.1.2)
activemodel (>= 3.0.0)
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (>= 0.0.2)
mime-types
polyglot (0.3.3)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
pry-rails (0.3.0)
pry (>= 0.9.10)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.13)
actionmailer (= 3.2.13)
actionpack (= 3.2.13)
activerecord (= 3.2.13)
activeresource (= 3.2.13)
activesupport (= 3.2.13)
bundler (~> 1.0)
railties (= 3.2.13)
rails_config (0.3.3)
activesupport (>= 3.0)
railties (3.2.13)
actionpack (= 3.2.13)
activesupport (= 3.2.13)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.4)
rdoc (3.12.2)
json (~> 1.4)
redis (3.0.4)
redis-objects (0.7.0)
redis (>= 3.0.2)
ref (1.0.5)
responders (0.9.3)
railties (~> 3.1)
rest-client (1.6.7)
mime-types (>= 1.16)
rmagick (2.13.2)
roadie (2.3.4)
actionmailer (> 3.0.0, < 3.3.0)
css_parser
nokogiri (>= 1.4.4)
sprockets
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.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
ruby-pinyin (0.2.1)
rubyzip (0.9.9)
sass (3.2.9)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
select2-rails (3.4.1)
sass-rails
thor (~> 0.14)
selenium-webdriver (2.33.0)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip
websocket (~> 1.0.4)
simple_form (2.1.0)
actionpack (~> 3.0)
activemodel (~> 3.0)
sitemap_generator (4.1.0)
builder
slim (2.0.0)
temple (~> 0.6.5)
tilt (~> 1.3, >= 1.3.3)
slim-rails (2.0.1)
actionpack (>= 3.0, < 4.1)
activesupport (>= 3.0, < 4.1)
railties (>= 3.0, < 4.1)
slim (~> 2.0)
slop (3.4.5)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
state_machine (1.2.0)
subexec (0.2.3)
temple (0.6.5)
therubyracer (0.11.1)
libv8 (~> 3.11.8.7)
ref
thin (1.5.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.18.1)
tilt (1.4.1)
treetop (1.4.14)
polyglot
polyglot (>= 0.3.1)
turn (0.8.3)
ansi
twitter-bootstrap-rails (2.2.0)
actionpack (>= 3.1)
execjs
railties (>= 3.1)
tzinfo (0.3.37)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
watir-webdriver (0.6.4)
selenium-webdriver (>= 2.18.0)
websocket (1.0.7)
will_paginate (3.0.4)
PLATFORMS
ruby
DEPENDENCIES
acts-as-taggable-on
acts_as_commentable (= 3.0.1)
acts_as_follower
awesome_print
better_errors
binding_of_caller
bootstrap-editable-rails
bootstrap-will_paginate
cancan
client_side_validations
client_side_validations-simple_form
cocaine (= 0.3.2)
coffee-rails
daemons
delayed_job_active_record
enumerize
exception_notification
font-awesome-sass-rails
ga_measurement!
inherited_resources
jqcloud-rails
jquery-rails
letter_opener
libv8
mini_magick
mysql2
newrelic_rpm
nokogiri
omniauth
omniauth-oauth2
paperclip (= 3.1.2)
pry-rails
rails (~> 3.2.9)
rails_config
redis
redis-objects
responders
rmagick
roadie
rspec-rails
ruby-pinyin
sass-rails
select2-rails
simple_form
sitemap_generator
slim-rails
state_machine
therubyracer (= 0.11.1)
thin
turn (~> 0.8.3)
twitter-bootstrap-rails (= 2.2.0)
uglifier
watir-webdriver
will_paginate
GIT
remote: https://github.com/nickcen/ga_measurement
revision: ecaaabdca410136d75975c3cb6a421e62a7c2d53
specs:
ga_measurement (0.0.1)
rest-client
GEM
remote: http://ruby.taobao.org/
specs:
actionmailer (3.2.13)
actionpack (= 3.2.13)
mail (~> 2.5.3)
actionpack (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
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.13)
activesupport (= 3.2.13)
builder (~> 3.0.0)
activerecord (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
acts-as-taggable-on (2.4.1)
rails (>= 3, < 5)
acts_as_commentable (3.0.1)
acts_as_follower (0.1.1)
addressable (2.3.4)
ansi (1.4.3)
arel (3.0.2)
awesome_print (1.1.0)
better_errors (0.9.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
binding_of_caller (0.7.1)
debug_inspector (>= 0.0.1)
bootstrap-editable-rails (0.0.5)
railties (>= 3.1)
bootstrap-will_paginate (0.0.9)
will_paginate
builder (3.0.4)
cancan (1.6.10)
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
client_side_validations (3.2.5)
client_side_validations-simple_form (2.1.0)
client_side_validations (~> 3.2.5)
simple_form (~> 2.1.0)
cocaine (0.3.2)
coderay (1.0.9)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.2)
css_parser (1.3.4)
addressable
daemons (1.1.9)
debug_inspector (0.0.2)
delayed_job (3.0.5)
activesupport (~> 3.0)
delayed_job_active_record (0.4.4)
activerecord (>= 2.1.0, < 4)
delayed_job (~> 3.0)
diff-lcs (1.2.4)
enumerize (0.6.1)
activesupport (>= 3.2)
erubis (2.7.0)
eventmachine (1.0.3)
exception_notification (3.0.1)
actionmailer (>= 3.0.4)
execjs (1.4.0)
multi_json (~> 1.0)
faraday (0.8.7)
multipart-post (~> 1.1)
ffi (1.8.1)
font-awesome-sass-rails (3.0.2.2)
railties (>= 3.1.1)
sass-rails (>= 3.1.1)
has_scope (0.5.1)
hashie (2.0.5)
hike (1.2.3)
httpauth (0.2.0)
i18n (0.6.1)
inherited_resources (1.4.0)
has_scope (~> 0.5.0)
responders (~> 0.9)
journey (1.0.4)
jqcloud-rails (1.0.0)
jquery-rails
jquery-rails (3.0.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.0)
jwt (0.1.8)
multi_json (>= 1.5)
launchy (2.3.0)
addressable (~> 2.3)
letter_opener (1.1.1)
launchy (~> 2.2)
libv8 (3.11.8.17)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.1)
mime-types (1.23)
mini_magick (3.6.0)
subexec (~> 0.2.1)
multi_json (1.7.6)
multipart-post (1.2.0)
mysql2 (0.3.11)
newrelic_rpm (3.6.3.106)
nokogiri (1.5.9)
oauth2 (0.8.1)
faraday (~> 0.8)
httpauth (~> 0.1)
jwt (~> 0.1.4)
multi_json (~> 1.0)
rack (~> 1.2)
omniauth (1.1.4)
hashie (>= 1.2, < 3)
rack
omniauth-oauth2 (1.1.1)
oauth2 (~> 0.8.0)
omniauth (~> 1.0)
paperclip (3.1.2)
activemodel (>= 3.0.0)
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (>= 0.0.2)
mime-types
polyglot (0.3.3)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
pry-rails (0.3.0)
pry (>= 0.9.10)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.13)
actionmailer (= 3.2.13)
actionpack (= 3.2.13)
activerecord (= 3.2.13)
activeresource (= 3.2.13)
activesupport (= 3.2.13)
bundler (~> 1.0)
railties (= 3.2.13)
rails_config (0.3.3)
activesupport (>= 3.0)
railties (3.2.13)
actionpack (= 3.2.13)
activesupport (= 3.2.13)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.4)
rdoc (3.12.2)
json (~> 1.4)
redis (3.0.4)
redis-objects (0.7.0)
redis (>= 3.0.2)
ref (1.0.5)
responders (0.9.3)
railties (~> 3.1)
rest-client (1.6.7)
mime-types (>= 1.16)
rmagick (2.13.2)
roadie (2.3.4)
actionmailer (> 3.0.0, < 3.3.0)
css_parser
nokogiri (>= 1.4.4)
sprockets
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.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
ruby-pinyin (0.2.1)
rubyzip (0.9.9)
sass (3.2.9)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
select2-rails (3.4.1)
sass-rails
thor (~> 0.14)
selenium-webdriver (2.33.0)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip
websocket (~> 1.0.4)
simple_form (2.1.0)
actionpack (~> 3.0)
activemodel (~> 3.0)
sitemap_generator (4.1.0)
builder
slim (2.0.0)
temple (~> 0.6.5)
tilt (~> 1.3, >= 1.3.3)
slim-rails (2.0.1)
actionpack (>= 3.0, < 4.1)
activesupport (>= 3.0, < 4.1)
railties (>= 3.0, < 4.1)
slim (~> 2.0)
slop (3.4.5)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
state_machine (1.2.0)
subexec (0.2.3)
temple (0.6.5)
therubyracer (0.11.1)
libv8 (~> 3.11.8.7)
ref
thin (1.5.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.18.1)
tilt (1.4.1)
treetop (1.4.14)
polyglot
polyglot (>= 0.3.1)
turn (0.8.3)
ansi
twitter-bootstrap-rails (2.2.0)
actionpack (>= 3.1)
execjs
railties (>= 3.1)
tzinfo (0.3.37)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
watir-webdriver (0.6.4)
selenium-webdriver (>= 2.18.0)
websocket (1.0.7)
will_paginate (3.0.4)
PLATFORMS
ruby
DEPENDENCIES
acts-as-taggable-on
acts_as_commentable (= 3.0.1)
acts_as_follower
awesome_print
better_errors
binding_of_caller
bootstrap-editable-rails
bootstrap-will_paginate
cancan
client_side_validations
client_side_validations-simple_form
cocaine (= 0.3.2)
coffee-rails
daemons
delayed_job_active_record
enumerize
exception_notification
font-awesome-sass-rails
ga_measurement!
inherited_resources
jqcloud-rails
jquery-rails
letter_opener
libv8
mini_magick
mysql2
newrelic_rpm
nokogiri
omniauth
omniauth-oauth2
paperclip (= 3.1.2)
pry-rails
rails (~> 3.2.9)
rails_config
redis
redis-objects
responders
rmagick
roadie
rspec-rails
ruby-pinyin
sass-rails
select2-rails
simple_form
sitemap_generator
slim-rails
state_machine
therubyracer (= 0.11.1)
thin
turn (~> 0.8.3)
twitter-bootstrap-rails (= 2.2.0)
uglifier
watir-webdriver
will_paginate
I got the problem fixed by reinstalling rvm. And rpsec works.
install rvm:
bash -s 1.18.6 < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
install ruby:
rvm install 1.9.3
if come up with bug when retrieving rubygems:
rvm rubygems current --verify-downloads 1
cd /path/to/project
sudo gem install bundler
bundle install
Call rspec from Bundler:
bundle exec rspec .
first you need to run some commands to prepare for testing
just run rake db:test:prepare
than try your test commands rspec .
Update: forgot to post the error itself: https://github.com/Compass/compass-rails/issues/19
Asset Precomp fails during heroku deploy (specifically on the css) - and I get a message like this in the logs when viewing the site:
ActionView::Template::Error (File to import not found or unreadable: compass.)
So I've reverted to my old gemfile.lock to fix this problem for now, but I wanted to post it here incase anyone had any ideas for what might be causing it.
Here is my Gemfile:
source 'http://rubygems.org'
gem 'rails', '3.1.4'
gem 'thin'
gem 'mysql2', '0.3.11'
gem "devise", '2.1'
gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
gem 'omniauth'
gem 'omniauth-facebook'
gem 'omniauth-twitter'
#For Heroku
group :production do
gem 'pg'
end
group :assets do
gem 'sass-rails'
gem 'coffee-rails'
gem 'uglifier'
gem 'yui-compressor'
gem 'compass-rails'
end
gem 'newrelic_rpm'
#Stripe
gem 'stripe'
gem 'sendgrid'
gem 'cancan'
gem 'jquery-rails', '>= 1.0.12'
gem 'rails3-jquery-autocomplete'
gem 'mail'
gem 'fastercsv'
gem 'redcarpet'
gem 'albino'
gem 'nokogiri'
#Amazon
gem 'aws-sdk'
#Paperclip
gem 'paperclip', '~> 2.5'
#RedCloth Text
gem 'RedCloth'
# In place editing
gem 'best_in_place'
# Use unicorn as the web server
gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'ruby-debug'
# Use Pusher
gem "pusher", "~> 0.8.1"
#Memcached
gem 'dalli'
group :test do
gem 'cucumber-rails'
gem 'rspec-rails'
gem 'capybara'
# database_cleaner is not required, but highly recommended
gem 'database_cleaner'
end
Here is my old Gemfile.lock:
GIT
remote: git://github.com/sferik/rails_admin.git
revision: 0ed7ef9ac500e3eff861df4baa0b103fea32cf6e
specs:
rails_admin (0.0.1)
bbenezech-nested_form (~> 0.0)
bootstrap-sass (~> 1.4, >= 1.4.1)
builder (~> 3.0)
coffee-rails (~> 3.1)
haml (~> 3.1)
jquery-rails (~> 1.0)
kaminari (~> 0.12)
rack-pjax (~> 0.5)
rails (~> 3.1)
remotipart (~> 1.0)
GEM
remote: http://rubygems.org/
specs:
POpen4 (0.1.4)
Platform (>= 0.4.0)
open4
Platform (0.4.0)
RedCloth (4.2.9)
actionmailer (3.1.4)
actionpack (= 3.1.4)
mail (~> 2.3.0)
actionpack (3.1.4)
activemodel (= 3.1.4)
activesupport (= 3.1.4)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.6)
rack-cache (~> 1.1)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.3)
activemodel (3.1.4)
activesupport (= 3.1.4)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.4)
activemodel (= 3.1.4)
activesupport (= 3.1.4)
arel (~> 2.2.3)
tzinfo (~> 0.3.29)
activeresource (3.1.4)
activemodel (= 3.1.4)
activesupport (= 3.1.4)
activesupport (3.1.4)
multi_json (~> 1.0)
addressable (2.2.7)
albino (1.3.3)
posix-spawn (>= 0.3.6)
arel (2.2.3)
aws-sdk (1.3.4)
httparty (~> 0.7)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
bbenezech-nested_form (0.0.2)
bcrypt-ruby (3.0.1)
jquery-rails
rails (~> 3.1.0)
best_in_place (1.1.2)
jquery-rails
rails (~> 3.1)
bootstrap-sass (1.4.3)
sass-rails (~> 3.1)
builder (3.0.0)
cancan (1.6.7)
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.2.3)
ffi (~> 1.0.6)
chunky_png (1.2.5)
cocaine (0.2.1)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.2.0)
compass (0.12.1)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
compass-rails (1.0.1)
compass (~> 0.12.0)
cucumber (1.1.4)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.7.1)
json (>= 1.4.6)
term-ansicolor (>= 1.0.6)
cucumber-rails (1.2.1)
capybara (>= 1.1.2)
cucumber (>= 1.1.3)
nokogiri (>= 1.5.0)
daemons (1.1.8)
dalli (1.1.4)
database_cleaner (0.7.0)
devise (2.1.0)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.7)
railties (~> 3.1)
warden (~> 1.1.1)
diff-lcs (1.1.3)
erubis (2.7.0)
eventmachine (1.0.0.beta.4)
execjs (1.2.13)
multi_json (~> 1.0)
faraday (0.7.6)
addressable (~> 2.2)
multipart-post (~> 1.1)
rack (~> 1.1)
fastercsv (1.5.4)
ffi (1.0.11)
fssm (0.2.9)
gherkin (2.7.1)
json (>= 1.4.6)
haml (3.1.4)
hashie (1.2.0)
hike (1.2.1)
hpricot (0.8.5)
httparty (0.8.1)
multi_json
multi_xml
i18n (0.6.0)
jquery-rails (1.0.19)
railties (~> 3.0)
thor (~> 0.14)
json (1.7.3)
kaminari (0.13.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
kgio (2.7.4)
mail (2.3.3)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.18)
multi_json (1.0.4)
multi_xml (0.4.1)
multipart-post (1.1.5)
mysql2 (0.3.11)
newrelic_rpm (3.3.4.1)
nokogiri (1.5.0)
oauth (0.4.5)
oauth2 (0.5.2)
faraday (~> 0.7)
multi_json (~> 1.0)
omniauth (1.0.3)
hashie (~> 1.2)
rack
omniauth-facebook (1.2.0)
omniauth-oauth2 (~> 1.0.0)
omniauth-oauth (1.0.1)
oauth
omniauth (~> 1.0)
omniauth-oauth2 (1.0.0)
oauth2 (~> 0.5.0)
omniauth (~> 1.0)
omniauth-twitter (0.0.8)
omniauth-oauth (~> 1.0)
open4 (1.3.0)
orm_adapter (0.0.7)
paperclip (2.6.0)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
mime-types
pg (0.12.0)
rake-compiler (~> 0.7)
polyglot (0.3.3)
posix-spawn (0.3.6)
pusher (0.8.5)
multi_json (~> 1.0)
ruby-hmac (~> 0.4.0)
signature (~> 0.1.2)
rack (1.3.6)
rack-cache (1.2)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-pjax (0.5.5)
hpricot (~> 0.8.4)
rack (~> 1.3)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.4)
actionmailer (= 3.1.4)
actionpack (= 3.1.4)
activerecord (= 3.1.4)
activeresource (= 3.1.4)
activesupport (= 3.1.4)
bundler (~> 1.0)
railties (= 3.1.4)
rails3-jquery-autocomplete (1.0.5)
rails (~> 3.0)
railties (3.1.4)
actionpack (= 3.1.4)
activesupport (= 3.1.4)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
raindrops (0.8.0)
rake (0.9.2.2)
rake-compiler (0.7.9)
rake
rdoc (3.12)
json (~> 1.4)
redcarpet (2.0.1)
remotipart (1.0.1)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.7.0)
rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0)
rspec-mocks (~> 2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.7.0)
rspec-rails (2.7.0)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.7.0)
ruby-hmac (0.4.0)
rubyzip (0.9.5)
sass (3.1.12)
sass-rails (3.1.5)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (~> 3.1.10)
tilt (~> 1.3.2)
selenium-webdriver (2.15.0)
childprocess (>= 0.2.1)
ffi (~> 1.0.9)
multi_json (~> 1.0.4)
rubyzip
sendgrid (1.0.1)
json
json
signature (0.1.2)
ruby-hmac
sprockets (2.0.4)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
stripe (1.6.0)
rest-client (~> 1.4)
term-ansicolor (1.0.7)
thin (1.3.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)
uglifier (1.2.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
unicorn (4.3.1)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
uuidtools (2.1.2)
warden (1.1.1)
rack (>= 1.0)
xpath (0.1.4)
nokogiri (~> 1.3)
yui-compressor (0.9.6)
POpen4 (>= 0.1.4)
PLATFORMS
ruby
DEPENDENCIES
RedCloth
albino
aws-sdk
best_in_place
cancan
capybara
coffee-rails
compass-rails
cucumber-rails
dalli
database_cleaner
devise (= 2.1)
fastercsv
jquery-rails (>= 1.0.12)
mail
mysql2 (= 0.3.11)
newrelic_rpm
nokogiri
omniauth
omniauth-facebook
omniauth-twitter
paperclip (~> 2.5)
pg
pusher (~> 0.8.1)
rails (= 3.1.4)
rails3-jquery-autocomplete
rails_admin!
redcarpet
rspec-rails
sass-rails
sendgrid
stripe
thin
uglifier
unicorn
yui-compressor
And here is the new (and causing errors in heroku) Gemfile.lock:
GIT
remote: git://github.com/sferik/rails_admin.git
revision: 7e607efb2c5f446e36622a8b6553d1df3fb4245f
specs:
rails_admin (0.0.4)
bbenezech-nested_form (~> 0.0.6)
bootstrap-sass (~> 2.0, >= 2.0.3)
builder (~> 3.0)
coffee-rails (~> 3.1)
haml (~> 3.1)
jquery-rails (>= 1.0.17)
jquery-ui-rails (>= 0.5, < 2)
kaminari (~> 0.12)
rack-pjax (~> 0.5)
rails (~> 3.1)
remotipart (~> 1.0)
sass-rails (~> 3.1)
GEM
remote: http://rubygems.org/
specs:
POpen4 (0.1.4)
Platform (>= 0.4.0)
open4
Platform (0.4.0)
RedCloth (4.2.9)
actionmailer (3.1.4)
actionpack (= 3.1.4)
mail (~> 2.3.0)
actionpack (3.1.4)
activemodel (= 3.1.4)
activesupport (= 3.1.4)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.6)
rack-cache (~> 1.1)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.3)
activemodel (3.1.4)
activesupport (= 3.1.4)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.4)
activemodel (= 3.1.4)
activesupport (= 3.1.4)
arel (~> 2.2.3)
tzinfo (~> 0.3.29)
activeresource (3.1.4)
activemodel (= 3.1.4)
activesupport (= 3.1.4)
activesupport (3.1.4)
multi_json (~> 1.0)
addressable (2.2.8)
albino (1.3.3)
posix-spawn (>= 0.3.6)
arel (2.2.3)
aws-sdk (1.5.4)
httparty (~> 0.7)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
bbenezech-nested_form (0.0.6)
bcrypt-ruby (3.0.1)
best_in_place (1.1.2)
jquery-rails
rails (~> 3.1)
bootstrap-sass (2.0.3.1)
builder (3.0.0)
cancan (1.6.7)
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.2)
ffi (~> 1.0.6)
chunky_png (1.2.5)
cocaine (0.2.1)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.3.3)
compass (0.12.1)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
compass-rails (1.0.2)
compass (>= 0.12.0, < 0.14)
cucumber (1.2.1)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.11.0)
json (>= 1.4.6)
cucumber-rails (1.3.0)
capybara (>= 1.1.2)
cucumber (>= 1.1.8)
nokogiri (>= 1.5.0)
daemons (1.1.8)
dalli (2.0.5)
database_cleaner (0.8.0)
devise (2.1.0)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.7)
railties (~> 3.1)
warden (~> 1.1.1)
diff-lcs (1.1.3)
erubis (2.7.0)
eventmachine (0.12.10)
execjs (1.4.0)
multi_json (~> 1.0)
faraday (0.8.1)
multipart-post (~> 1.1)
fastercsv (1.5.5)
ffi (1.0.11)
fssm (0.2.9)
gherkin (2.11.0)
json (>= 1.4.6)
haml (3.1.6)
hashie (1.2.0)
hike (1.2.1)
hpricot (0.8.6)
httparty (0.8.3)
multi_json (~> 1.0)
multi_xml
httpauth (0.1)
i18n (0.6.0)
jquery-rails (1.0.19)
railties (~> 3.0)
thor (~> 0.14)
jquery-ui-rails (1.0.0)
jquery-rails
railties (>= 3.1.0)
json (1.7.3)
kaminari (0.13.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
kgio (2.7.4)
libwebsocket (0.1.3)
addressable
mail (2.3.3)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.18)
multi_json (1.3.6)
multi_xml (0.5.1)
multipart-post (1.1.5)
mysql2 (0.3.11)
newrelic_rpm (3.4.0)
nokogiri (1.5.4)
oauth (0.4.6)
oauth2 (0.6.1)
faraday (~> 0.7)
httpauth (~> 0.1)
multi_json (~> 1.3)
omniauth (1.1.0)
hashie (~> 1.2)
rack
omniauth-facebook (1.3.0)
omniauth-oauth2 (~> 1.0.2)
omniauth-oauth (1.0.1)
oauth
omniauth (~> 1.0)
omniauth-oauth2 (1.0.2)
oauth2 (~> 0.6.0)
omniauth (~> 1.0)
omniauth-twitter (0.0.11)
multi_json (~> 1.3)
omniauth-oauth (~> 1.0)
open4 (1.3.0)
orm_adapter (0.0.7)
paperclip (2.7.0)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
mime-types
pg (0.13.2)
polyglot (0.3.3)
posix-spawn (0.3.6)
pusher (0.8.5)
multi_json (~> 1.0)
ruby-hmac (~> 0.4.0)
signature (~> 0.1.2)
rack (1.3.6)
rack-cache (1.2)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-pjax (0.5.9)
hpricot (~> 0.8.6)
rack (~> 1.3)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.4)
actionmailer (= 3.1.4)
actionpack (= 3.1.4)
activerecord (= 3.1.4)
activeresource (= 3.1.4)
activesupport (= 3.1.4)
bundler (~> 1.0)
railties (= 3.1.4)
rails3-jquery-autocomplete (1.0.7)
rails (~> 3.0)
railties (3.1.4)
actionpack (= 3.1.4)
activesupport (= 3.1.4)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
raindrops (0.9.0)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
redcarpet (2.1.1)
remotipart (1.0.2)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.10.0)
rspec-core (~> 2.10.0)
rspec-expectations (~> 2.10.0)
rspec-mocks (~> 2.10.0)
rspec-core (2.10.1)
rspec-expectations (2.10.0)
diff-lcs (~> 1.1.3)
rspec-mocks (2.10.1)
rspec-rails (2.10.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec (~> 2.10.0)
ruby-hmac (0.4.0)
rubyzip (0.9.8)
sass (3.1.19)
sass-rails (3.1.6)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (>= 3.1.10)
tilt (~> 1.3.2)
selenium-webdriver (2.22.2)
childprocess (>= 0.2.5)
ffi (~> 1.0)
libwebsocket (~> 0.1.3)
multi_json (~> 1.0)
rubyzip
sendgrid (1.0.1)
json
json
signature (0.1.3)
sprockets (2.0.4)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
stripe (1.7.0)
multi_json (~> 1.1)
rest-client (~> 1.4)
thin (1.3.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)
uglifier (1.2.4)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
unicorn (4.3.1)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
uuidtools (2.1.2)
warden (1.1.1)
rack (>= 1.0)
xpath (0.1.4)
nokogiri (~> 1.3)
yui-compressor (0.9.6)
POpen4 (>= 0.1.4)
PLATFORMS
ruby
DEPENDENCIES
RedCloth
albino
aws-sdk
best_in_place
cancan
capybara
coffee-rails
compass-rails
cucumber-rails
dalli
database_cleaner
devise (= 2.1)
fastercsv
jquery-rails (>= 1.0.12)
mail
mysql2 (= 0.3.11)
newrelic_rpm
nokogiri
omniauth
omniauth-facebook
omniauth-twitter
paperclip (~> 2.5)
pg
pusher (~> 0.8.1)
rails (= 3.1.4)
rails3-jquery-autocomplete
rails_admin!
redcarpet
rspec-rails
sass-rails
sendgrid
stripe
thin
uglifier
unicorn
yui-compressor
Any ideas what could be causing these issues?
Try moving gem 'compass-rails' outside of the :assets group.
I know that I can't have sqlite3 when I deploy to heroku (I have used it in development, but since then deleted it.
jeffrey#ubuntu5:~/Documents/Sites/burma_project$ bundle show sqlite3
Could not find gem 'sqlite3' in the current bundle.
Also in my gemfile, there's no sqlite3 there
gem 'rails', '3.1.1'
gem 'activeadmin'
gem 'builder'
gem 'delayed_job_active_record'
gem 'daemons'
gem 'twilio-ruby'
gem 'whenever', :require=> false
gem 'gravatar_image_tag', '1.0.0.pre2'
group :assets do
gem 'sass-rails', '~> 3.1.4'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end
group :development do
gem 'rspec-rails', '2.6.1'
gem 'annotate', '2.4.0'
# gem 'sqlite3', '1.3.4'
# gem 'localtunnel'
end
group :production do
#gem 'therubyracer-heroku', '0.8.1.pre3'
gem 'pg'
end
gem 'jquery-rails'
group :test do
# Pretty printed test output
gem 'turn', :require => false
gem 'rspec-rails', '2.6.1'
gem 'webrat', '0.7.1'
gem 'spork', '0.9.0.rc8'
gem 'factory_girl_rails', '1.0'
end
Also in my gemfile.lock, I did control+f and could not find any gem that depended on sqlite3
Here is my gemfile.lock
GEM
remote: http://rubygems.org/
specs:
actionmailer (3.1.1)
actionpack (= 3.1.1)
mail (~> 2.3.0)
actionpack (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.2)
rack-cache (~> 1.1)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.2)
activeadmin (0.3.4)
devise (>= 1.1.2)
fastercsv
formtastic (< 2.0.0)
inherited_resources (< 1.3.0)
kaminari (>= 0.12.4)
meta_search (>= 0.9.2)
rails (>= 3.0.0)
sass (>= 3.1.0)
activemodel (3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activeresource (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
activesupport (3.1.1)
multi_json (~> 1.0)
annotate (2.4.0)
ansi (1.4.1)
arel (2.2.1)
bcrypt-ruby (3.0.1)
bcrypt-ruby (3.0.1-x86-mingw32)
builder (3.0.0)
chronic (0.6.7)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.2.0)
daemons (1.1.8)
delayed_job (3.0.1)
activesupport (~> 3.0)
delayed_job_active_record (0.3.2)
activerecord (> 2.1.0)
delayed_job (~> 3.0.0)
devise (1.5.3)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
warden (~> 1.1)
diff-lcs (1.1.3)
erubis (2.7.0)
execjs (1.2.13)
multi_json (~> 1.0)
factory_girl (1.3.3)
factory_girl_rails (1.0)
factory_girl (~> 1.3)
rails (>= 3.0.0.beta4)
fastercsv (1.5.4)
formtastic (1.2.4)
actionpack (>= 2.3.7)
activesupport (>= 2.3.7)
i18n (~> 0.4)
gravatar_image_tag (1.0.0.pre2)
has_scope (0.5.1)
hike (1.2.1)
i18n (0.6.0)
inherited_resources (1.2.2)
has_scope (~> 0.5.0)
responders (~> 0.6.0)
jquery-rails (1.0.19)
railties (~> 3.0)
thor (~> 0.14)
json (1.6.4)
jwt (0.1.4)
json (>= 1.2.4)
kaminari (0.13.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
meta_search (1.1.1)
actionpack (~> 3.1.0)
activerecord (~> 3.1.0)
activesupport (~> 3.1.0)
polyamorous (~> 0.5.0)
mime-types (1.17.2)
multi_json (1.0.4)
nokogiri (1.5.0)
nokogiri (1.5.0-x86-mingw32)
orm_adapter (0.0.6)
pg (0.13.2)
polyamorous (0.5.0)
activerecord (~> 3.0)
polyglot (0.3.3)
rack (1.3.6)
rack-cache (1.1)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.1)
actionmailer (= 3.1.1)
actionpack (= 3.1.1)
activerecord (= 3.1.1)
activeresource (= 3.1.1)
activesupport (= 3.1.1)
bundler (~> 1.0)
railties (= 3.1.1)
railties (3.1.1)
actionpack (= 3.1.1)
activesupport (= 3.1.1)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
responders (0.6.4)
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)
sass (3.1.12)
sass-rails (3.1.5)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (~> 3.1.10)
tilt (~> 1.3.2)
spork (0.9.0.rc8)
spork (0.9.0.rc8-x86-mingw32)
win32-process
sprockets (2.0.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
turn (0.8.3)
ansi
twilio-ruby (3.5.1)
builder (>= 2.1.2)
jwt (>= 0.1.2)
multi_json (>= 1.0.3)
tzinfo (0.3.31)
uglifier (1.2.1)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
warden (1.1.0)
rack (>= 1.0)
webrat (0.7.1)
nokogiri (>= 1.2.0)
rack (>= 1.0)
rack-test (>= 0.5.3)
whenever (0.7.2)
activesupport (>= 2.3.4)
chronic (~> 0.6.3)
win32-api (1.4.8-x86-mingw32)
win32-process (0.6.5)
windows-pr (>= 1.1.2)
windows-api (0.4.0)
win32-api (>= 1.4.5)
windows-pr (1.2.1)
win32-api (>= 1.4.5)
windows-api (>= 0.3.0)
PLATFORMS
ruby
x86-mingw32
DEPENDENCIES
activeadmin
annotate (= 2.4.0)
builder
coffee-rails (~> 3.1.1)
daemons
delayed_job_active_record
factory_girl_rails (= 1.0)
gravatar_image_tag (= 1.0.0.pre2)
jquery-rails
pg
rails (= 3.1.1)
rspec-rails (= 2.6.1)
sass-rails (~> 3.1.4)
spork (= 0.9.0.rc8)
turn
twilio-ruby
uglifier (>= 1.0.3)
webrat (= 0.7.1)
whenever
Yet, when I do git push heroku master, I get
Installing sqlite3 (1.3.4) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks!
And as you can see, disaster strikes.
Ok, that's it. If you can help me, I will be oh so happy.
Jeff
try the following:
Open database.yml & verify that adapter is NOT sqlite3 for development,test & production.
try running the following commands
$ bundle install #this would regenerate your gemfile.lock
$ rake db:create
$ rake db:scheme:load
$ rake db:migrate
3.now try deployment again, if it doesn't still work. run heroku logs & post back the results