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.
Related
I feel a little bit confused about my situation.
These are the versions of elasticsearch gems I'm using:
elasticsearch (1.0.12)
elasticsearch-api (= 1.0.12)
elasticsearch-transport (= 1.0.12)
elasticsearch-api (1.0.12)
multi_json
elasticsearch-model (0.1.7)
activesupport (> 3)
elasticsearch (> 0.4)
hashie
elasticsearch-rails (0.1.7)
elasticsearch-transport (1.0.12)
But the rspec tests fail and the fail message is
The [string] type is removed in 5.0 and automatic upgrade failed because parameters [index_analyzer] are not supported for automatic upgrades.
Why does it want me to use the upgraded syntax and tells me about 5 version changes if I'm still using an older version?
I know it is possible to solve this issue by upgrading, but still, I think it's strange that my code wants to be upgraded despite using an old version gem.
Thank you in advance for any ideas!
Here is my Gemfile.lock:
GIT
specs:
activeadmin (1.0.0.pre4)
arbre (~> 1.0, >= 1.0.2)
bourbon
coffee-rails
formtastic (~> 3.1)
formtastic_i18n
inherited_resources (~> 1.6)
jquery-rails
jquery-ui-rails
kaminari (~> 0.15)
railties (>= 3.2, < 5.1)
ransack (~> 1.3)
sass-rails
sprockets (< 4.1)
GEM
specs:
CFPropertyList (2.3.1)
actionmailer (4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.7.1)
actionview (= 4.2.7.1)
activesupport (= 4.2.7.1)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
active_link_to (1.0.2)
actionpack
active_model_serializers (0.10.2)
actionpack (>= 4.1, < 6)
activemodel (>= 4.1, < 6)
jsonapi (~> 0.1.1.beta2)
railties (>= 4.1, < 6)
activejob (4.2.7.1)
activesupport (= 4.2.7.1)
globalid (>= 0.3.0)
activemodel (4.2.7.1)
activesupport (= 4.2.7.1)
builder (~> 3.1)
activerecord (4.2.7.1)
activemodel (= 4.2.7.1)
activesupport (= 4.2.7.1)
arel (~> 6.0)
activerecord-postgres-earthdistance (0.4.2)
pg
rails (>= 3.1)
rake
activesupport (4.2.7.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.3.8)
arbre (1.1.1)
activesupport (>= 3.0.0)
arel (6.0.3)
ast (2.3.0)
autoprefixer-rails (6.4.1)
execjs
awesome_print (1.6.1)
babel-source (5.8.35)
babel-transpiler (0.7.0)
babel-source (>= 4.0, < 6)
execjs (~> 2.0)
bcrypt (3.1.10)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bourbon (4.2.7)
sass (~> 3.4)
thor (~> 0.19)
brakeman (3.4.1)
breadcrumbs_on_rails (3.0.1)
builder (3.2.2)
bullet (4.14.4)
activesupport (>= 3.0.0)
uniform_notifier (>= 1.6.0)
bundler-audit (0.3.1)
bundler (~> 1.2)
thor (~> 0.18)
byebug (9.0.6)
capybara (2.7.1)
addressable
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara-webkit (1.11.1)
capybara (>= 2.3.0, < 2.8.0)
json
carrierwave (0.10.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
mime-types (>= 1.16)
choice (0.2.0)
chronic (0.10.2)
code_analyzer (0.4.5)
sexp_processor
codeclimate-test-reporter (0.4.7)
simplecov (>= 0.7.1, < 1.0.0)
coderay (1.1.0)
coffee-rails (4.2.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.2.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colored (1.2)
concurrent-ruby (1.0.2)
connection_pool (2.2.0)
countries (2.0.2)
i18n_data (~> 0.7.0)
money (~> 6.7)
unicode_utils (~> 1.4)
crack (0.4.2)
safe_yaml (~> 1.0.0)
database_cleaner (1.4.1)
debug_inspector (0.0.2)
decent_exposure (2.3.2)
deep_merge (1.1.1)
devise (3.5.6)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
domain_name (0.5.24)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.0.0)
dotenv-rails (2.0.0)
dotenv (= 2.0.0)
elasticsearch (1.0.12)
elasticsearch-api (= 1.0.12)
elasticsearch-transport (= 1.0.12)
elasticsearch-api (1.0.12)
multi_json
elasticsearch-model (0.1.7)
activesupport (> 3)
elasticsearch (> 0.4)
hashie
elasticsearch-rails (0.1.7)
elasticsearch-transport (1.0.12)
faraday
multi_json
email_spec (1.6.0)
launchy (~> 2.1)
mail (~> 2.2)
erubis (2.7.0)
excon (0.45.3)
execjs (2.7.0)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
faker (1.6.6)
i18n (~> 0.5)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
fast_stack (0.1.0)
rake
rake-compiler
fission (0.5.0)
CFPropertyList (~> 2.2)
flag-icons-rails (1.1.2)
sass (~> 3.2)
flamegraph (0.1.0)
fast_stack
fog (1.29.0)
fog-atmos
fog-aws (~> 0.0)
fog-brightbox (~> 0.4)
fog-core (~> 1.27, >= 1.27.4)
fog-ecloud
fog-json
fog-local
fog-powerdns (>= 0.1.1)
fog-profitbricks
fog-radosgw (>= 0.0.2)
fog-riakcs
fog-sakuracloud (>= 0.0.4)
fog-serverlove
fog-softlayer
fog-storm_on_demand
fog-terremark
fog-vmfusion
fog-voxel
fog-xml (~> 0.1.1)
ipaddress (~> 0.5)
nokogiri (~> 1.5, >= 1.5.11)
fog-atmos (0.1.0)
fog-core
fog-xml
fog-aws (0.1.2)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
ipaddress (~> 0.8)
fog-brightbox (0.7.1)
fog-core (~> 1.22)
fog-json
inflecto (~> 0.0.2)
fog-core (1.30.0)
builder
excon (~> 0.45)
formatador (~> 0.2)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
fog-ecloud (0.1.1)
fog-core
fog-xml
fog-json (1.0.1)
fog-core (~> 1.0)
multi_json (~> 1.0)
fog-local (0.2.1)
fog-core (~> 1.27)
fog-powerdns (0.1.1)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
fog-profitbricks (0.0.2)
fog-core
fog-xml
nokogiri
fog-radosgw (0.0.4)
fog-core (>= 1.21.0)
fog-json
fog-xml (>= 0.0.1)
fog-riakcs (0.1.0)
fog-core
fog-json
fog-xml
fog-sakuracloud (1.0.1)
fog-core
fog-json
fog-serverlove (0.1.2)
fog-core
fog-json
fog-softlayer (0.4.5)
fog-core
fog-json
fog-storm_on_demand (0.1.1)
fog-core
fog-json
fog-terremark (0.1.0)
fog-core
fog-xml
fog-vmfusion (0.1.0)
fission
fog-core
fog-voxel (0.1.0)
fog-core
fog-xml
fog-xml (0.1.2)
fog-core
nokogiri (~> 1.5, >= 1.5.11)
foreman (0.82.0)
thor (~> 0.19.1)
formatador (0.2.5)
formtastic (3.1.4)
actionpack (>= 3.2.13)
formtastic_i18n (0.6.0)
formulaic (0.2.0)
activesupport
capybara
i18n
foundation-icons-sass-rails (3.0.0)
railties (>= 3.1.1)
sass-rails (>= 3.1.1)
foundation-rails (5.5.1.1)
railties (>= 3.1.0)
sass (>= 3.3.0, < 3.5)
friendly_id (5.1.0)
activerecord (>= 4.0.0)
fuubar (2.0.0)
rspec (~> 3.0)
ruby-progressbar (~> 1.4)
globalid (0.3.7)
activesupport (>= 4.1.0)
has_scope (0.6.0)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hashie (3.4.1)
heroku (3.32.0)
heroku-api (>= 0.3.19)
launchy (>= 0.3.2)
multi_json (>= 1.10)
netrc (>= 0.10.0)
rest-client (>= 1.6.0)
rubyzip (>= 0.9.9)
heroku-api (0.3.23)
excon (~> 0.44)
multi_json (~> 1.8)
http-cookie (1.0.2)
domain_name (~> 0.5)
i18n (0.7.0)
i18n_data (0.7.0)
inflecto (0.0.2)
inherited_resources (1.6.0)
actionpack (>= 3.2, < 5)
has_scope (~> 0.6.0.rc)
railties (>= 3.2, < 5)
responders
inline_svg (0.11.0)
activesupport (>= 4.0)
loofah (>= 2.0)
nokogiri (~> 1.6)
interactor (3.1.0)
ipaddress (0.8.0)
jquery-rails (4.0.4)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.3)
jsonapi (0.1.1.beta2)
json (~> 1.8)
jwt (1.5.0)
kaminari (0.17.0)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
launchy (2.4.3)
addressable (~> 2.3)
letter_opener (1.3.0)
launchy (~> 2.2)
libv8 (3.16.14.15)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
masonry-rails (0.2.4)
railties
memory_profiler (0.9.4)
metamagic (3.1.7)
rails (>= 3.0.0)
method_source (0.8.2)
mime-types (2.99.3)
mini_magick (4.2.4)
mini_portile2 (2.1.0)
minitest (5.10.1)
money (6.7.1)
i18n (>= 0.6.4, <= 0.7.0)
sixarm_ruby_unaccent (>= 1.1.1, < 2)
multi_json (1.12.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
mysql (2.9.1)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.2)
netrc (0.10.3)
newrelic_rpm (3.12.1.298)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
oauth2 (1.0.0)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
oj (2.18.0)
omniauth (1.2.2)
hashie (>= 1.2, < 4)
rack (~> 1.0)
omniauth-facebook (2.0.1)
omniauth-oauth2 (~> 1.2)
omniauth-google-oauth2 (0.2.4)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.1)
omniauth-oauth2 (1.3.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
orm_adapter (0.5.0)
parser (2.3.3.1)
ast (~> 2.2)
pg (0.18.1)
pgbackups-archive (1.0.3)
fog-aws
heroku (>= 3.28.6, <= 3.32)
rake
polyamorous (1.3.1)
activerecord (>= 3.0)
powerpack (0.1.1)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-rails (0.3.4)
pry (>= 0.9.10)
puma (3.6.2)
pundit (1.1.0)
activesupport (>= 3.0.0)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rabl (0.13.1)
activesupport (>= 2.3.14)
rack (1.6.5)
rack-canonical-host (0.1.0)
addressable
rack (~> 1.0)
rack-cors (0.4.0)
rack-mini-profiler (0.10.1)
rack (>= 1.2.0)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.7.1)
actionmailer (= 4.2.7.1)
actionpack (= 4.2.7.1)
actionview (= 4.2.7.1)
activejob (= 4.2.7.1)
activemodel (= 4.2.7.1)
activerecord (= 4.2.7.1)
activesupport (= 4.2.7.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.7.1)
sprockets-rails
rails-assets-autosize (3.0.17)
rails-assets-dropzone (4.3.0)
rails-assets-jquery (2.1.4)
rails-assets-jquery-bar-rating (1.1.0)
rails-assets-jquery (>= 1.7.2)
rails-assets-jquery-cascading-dropdown (1.2.5)
rails-assets-jquery-placeholder (2.1.1)
rails-assets-jquery (>= 1.6)
rails-assets-jquery-ui (1.11.4)
rails-assets-jquery (>= 1.6)
rails-assets-lite-uploader (2.2.0)
rails-assets-jquery (>= 1.8)
rails-assets-lodash (4.14.2)
rails-assets-microplugin (0.0.3)
rails-assets-pnotify (3.0.0)
rails-assets-jquery (>= 1.6)
rails-assets-rangeslider.js (1.2.1)
rails-assets-jquery (>= 1.9.0)
rails-assets-sachinchoolur--lightGallery (1.3.5)
rails-assets-jquery (>= 1.7.0)
rails-assets-selectize (0.12.3)
rails-assets-jquery (>= 1.7.0)
rails-assets-microplugin (~> 0.0.0)
rails-assets-sifter (~> 0.5.0)
rails-assets-sifter (0.5.2)
rails-assets-timepicker (1.7.0)
rails-assets-jquery (>= 1.7)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-erd (1.4.0)
activerecord (>= 3.2)
activesupport (>= 3.2)
choice (~> 0.2.0)
ruby-graphviz (~> 1.2)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_best_practices (1.15.7)
activesupport
code_analyzer (>= 0.4.3)
colored
erubis
i18n
json
require_all
ruby-progressbar
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.3)
railties (4.2.7.1)
actionpack (= 4.2.7.1)
activesupport (= 4.2.7.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rake (12.0.0)
rake-compiler (0.9.5)
rake
ransack (1.8.2)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.3)
react-rails (1.8.1)
babel-transpiler (>= 0.7.0)
coffee-script-source (~> 1.8)
connection_pool
execjs
railties (>= 3.2)
tilt
ref (2.0.0)
remotipart (1.2.1)
require_all (1.3.2)
responders (2.3.0)
railties (>= 4.2.0, < 5.1)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rinku (1.7.3)
rollbar (2.13.3)
multi_json
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-rails (3.5.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
rubocop (0.46.0)
parser (>= 2.3.1.1, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-graphviz (1.2.2)
ruby-progressbar (1.8.1)
rubyzip (1.1.7)
safe_yaml (1.0.4)
sass (3.4.22)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
scss_lint (0.38.0)
rainbow (~> 2.0)
sass (~> 3.4.1)
seedbank (0.3.0)
sexp_processor (4.7.0)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
simple_form (3.1.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
simplecov (0.9.2)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
sitemap_generator (5.2.0)
builder (~> 3.0)
sixarm_ruby_unaccent (1.1.1)
skim (0.10.0)
coffee-script
coffee-script-source (>= 1.2.0)
slim (>= 3.0)
sprockets (>= 2, < 4)
slim (3.0.3)
temple (~> 0.7.3)
tilt (>= 1.3.3, < 2.1)
slim-rails (3.0.1)
actionmailer (>= 3.1, < 5.0)
actionpack (>= 3.1, < 5.0)
activesupport (>= 3.1, < 5.0)
railties (>= 3.1, < 5.0)
slim (~> 3.0)
slop (3.6.0)
sprockets (3.7.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
stackprof (0.2.7)
temple (0.7.5)
test_after_commit (0.4.1)
activerecord (>= 3.2)
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
thor (0.19.4)
thread_safe (0.3.5)
tilt (2.0.5)
truncate_html (0.9.3)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.1)
unicode-display_width (1.1.1)
unicode_utils (1.4.0)
uniform_notifier (1.8.0)
validate_url (1.0.0)
activemodel (>= 3.0.0)
addressable
warden (1.2.6)
rack (>= 1.0)
web-console (2.1.3)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
webmock (1.21.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
active_link_to
active_model_serializers
activeadmin!
activerecord-postgres-earthdistance
addressable
autoprefixer-rails
awesome_print
brakeman
breadcrumbs_on_rails
bullet
bundler-audit
byebug
capybara
capybara-webkit
carrierwave
chronic
codeclimate-test-reporter
coffee-rails
countries
database_cleaner
decent_exposure
deep_merge
devise
dotenv-rails
elasticsearch-model
elasticsearch-rails
email_spec
factory_girl_rails
faker
flag-icons-rails
flamegraph
fog
fog-aws
foreman
formulaic
foundation-icons-sass-rails
foundation-rails
friendly_id
fuubar
inline_svg
interactor
jquery-rails (= 4.0.4)
jquery-ui-rails (= 5.0.5)
kaminari
launchy
letter_opener
masonry-rails
memory_profiler
metamagic
mini_magick
mysql
newrelic_rpm
oj
omniauth
omniauth-facebook
omniauth-google-oauth2
pg
pgbackups-archive
pry-rails
puma
pundit
quiet_assets
rabl
rack-canonical-host
rack-cors
rack-mini-profiler
rails (= 4.2.7.1)
rails-assets-autosize!
rails-assets-dropzone!
rails-assets-jquery-bar-rating!
rails-assets-jquery-cascading-dropdown!
rails-assets-jquery-placeholder!
rails-assets-jquery-ui!
rails-assets-lite-uploader!
rails-assets-lodash!
rails-assets-pnotify!
rails-assets-rangeslider.js!
rails-assets-sachinchoolur--lightGallery!
rails-assets-selectize!
rails-assets-timepicker!
rails-erd
rails_12factor
rails_best_practices
react-rails
remotipart
responders
rinku
rollbar
rspec-rails
rubocop
sass-rails
scss_lint
seedbank
shoulda-matchers
simple_form
sitemap_generator
skim
slim
slim-rails
stackprof
test_after_commit
therubyracer
truncate_html
uglifier
validate_url
web-console
webmock
RUBY VERSION
ruby 2.3.1p112
BUNDLED WITH
1.13.6
and Gemfile:
source "https://rubygems.org"
ruby "2.3.1"
gem "pg"
gem "rails", "4.2.7.1"
gem "flamegraph"
gem "memory_profiler"
gem "rack-mini-profiler"
gem "stackprof"
# frontend stack: preprocessors, libraries, minifiers, assets
# plus view stack: helpers, builders, etc.
gem "active_link_to"
gem "autoprefixer-rails"
gem "coffee-rails"
gem "flag-icons-rails"
gem "foundation-icons-sass-rails"
gem "foundation-rails"
gem "inline_svg"
gem "jquery-rails", "4.0.4"
gem "jquery-ui-rails", "5.0.5"
gem "masonry-rails"
gem "metamagic"
gem "react-rails"
gem "remotipart"
gem "rinku"
gem "sass-rails"
gem "simple_form"
gem "skim"
gem "slim"
gem "therubyracer", platforms: :ruby
gem "truncate_html"
gem "uglifier"
source "https://rails-assets.org" do
gem "rails-assets-autosize"
gem "rails-assets-dropzone"
gem "rails-assets-jquery-bar-rating"
gem "rails-assets-jquery-cascading-dropdown"
gem "rails-assets-jquery-placeholder"
gem "rails-assets-jquery-ui"
gem "rails-assets-lite-uploader"
gem "rails-assets-lodash"
gem "rails-assets-pnotify"
gem "rails-assets-rangeslider.js"
gem "rails-assets-sachinchoolur--lightGallery"
gem "rails-assets-selectize"
gem "rails-assets-timepicker"
end
# all other gems
gem "active_model_serializers"
gem "activeadmin", git: "https://github.com/activeadmin/activeadmin"
gem "addressable"
gem "breadcrumbs_on_rails"
gem "countries"
gem "decent_exposure"
gem "deep_merge", require: "deep_merge/rails_compat"
gem "devise"
gem "elasticsearch-model"
gem "elasticsearch-rails"
gem "friendly_id"
gem "interactor"
gem "kaminari"
gem "newrelic_rpm"
gem "oj"
gem "puma"
gem "rabl"
gem "rack-canonical-host"
gem "rack-cors"
gem "responders"
gem "rollbar"
gem "seedbank"
gem "validate_url"
# services
gem "activerecord-postgres-earthdistance"
gem "carrierwave"
gem "fog"
gem "fog-aws"
gem "mini_magick"
gem "pundit"
gem "sitemap_generator"
gem "omniauth"
gem "omniauth-facebook"
gem "omniauth-google-oauth2"
gem "pgbackups-archive"
group :data_migration do
gem "chronic"
gem "mysql"
end
group :staging, :production do
gem "rails_12factor"
end
group :test do
gem "capybara"
gem "capybara-webkit"
gem "codeclimate-test-reporter", require: false
gem "database_cleaner"
gem "email_spec"
gem "formulaic"
gem "launchy"
gem "shoulda-matchers"
gem "test_after_commit"
gem "webmock", require: false
end
group :development, :test, :staging do
gem "factory_girl_rails"
gem "faker"
end
group :development, :test do
gem "awesome_print"
gem "brakeman", require: false
gem "bundler-audit"
gem "byebug"
gem "dotenv-rails"
gem "fuubar"
gem "pry-rails"
gem "rails_best_practices"
gem "rspec-rails"
gem "rubocop"
gem "scss_lint", require: false
end
group :development do
gem "bullet"
gem "foreman"
gem "letter_opener"
gem "quiet_assets"
gem "rails-erd"
gem "slim-rails"
gem "web-console"
end
Environment
jruby 9.0.5.0 (2.2.3) 2016-01-26 7bee00d Java HotSpot(TM) 64-Bit Server VM 25.72-b15 on 1.8.0_72-b15 +jit [darwin-x86_64]
Rails 3.2.13
rack-1.4.7
Issue
I'm using jruby and it seem that every post request my server makes get a gzip response back. It used to work fine; I made a few gem update there and there and now the issue seem to be across the entire app.
Related Issue
In this related issue I tried to solve it with a monkey patch but it seem that the issue is deeper than it looks.
https://github.com/zquestz/omniauth-google-oauth2/issues/229
How Can I Force My app to Decompress All GZip responses automatically?
I tried to use Rack::Deflater middleware with no luck.
I'm thinking of creating a monkey patch for ActionDispatch.
Any suggestions?
Gemfile.lock
GIT
remote: git://github.com/aaronvegh/phone.git
revision: 4c92d7ee2eef67ab9eef0700907d0af9b51e0173
specs:
phone (0.9.9.3)
GIT
remote: git://github.com/devbbq/browser.git
revision: 5e36c9ac3ebfcd252d53f378dac8a1327e5e0242
specs:
browser (0.1.6)
GIT
remote: git://github.com/kml/quartz-jruby.git
revision: c63bfafaad2b7fd159abffbb84abdd3ad833154f
specs:
quartz-jruby (0.2.2)
GIT
remote: git#github.com:devbbq/restforce.git
revision: aa77cb06ddd0c67cc2843b341e0286a6844b733c
branch: feature/gemspec-upgrade
specs:
restforce (1.4.3)
faraday (~> 0.9.0)
faraday_middleware (>= 0.8.8)
hashie (~> 3.2.0)
json (>= 1.7.5, < 1.9.0)
GIT
remote: https://github.com/aaronvegh/max_mind.git
revision: 07753b9e492954aaea19d4975a1581d599fd8ee4
specs:
max_mind (1.0.0)
GIT
remote: https://github.com/stripe/stripe-ruby
revision: 24632af95aaa46f0a35b7cf939332bd49ee1eb36
specs:
stripe (1.36.0)
rest-client (~> 1.4)
GEM
remote: http://rubygems.org/
specs:
ParseUserAgent (0.1.0)
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)
active_record_query_trace (1.5.3)
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)
activerecord-jdbc-adapter (1.2.9.1)
activerecord-jdbcmysql-adapter (1.2.9)
activerecord-jdbc-adapter (~> 1.2.9)
jdbc-mysql (~> 5.1.0)
activeresource (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
addressable (2.4.0)
ansi (1.5.0)
arel (3.0.3)
authlogic (3.4.6)
activerecord (>= 3.2)
activesupport (>= 3.2)
request_store (~> 1.0)
scrypt (>= 1.2, < 3.0)
awesome_print (1.6.1)
bcrypt (3.1.11-java)
builder (3.0.4)
bullet (5.0.0)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.9.0)
callsite (0.0.11)
capistrano (2.15.7)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
celluloid (0.17.3)
celluloid-essentials
celluloid-extras
celluloid-fsm
celluloid-pool
celluloid-supervision
timers (>= 4.1.1)
celluloid-essentials (0.20.5)
timers (>= 4.1.1)
celluloid-extras (0.20.5)
timers (>= 4.1.1)
celluloid-fsm (0.20.5)
timers (>= 4.1.1)
celluloid-pool (0.20.5)
timers (>= 4.1.1)
celluloid-supervision (0.20.5)
timers (>= 4.1.1)
chronic (0.10.2)
class_logger (1.1)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.1)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorize (0.7.7)
columnize (0.9.0)
concurrent-ruby (1.0.1-java)
connection_pool (2.2.0)
cookiejar (0.3.0)
countries (1.2.5)
currencies (~> 0.4.2)
i18n_data (~> 0.7.0)
currencies (0.4.2)
daemons (1.2.3)
database_cleaner (1.5.1)
databasedotcom (1.3.3)
activesupport
json
multipart-post (~> 2.0.0)
databasedotcom-oauth2 (0.2.1)
addressable
databasedotcom
gibberish
hashie
oauth2
databasedotcom-rails (1.1.0)
databasedotcom
delayed_job (4.1.1)
activesupport (>= 3.0, < 5.0)
delayed_job_active_record (4.1.0)
activerecord (>= 3.0, < 5)
delayed_job (>= 3.0, < 5)
devise (3.2.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
doorkeeper (1.3.1)
railties (>= 3.1)
dotenv (2.0.2)
em-http-request (1.1.3)
addressable (>= 2.3.4)
cookiejar (<= 0.3.0)
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-socksify (0.3.1)
eventmachine (>= 1.0.0.beta.4)
engineyard (3.2.1)
engineyard-cloud-client (~> 2.1)
engineyard-serverside-adapter (~> 2.2)
escape (~> 0.0.4)
highline (~> 1.6.1)
launchy (~> 2.1)
net-ssh (~> 2.7)
engineyard-cloud-client (2.1.0)
multi_json (~> 1.6)
rest-client (~> 1.6.1)
engineyard-serverside-adapter (2.4.0)
escape (~> 0.0.4)
multi_json (~> 1.6)
erubis (2.7.0)
escape (0.0.4)
eventmachine (1.0.9.1-java)
exception_notification_rails3 (1.2.0)
execjs (2.6.0)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.6.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.10.0)
faraday (>= 0.7.4, < 0.10)
fastercsv (1.5.5)
faye (1.0.3)
cookiejar (>= 0.3.0)
em-http-request (>= 0.3.0)
eventmachine (>= 0.12.0)
faye-websocket (>= 0.7.0)
multi_json (>= 1.0.0)
rack (>= 1.0.0)
websocket-driver (>= 0.3.0)
faye-websocket (0.10.3)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
ffi (1.9.10-java)
ffi-compiler (0.1.3)
ffi (>= 1.0.0)
rake
font-awesome-rails (4.5.0.1)
railties (>= 3.2, < 5.1)
geoip (1.6.1)
gibberish (2.0.0)
git-version-bump (0.15.1)
globalize (3.1.0)
activemodel (>= 3.1.0, < 4.0.0)
activerecord (>= 3.1.0, < 4.0.0)
google-api-client (0.9)
activesupport (>= 3.2)
addressable (~> 2.3)
googleauth (~> 0.5)
httpclient (~> 2.7)
hurley (~> 0.1)
memoist (~> 0.11)
mime-types (>= 1.6)
multi_json (~> 1.11)
representable (~> 2.3.0)
retriable (~> 2.0)
thor (~> 0.19)
google-qr (0.2.2)
google_url_shortener (1.0.0)
json (>= 1.4.6)
rest-client (>= 1.6.7)
trollop (= 1.16.2)
googleauth (0.5.1)
faraday (~> 0.9)
jwt (~> 1.4)
logging (~> 2.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (~> 0.9)
signet (~> 0.7)
hashie (3.2.0)
highline (1.6.21)
hike (1.2.3)
hitimes (1.2.3-java)
http_parser.rb (0.6.0-java)
httparty (0.11.0)
multi_json (~> 1.0)
multi_xml (>= 0.5.2)
httpclient (2.7.1)
hurley (0.2)
i18n (0.6.1)
i18n_data (0.7.0)
jdbc-mysql (5.1.38)
journey (1.0.4)
jquery-rails (3.1.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jruby-jars (1.7.12)
jruby-lint (0.4.1)
jruby-openssl
nokogiri (>= 1.5.0.beta.4)
term-ansicolor
jruby-openssl (0.9.15-java)
jruby-rack (1.1.20)
jruby-rack-worker (0.10.1)
jruby-rack (~> 1.1.10)
json (1.8.3-java)
jwt (1.5.1)
km (1.1.3)
kramdown (1.10.0)
launchy (2.4.3-java)
addressable (~> 2.3)
spoon (~> 0.0.1)
linecache (1.3.1-java)
little-plugger (1.1.4)
log4jruby (1.0.0-java)
logging (2.0.0)
little-plugger (~> 1.1)
multi_json (~> 1.10)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
memoist (0.14.0)
meta_request (0.4.0)
callsite (~> 0.0, >= 0.0.11)
rack-contrib (~> 1.1)
railties (>= 3.0.0, < 5.1.0)
method_source (0.8.2)
mime-types (1.25.1)
mini_exiftool (2.5.1)
mini_exiftool_vendored (9.2.7.v1)
mini_exiftool (>= 1.6.0)
minitest (4.7.5)
multi_json (1.11.2)
multi_xml (0.5.5)
multipart-post (2.0.0)
mush (0.3.0)
httparty (>= 0.6.1)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (2.9.4)
net-ssh-gateway (1.2.0)
net-ssh (>= 2.6.5)
newrelic_rpm (3.15.0.314)
nokogiri (1.6.7.2-java)
oauth (0.5.1)
oauth2 (1.1.0)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0, < 1.5.2)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.3.1)
hashie (>= 1.2, < 4)
rack (>= 1.0, < 3)
omniauth-google-oauth2 (0.3.1)
jwt (~> 1.0)
multi_json (~> 1.3)
omniauth (>= 1.1.1)
omniauth-oauth2 (>= 1.3.1)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
orm_adapter (0.5.0)
os (0.9.6)
paperclip (3.5.4)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.3)
mime-types
pdfkit (0.8.2)
polyglot (0.3.5)
power_assert (0.2.7)
pry (0.9.12.6-java)
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
spoon (~> 0.0)
pry-rails (0.3.4)
pry (>= 0.9.10)
pry_debug (0.1.0)
pry (~> 0.9.0)
puma (3.0.2-java)
rack (1.4.7)
rack-cache (1.6.1)
rack (>= 0.4)
rack-contrib (1.4.0)
git-version-bump (~> 0.15)
rack (~> 1.4)
rack-ssl (1.3.4)
rack
rack-test (0.6.3)
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-footnotes (4.1.8)
rails (>= 3.2)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.4)
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 (11.0.1)
rdoc (3.12.2)
json (~> 1.4)
redis (3.2.2)
remotipart (1.2.1)
representable (2.3.0)
uber (~> 0.0.7)
request_store (1.3.0)
rest-client (1.6.9)
mime-types (~> 1.16)
retriable (2.1.0)
rollbar (2.8.2)
multi_json
rspec-core (3.0.4)
rspec-support (~> 3.0.0)
rspec-expectations (3.0.4)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.0.0)
rspec-mocks (3.0.4)
rspec-support (~> 3.0.0)
rspec-rails (3.0.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.0.0)
rspec-expectations (~> 3.0.0)
rspec-mocks (~> 3.0.0)
rspec-support (~> 3.0.0)
rspec-support (3.0.4)
ruby-debug (0.10.6)
columnize (>= 0.1)
linecache (~> 1.3.1)
ruby-debug-base (~> 0.10.6.0)
ruby-debug-base (0.10.6-java)
rubyzip (0.9.9)
rvm-capistrano (1.5.6)
capistrano (~> 2.15.4)
sass (3.4.21)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
scrypt (2.1.1)
ffi-compiler (>= 0.0.2)
rake
sidekiq (4.1.0)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
redis (~> 3.2, >= 3.2.1)
signet (0.7.2)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (~> 1.5)
multi_json (~> 1.10)
slop (3.6.0)
smarter_csv (1.0.19)
spoon (0.0.4)
ffi
sprockets (2.2.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sucker_punch (1.6.0)
celluloid (~> 0.17.2)
term-ansicolor (1.3.2)
tins (~> 1.0)
test-unit (3.1.7)
power_assert
therubyrhino (2.0.4)
therubyrhino_jar (>= 1.7.3)
therubyrhino_jar (1.7.6)
thor (0.19.1)
thread_safe (0.3.5-java)
tilt (1.4.1)
timecop (0.8.0)
timers (4.1.1)
hitimes
tins (1.8.2)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
trinidad (1.4.6)
jruby-rack (~> 1.1.13)
trinidad_jars (>= 1.3.0, < 1.5.0)
trinidad_diagnostics_extension (0.1.0)
jruby-lint (>= 0.3.0)
trinidad
trinidad_jars (1.4.2)
trollop (1.16.2)
turn (0.9.7)
ansi
minitest (~> 4)
tzinfo (0.3.46)
uber (0.0.15)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
uniform_notifier (1.9.0)
url_safe_base64 (0.2.2)
useragent (0.16.5)
uuidtools (2.1.5)
validates_email_format_of (1.6.3)
i18n
vero (0.9.1)
json
rest-client
sucker_punch (~> 1.6.0)
warbler (1.4.9)
jruby-jars (>= 1.5.6, < 2.0)
jruby-rack (>= 1.1.1, < 1.3)
rake (>= 0.9.6)
rubyzip (>= 0.9, < 1.2)
warden (1.2.6)
rack (>= 1.0)
websocket-driver (0.6.3-java)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)
whenever (0.9.4)
chronic (>= 0.6.3)
whois (3.6.5)
activesupport (>= 3)
will_paginate (3.1.0)
will_paginate-foundation (5.3.4)
will_paginate (>= 3.0.3)
xml-simple (1.1.5)
xpath (2.0.0)
nokogiri (~> 1.3)
yard (0.8.7.6)
PLATFORMS
java
DEPENDENCIES
ParseUserAgent
active_record_query_trace
activerecord-jdbc-adapter (~> 1.2.9)
activerecord-jdbcmysql-adapter (~> 1.2.9)
authlogic
awesome_print
better_errors
binding_of_caller
browser!
bullet
capistrano
capybara (~> 2.2.0)
class_logger
coffee-rails (~> 3.2.1)
colorize
countries
daemons
database_cleaner
databasedotcom
databasedotcom-oauth2
databasedotcom-rails
debugger
delayed_job_active_record
devise (= 3.2.4)
doorkeeper (= 1.3.1)
dotenv (~> 2.0.2)
engineyard
exception_notification_rails3
execjs
factory_girl_rails
fastercsv
faye (~> 1.0.1)
font-awesome-rails
geoip
globalize (~> 3.1.0)
google-api-client (= 0.9)
google-qr
google_url_shortener
httparty (~> 0.11.0)
jquery-rails
jruby-jars (>= 1.7.12)
jruby-lint
jruby-rack (>= 1.1.14)
jruby-rack-worker
json
km
kramdown
log4jruby
mail
max_mind!
meta_request
mini_exiftool_vendored
mush
mysql2
net-ssh
newrelic_rpm
nokogiri
oauth
oauth2
omniauth-google-oauth2
paperclip (~> 3.0)
pdfkit
phone!
pry
pry-rails
pry_debug
puma
quartz-jruby!
rack-test
rails (= 3.2.13)
rails-footnotes (>= 3.7.9)
rails_12factor
redcarpet
remotipart
rest-client (~> 1.6.7)
restforce!
rollbar (~> 2.8.0)
rspec-rails (~> 3.0.0)
ruby-debug
rubyzip (~> 0.9.9)
rvm-capistrano
sass-rails (~> 3.2.3)
sidekiq
smarter_csv (~> 1.0.19)
stripe!
test-unit
therubyracer
therubyrhino
thin
timecop
trinidad
trinidad_diagnostics_extension
turn
uglifier (>= 1.0.3)
unicode
url_safe_base64
useragent
uuidtools
validates_email_format_of
vero
warbler
whenever
whois
will_paginate (~> 3.0)
will_paginate-foundation
xml-simple
yard (~> 0.8.7.4)
BUNDLED WITH
1.11.2
I'm answering my own question because I found a fix.
Fix:
ruby 2.0 code doesn't do gzip decode until "#decode_content" set to true.
If ruby 1.9 and failed to work on upgrade to ruby 2.0, just include that code to your project.
module HTTPResponseDecodeContentOverride
def initialize(h,c,m)
super(h,c,m)
#decode_content = true
end
def body
res = super
if self['content-length']
self['content-length']= res.bytesize
end
res
end
end
module Net
class HTTPResponse
prepend HTTPResponseDecodeContentOverride
end
end
Found https://stackoverflow.com/a/20470115/834161
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 .
I've installed nodejs and my app's Gemfile doesn't have any reference to therubyracer nor libv8.
This error keeps popping up:
The Ruby Racer requires libv8 ~> 3.11.8...
Any help is much appreciated!
My Gemfile.lock:
GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.0.2)
actionmailer (3.2.12)
actionpack (= 3.2.12)
mail (~> 2.4.4)
actionpack (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.5)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
activemodel (3.2.12)
activesupport (= 3.2.12)
builder (~> 3.0.0)
activerecord (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
activesupport (3.2.12)
i18n (~> 0.6)
multi_json (~> 1.0)
afm (0.2.0)
arel (3.0.2)
bcrypt-ruby (3.0.1)
better_errors (0.6.0)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
binding_of_caller (0.7.1)
debug_inspector (>= 0.0.1)
builder (3.0.4)
cancan (1.6.9)
capistrano (2.14.2)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capybara (2.0.2)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 1.0.0)
carrierwave (0.8.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
celluloid (0.12.4)
facter (>= 1.6.12)
timers (>= 1.0.0)
childprocess (0.3.8)
ffi (~> 1.0, >= 1.0.11)
chosen-rails (0.9.11.2)
coffee-rails (>= 3.2)
railties (>= 3.0)
sass-rails (>= 3.2)
coderay (1.0.8)
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.4.0)
columnize (0.3.6)
connection_pool (1.0.0)
daemons (1.1.9)
database_cleaner (0.9.1)
debug_inspector (0.0.2)
debugger (1.3.1)
columnize (>= 0.3.1)
debugger-linecache (~> 1.1.1)
debugger-ruby_core_source (~> 1.1.8)
debugger-linecache (1.1.2)
debugger-ruby_core_source (>= 1.1.1)
debugger-ruby_core_source (1.1.8)
diff-lcs (1.1.3)
erubis (2.7.0)
eventmachine (1.0.0)
execjs (1.4.0)
multi_json (~> 1.0)
facter (1.6.17)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
faraday (0.8.5)
multipart-post (~> 1.1)
ffi (1.4.0)
hashery (2.1.0)
hashie (1.2.0)
highline (1.6.15)
hike (1.2.1)
httpauth (0.2.0)
i18n (0.6.1)
journey (1.0.4)
jquery-datatables-rails (1.11.2)
jquery-rails
jquery-rails (2.2.1)
railties (>= 3.0, = 0.14, = 3.1.0)
json (1.7.7)
jwt (0.1.5)
multi_json (>= 1.0)
kgio (2.8.0)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.21)
mini_magick (3.5.0)
subexec (~> 0.2.1)
multi_json (1.6.1)
multipart-post (1.1.5)
net-scp (1.1.0)
net-ssh (>= 2.6.5)
net-sftp (2.1.1)
net-ssh (>= 2.6.5)
net-ssh (2.6.5)
net-ssh-gateway (1.2.0)
net-ssh (>= 2.6.5)
nokogiri (1.5.6)
oauth2 (0.8.0)
faraday (~> 0.8)
httpauth (~> 0.1)
jwt (~> 0.1.4)
multi_json (~> 1.0)
rack (~> 1.2)
omniauth (1.1.3)
hashie (~> 1.2)
rack
omniauth-google-oauth2 (0.1.13)
omniauth (~> 1.0)
omniauth-oauth2
omniauth-oauth2 (1.1.1)
oauth2 (~> 0.8.0)
omniauth (~> 1.0)
paper_trail (2.7.1)
activerecord (~> 3.0)
railties (~> 3.0)
pdf-reader (1.3.1)
Ascii85 (~> 1.0.0)
afm (~> 0.2.0)
hashery (~> 2.0)
ruby-rc4
ttfunk
pg (0.14.1)
polyglot (0.3.3)
prawn (0.12.0)
pdf-reader (>= 0.9.0)
ttfunk (~> 1.0.2)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.12)
actionmailer (= 3.2.12)
actionpack (= 3.2.12)
activerecord (= 3.2.12)
activeresource (= 3.2.12)
activesupport (= 3.2.12)
bundler (~> 1.0)
railties (= 3.2.12)
railties (3.2.12)
actionpack (= 3.2.12)
activesupport (= 3.2.12)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, 1.4)
redis (3.0.2)
redis-namespace (1.2.1)
redis (~> 3.0.0)
rspec-core (2.12.2)
rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.2)
rspec-rails (2.12.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
ruby-rc4 (0.1.5)
rubyzip (0.9.9)
sass (3.2.5)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
selenium-webdriver (2.29.0)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip
websocket (~> 1.0.4)
sidekiq (2.7.2)
celluloid (~> 0.12.0)
connection_pool (~> 1.0)
multi_json (~> 1)
redis (~> 3)
redis-namespace
simple_form (2.0.4)
actionpack (~> 3.0)
activemodel (~> 3.0)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
subexec (0.2.2)
thin (1.5.0)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.17.0)
tilt (1.3.3)
timers (1.1.0)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
ttfunk (1.0.3)
tzinfo (0.3.35)
uglifier (1.3.0)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
unicorn (4.6.0)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
websocket (1.0.7)
xpath (1.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
bcrypt-ruby
better_errors
binding_of_caller
cancan
capistrano
capybara
carrierwave
chosen-rails
coffee-rails
database_cleaner
debugger
factory_girl_rails
jquery-datatables-rails
jquery-rails
jquery-ui-rails
mini_magick
omniauth-google-oauth2
paper_trail
pg
prawn
rails
rspec-rails
sass-rails
sidekiq
simple_form
thin
uglifier
unicorn
Try this:
$ gem uninstall libv8
$ gem install therubyracer
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.