Different font displayed wicked_pdf - ruby-on-rails

I use wicked_pdf gem in my project.
Everything was fine until I updated the version of the cut version of all gems.
Now the font in my pdf is displayed differently. With what it can be connected?
Also in my text appeared bold headers that were previously common.
The wicked_pdf gem was not updated.
Can the font change due to wkhtmltopdf?
Gem change log:
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
autoprefixer-rails (9.5.1)
autoprefixer-rails (9.6.1.1)
bcrypt (3.1.12)
bcrypt (3.1.13)
bootsnap (1.4.4)
bootsnap (1.4.5)
capybara (3.18.0)
capybara (3.28.0)
regexp_parser (~> 1.2)
regexp_parser (~> 1.5)
domain_name (0.5.20180417)
domain_name (0.5.20190701)
ffi (1.10.0)
ffi (1.11.1)
jquery-rails (4.3.3)
jquery-rails (4.3.5)
jwt (2.1.0)
jwt (2.2.1)
mini_mime (1.0.1)
mini_mime (1.0.2)
minitest-reporters (1.3.6)
minitest-reporters (1.3.8)
mocha (1.8.0)
mocha (1.9.0)
msgpack (1.2.10)
msgpack (1.3.1)
multipart-post (2.0.0)
multipart-post (2.1.1)
nio4r (2.3.1)
nokogiri (1.10.3)
nio4r (2.5.1)
nokogiri (1.10.4)
notiffany (0.1.1)
notiffany (0.1.3)
pg_search (2.1.7)
pg_search (2.3.0)
public_suffix (3.0.3)
puma (3.12.1)
public_suffix (4.0.1)
puma (4.1.0)
rack-protection (2.0.5)
rack-protection (2.0.7)
rails-html-sanitizer (1.0.4)
rails-html-sanitizer (1.2.0)
rake (12.3.2)
rake (12.3.3)
redis (4.1.0)
regexp_parser (1.4.0)
redis (4.1.2)
regexp_parser (1.6.0)
ruby-progressbar (1.10.0)
ruby-progressbar (1.10.1)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass-rails (5.0.8)
railties (>= 5.2.0)
twilio-ruby (5.22.3)
twilio-ruby (5.25.4)
vcr (4.0.0)
webmock (3.5.1)
vcr (5.0.0)
webmock (3.7.0)
websocket-extensions (0.1.3)
websocket-extensions (0.1.4)
wicked_pdf (1.1.0)

This appears to be a known issue with wkhtmltopdf-binary.
You might try locking to an earlier version. In Gemfile
gem 'wkhtmltopdf-binary', '=0.12.3.1'

Related

Debugging Rails 5 with RubyMine: Breakpoints Don't Work

I have just installed the latest RubyMine (2018.1.1) and I created a Rails 5.2 application using the wizard in RubyMine. I then generated a single scaffold so that I would have something to test with.
If I set a breakpoint inside a unit test, the breakpoint works. However, if I run the web server (I tried both - the default Puma and WEBrick), no breakpoints work. I can see the print statements from my controller, but the breakpoint is never triggered.
What am I doing wrong?
Here's the list of my gems:
actioncable (5.2.0)
actionmailer (5.2.0)
actionpack (5.2.0)
actionview (5.2.0)
activejob (5.2.0)
activemodel (5.2.0)
activerecord (5.2.0)
activestorage (5.2.0)
activesupport (5.2.0)
addressable (2.5.2)
archive-zip (0.11.0)
arel (9.0.0)
bigdecimal (default: 1.3.4)
bindex (0.5.0)
bootsnap (1.3.0)
builder (3.2.3)
bundler (1.16.1)
byebug (10.0.2)
capybara (3.0.3)
childprocess (0.9.0)
chromedriver-helper (1.2.0)
cmath (default: 1.0.0)
coffee-rails (4.2.2)
coffee-script (2.4.1)
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
crass (1.0.4)
csv (default: 1.0.0)
date (default: 1.0.0)
debase (0.2.2)
debase-ruby_core_source (0.10.3)
erubi (1.7.1)
etc (default: 1.0.0)
execjs (2.7.0)
fcntl (default: 1.0.0)
ffi (1.9.23)
fiddle (default: 1.0.0)
fileutils (default: 1.0.2)
globalid (0.4.1)
i18n (1.0.1)
io-console (default: 0.4.6)
io-like (0.3.0)
ipaddr (default: 1.2.0)
jbuilder (2.7.0)
json (default: 2.1.0)
listen (3.1.5)
loofah (2.2.2)
mail (2.7.0)
marcel (0.3.2)
method_source (0.9.0)
mimemagic (0.3.2)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3)
msgpack (1.2.4)
multi_json (1.13.1)
nio4r (2.3.0)
nokogiri (1.8.2)
openssl (default: 2.1.0)
psych (default: 3.0.2)
public_suffix (3.0.2)
puma (3.11.4)
rack (2.0.5)
rack-test (1.0.0)
rails (5.2.0)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.0.4)
railties (5.2.0)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
rdoc (default: 6.0.1)
ruby-debug-ide (0.7.0.beta4)
ruby_dep (1.5.0)
rubyzip (1.2.1)
sass (3.5.6)
sass-listen (4.0.0)
sass-rails (5.0.7)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
selenium-webdriver (3.11.0)
spring (2.0.2)
spring-watcher-listen (2.0.1)
sprockets (3.7.1)
sprockets-rails (3.2.1)
sqlite3 (1.3.13)
stringio (default: 0.0.1)
strscan (default: 1.0.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
turbolinks (5.1.1)
turbolinks-source (5.1.0)
tzinfo (1.2.5)
uglifier (4.1.10)
web-console (3.6.2)
webrick (default: 1.4.2)
websocket-driver (0.7.0)
websocket-extensions (0.1.3)
xpath (3.0.0)
zlib (default: 1.0.0)
I am using ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
This problem is documented here: https://youtrack.jetbrains.com/issue/RUBY-20684
There's also a workaround specified: comment bootsnap requiring in the Gemfile and in the boot.rb
Commenting out bootsnap worked for me - breakpoints now work.

Uninitialized constant Stripe error when pushing to Heroku, but works locally?

I have read a bunch of other threads similar to this, and have tried many of the suggestions to no avail. My app is running fine locally, but when I pushed to heroku after adding Stripe, it broke. Upon running heroku run rails console heroku I see I have an uninitialized constant Stripe (NameError) which is odd, since I have stripe in my gemfile (which seems to be one of the suggested fixes), have run bundle install numerous times, and it is working locally, even more odd is when I list my gems, I do not see it(Stripe). How can that be when I go to my Stripe dashboard, I can see my test transactions? Yet when I push to heroku, it is uninitialized....where do I start?
here is my gem list:
$ gem list
*** LOCAL GEMS ***
actionmailer (4.2.3, 4.2.1, 4.2.0, 4.1.8)
actionpack (4.2.3, 4.2.1, 4.2.0, 4.1.8)
actionview (4.2.3, 4.2.1, 4.2.0, 4.1.8)
activejob (4.2.3, 4.2.1, 4.2.0)
activemodel (4.2.3, 4.2.1, 4.2.0, 4.1.8)
activerecord (4.2.3, 4.2.1, 4.2.0, 4.1.8)
activesupport (4.2.3, 4.2.1, 4.2.0, 4.1.8)
addressable (2.3.8)
arel (6.0.3, 6.0.2, 6.0.0, 5.0.1.20140414130214)
awesome_print (1.6.1)
backbars (0.0.11)
backports (3.6.4)
bcrypt (3.1.10)
bcrypt-ruby (3.1.5)
best_in_place (3.0.3)
better_errors (2.1.1)
bigdecimal (1.2.4)
binding_of_caller (0.7.2)
buftok (0.2.0)
builder (3.2.2)
bundler (1.10.6, 1.10.3)
byebug (6.0.0, 5.0.0, 3.5.1)
callsite (0.0.11)
coderay (1.1.0)
coffee-rails (4.1.0, 4.0.1)
coffee-script (2.4.1, 2.3.0)
coffee-script-source (1.9.1.1, 1.8.0)
columnize (0.9.0)
commonjs (0.2.7)
daemons (1.1.9)
debug_inspector (0.0.2)
debugger-linecache (1.2.0)
descendants_tracker (0.0.4)
domain_name (0.5.24)
dotenv (2.0.2)
dotenv-rails (2.0.2)
equalizer (0.0.11)
erubis (2.7.0)
eventmachine (1.0.4)
execjs (2.6.0, 2.5.2, 2.2.2)
faraday (0.9.1)
ffaker (2.1.0, 2.0.0)
font-awesome-less (4.0.2)
foundation-rails (5.5.0.0)
git-version-bump (0.15.1)
github_api (0.12.3)
globalid (0.3.6, 0.3.5, 0.3.0)
handlebars (0.7.0)
handlebars-source (3.0.3)
handlebars_assets (0.20.2)
hashie (3.4.2)
hike (1.2.3)
http (0.6.4)
http-cookie (1.0.2)
http_parser.rb (0.6.0)
httparty (0.13.5)
i18n (0.7.0)
io-console (0.4.2)
jbuilder (2.3.1, 2.2.16, 2.2.6)
jquery-rails (4.0.4, 4.0.3, 3.1.3)
json (1.8.3, 1.8.2, 1.8.1)
jwt (1.5.0)
less (2.6.0)
less-rails (2.7.0)
libv8 (3.16.14.11 x86_64-darwin-14, 3.16.14.7 x86_64-darwin-14)
loofah (2.0.3, 2.0.2, 2.0.1)
mail (2.6.3)
memoizable (0.4.2)
meta_request (0.3.4)
method_source (0.8.2)
mime-types (2.6.1, 2.4.3)
mini_portile (0.6.2)
minitest (5.8.0, 5.7.0, 5.5.1, 4.7.5)
multi_json (1.11.2, 1.11.1, 1.11.0, 1.10.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
naught (1.0.0)
netrc (0.10.3)
nokogiri (1.6.6.2, 1.6.5)
oauth2 (1.0.0)
pg (0.18.2, 0.18.1)
pry (0.10.1)
pry-rails (0.3.4)
psych (2.0.5)
quiet_assets (1.1.0)
rack (1.6.4, 1.6.1, 1.6.0, 1.5.5)
rack-contrib (1.4.0)
rack-protection (1.5.3)
rack-test (0.6.3)
rails (4.2.3, 4.2.1, 4.2.0, 4.1.8)
rails-assets-backbone (1.2.1)
rails-assets-underscore (1.8.3)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.7, 1.0.6, 1.0.5)
rails-html-sanitizer (1.0.2, 1.0.1)
rails_12factor (0.0.3)
rails_layout (1.0.24)
rails_serve_static_assets (0.0.3)
rails_stdout_logging (0.0.3)
railties (4.2.3, 4.2.1, 4.2.0, 4.1.8)
rainbow (2.0.0)
rake (10.4.2, 10.1.0)
rdoc (4.2.0, 4.1.0)
ref (2.0.0, 1.0.5)
rest-client (1.8.0, 1.6.7)
sass (3.4.16, 3.4.14, 3.3.14, 3.2.19)
sass-rails (5.0.3, 5.0.1, 4.0.5)
sdoc (0.4.1)
select2-rails (3.5.9.3)
simple_form (3.1.0)
simple_oauth (0.3.1)
sinatra (1.4.6)
sinatra-contrib (1.4.2)
slop (3.6.0)
spring (1.3.6, 1.2.0)
sprockets (3.3.1, 3.2.0, 2.12.4, 2.12.3)
sprockets-rails (3.0.0.beta1, 2.3.2, 2.3.1, 2.2.2)
sqlite3 (1.3.10)
test-unit (2.1.2.0)
therubyracer (0.12.2)
thin (1.6.3)
thor (0.19.1)
thread_safe (0.3.5, 0.3.4)
tilt (2.0.1, 1.4.1)
turbolinks (2.5.3)
twitter (5.14.0)
tzinfo (1.2.2)
uglifier (2.7.1, 2.7.0)
unf (0.1.4)
unf_ext (0.0.7.1)
unirest (1.1.2)
web-console (2.2.1, 2.1.2, 2.0.0)
Solution:I had the gem in the development part of my gemfile

Could not apply template when creating new Rails project

I run rails _4.1.6_ new lala -m app_template.rb -T
And got The template [/test_website/app_template.rb] could not be loaded. Error: cannot load such file -- crack/xml
The detail output
create vendor/assets/javascripts
create vendor/assets/javascripts/.keep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.keep
apply /test_website/app_template.rb
The template [/test_website/app_template.rb] could not be loaded. Error: cannot load such file -- crack/xml
Here my gem list
actionmailer (4.1.6, 4.1.5, 4.1.1, 3.2.13)
actionpack (4.1.6, 4.1.5, 4.1.1, 3.2.13)
actionview (4.1.6, 4.1.5, 4.1.1)
active_utils (2.2.3)
activemerchant (1.44.1)
activemodel (4.1.6, 4.1.5, 4.1.1, 3.2.13)
activerecord (4.1.6, 4.1.5, 4.1.1, 3.2.13)
activerecord-postgresql-adapter (0.0.1)
activeresource (3.2.13)
activesupport (4.1.6, 4.1.5, 4.1.1, 3.2.13)
acts-as-taggable-on (3.4.1)
analytics-ruby (2.0.10, 2.0.8, 2.0.7, 2.0.5)
ancestry (2.1.0)
ap (0.1.1)
arbre (1.0.2)
arel (5.0.1.20140414130214, 3.0.3, 3.0.2)
awesome_print (1.2.0, 1.1.0)
bcrypt (3.1.7)
bcrypt-ruby (3.1.5, 3.1.1)
better_errors (2.0.0)
bigdecimal (1.2.4)
binding_of_caller (0.7.2)
bootstrap-datepicker-rails (1.3.0.2, 1.1.1.7)
bootstrap-datetimepicker-rails (0.0.11)
bootstrap-sass (3.1.1.1, 2.3.2.2, 2.3.2.1)
bourbon (3.2.3)
builder (3.2.2, 3.0.4)
bundle (0.0.1)
bundler (1.7.5, 1.7.3)
byebug (3.5.1, 2.7.0)
cancan (1.6.10)
cancancan (1.9.2)
carrierwave (0.10.0, 0.9.0)
celluloid (0.16.0, 0.15.2)
certified (1.0.0)
chartkick (1.3.2)
childprocess (0.5.5)
choice (0.1.6)
chronic (0.10.2)
chunky_png (1.3.1)
ckeditor (4.1.0)
climate_control (0.0.3)
cocaine (0.5.4)
coderay (1.1.0, 1.0.9)
coffee-rails (4.0.1, 3.2.2)
coffee-script (2.3.0, 2.2.0)
coffee-script-source (1.8.0, 1.7.1, 1.7.0, 1.6.3)
columnize (0.8.9)
compass (1.0.1, 0.12.7)
compass-core (1.0.1)
compass-import-once (1.0.5)
compass-rails (2.0.0)
countries (0.9.3)
curb (0.8.6)
currencies (0.4.2)
daemons (1.1.9)
debug_inspector (0.0.2)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.3.5)
devise (3.3.0, 3.2.4, 3.0.3)
devise_ldap_authenticatable (0.8.1, 0.6.1)
diff-lcs (1.2.5, 1.2.4)
em-websocket (0.5.1)
erubis (2.7.0)
eventmachine (1.0.3)
exception_notification (4.0.1)
execjs (2.2.2, 2.2.1, 2.1.0, 2.0.0)
faker (1.4.3, 1.3.0, 1.2.0)
faker-isbn (0.0.4)
faraday (0.9.0)
fastercsv (1.5.5)
fattr (2.2.1)
ffi (1.9.5, 1.9.3)
finance (2.0.0)
flt (1.3.1)
font-awesome-rails (4.2.0.0, 4.1.0.0)
formatador (0.2.5)
fssm (0.2.10)
god (0.13.4)
google_drive (0.3.9)
guard (2.6.1)
guard-livereload (2.3.1, 2.3.0)
guard-rspec (4.3.1)
haml (4.0.5, 4.0.3)
haml-rails (0.5.3)
has_scope (0.6.0.rc)
hashie (3.3.1, 3.2.0)
highline (1.6.21, 1.6.20)
hike (1.2.3)
hirb (0.7.2, 0.7.1)
hirb-unicode (0.0.5)
hitimes (1.2.2)
hooks (0.4.0)
http_parser.rb (0.6.0)
httparty (0.13.1)
httpclient (2.5.1)
i18n (0.6.11, 0.6.1)
inherited_resources (1.4.1)
interception (0.5)
io-console (0.4.2)
ipaddress (0.8.0)
jbuilder (2.2.4, 2.2.3, 2.1.3, 1.5.3)
journey (1.0.4)
jquery-rails (3.1.2, 3.1.1, 3.1.0, 3.0.4)
jquery-ui-rails (5.0.0, 4.2.1)
jquery.fileupload-rails (1.10.1)
json (1.8.1, 1.8.0)
jwt (1.0.0)
kaminari (0.16.1)
kgio (2.9.2)
kramdown (1.4.1)
libv8 (3.16.14.7 ruby x86_64-darwin-14, 3.16.14.5, 3.16.14.3)
listen (2.7.11, 2.7.9)
lumberjack (1.0.9)
mail (2.6.1, 2.5.4)
metaclass (0.0.4)
method_source (0.8.2, 0.8.1)
middleman (3.3.5)
middleman-core (3.3.5)
middleman-livereload (3.1.1)
middleman-sprockets (3.3.8)
mime-types (2.4.3, 2.4.2, 2.3, 1.25.1, 1.24)
mini_portile (0.6.0, 0.5.3, 0.5.1)
minitest (5.4.2, 5.4.1, 5.4.0, 4.7.5)
mocha (1.1.0)
money (6.3.0)
mono_logger (1.1.0)
multi_json (1.10.1, 1.7.9)
multi_xml (0.5.5)
multipart-post (2.0.0)
nested_form (0.3.2)
net-ldap (0.5.1, 0.2.2)
netrc (0.7.7)
nokogiri (1.6.3.1, 1.6.0)
oauth (0.4.7)
oauth2 (1.0.0, 0.9.4)
offsite_payments (2.0.1)
omniauth (1.2.2)
omniauth-facebook (2.0.0, 1.6.0)
omniauth-oauth2 (1.2.0)
options (2.3.2, 2.3.0)
orm_adapter (0.5.0, 0.4.0)
padrino-helpers (0.12.3)
padrino-support (0.12.3)
paperclip (4.2.0)
pdf-core (0.4.0)
pg (0.17.1, 0.17.0, 0.12.0)
piggybak (0.7.5)
piggybak_bundle_discounts (0.1.1)
piggybak_coupons (0.1.2)
piggybak_giftcerts (0.1.0)
piggybak_rails_admin_nestable (0.0.6)
piggybak_taxonomy (0.2.1)
piggybak_variants (0.1.3)
polyamorous (1.1.0)
polyglot (0.3.5, 0.3.3)
pr_geohash (1.0.0)
prawn (1.3.0)
progress_bar (1.0.3, 1.0.0)
pry (0.10.1, 0.10.0, 0.9.12.2)
pry-byebug (2.0.0, 1.3.3)
pry-doc (0.6.0)
pry-nav (0.2.4)
pry-rails (0.3.2)
pry-remote (0.1.8, 0.1.7)
pry-rescue (1.4.1)
pry-stack_explorer (0.4.9.1)
psych (2.0.5)
puma (2.9.1)
quiet_assets (1.0.3, 1.0.2)
rack (1.5.2, 1.4.5)
rack-cache (1.2)
rack-livereload (0.3.15)
rack-mini-profiler (0.9.2)
rack-pjax (0.8.0, 0.7.0)
rack-ssl (1.3.4, 1.3.3)
rack-ssl-enforcer (0.2.8)
rack-test (0.6.2)
rails (4.1.6, 4.1.5, 4.1.1, 3.2.13)
rails-erd (1.1.0)
rails-timeago (2.11.1)
rails_admin (0.6.3, 0.6.2)
railties (4.1.6, 4.1.5, 4.1.1, 3.2.13)
raindrops (0.13.0)
rake (10.3.2, 10.1.1, 10.1.0)
rake-compiler (0.9.3)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
rb-readline (0.5.1)
rdoc (4.1.2, 4.1.1, 4.1.0, 3.12.2)
redis (3.0.4)
redis-namespace (1.5.1)
ref (1.0.5)
remotipart (1.2.1)
responders (1.0.0)
resque (1.25.2)
resque-scheduler (2.5.5)
resque-status (0.4.3)
resque_mailer (2.2.6)
rest-client (1.6.8, 1.6.7)
rest_client (1.7.3)
roo (1.13.2)
route_translator (3.2.4)
rsolr (1.0.10, 1.0.9)
rspec (3.1.0, 3.0.0, 2.14.1)
rspec-core (3.1.5, 3.1.2, 3.0.3, 2.14.8, 2.14.5)
rspec-expectations (3.1.2, 3.1.0, 3.0.3, 2.14.5, 2.14.2)
rspec-mocks (3.1.2, 3.1.0, 3.0.3, 2.14.6, 2.14.3)
rspec-rails (3.1.0, 3.0.2)
rspec-support (3.1.1, 3.1.0, 3.0.3)
ruby-graphviz (1.0.9)
ruby-ole (1.2.11.7)
rubyzip (1.1.6, 1.1.0)
rufus-scheduler (2.0.24)
safe_yaml (1.0.3)
sass (3.4.1, 3.3.8, 3.2.19, 3.2.10)
sass-rails (4.0.3, 4.0.2, 3.2.6)
sdoc (0.4.1, 0.4.0)
selenium-webdriver (2.43.0)
sequel (3.20.0)
simple-navigation (3.13.0, 3.11.0)
simple-navigation-bootstrap (1.0.0)
simple_form (3.0.2, 2.1.1, 2.0.1)
sinatra (1.0)
slop (3.6.0, 3.4.5)
spreadsheet (1.0.0, 0.9.7)
spring (1.1.3)
sprockets (2.12.1, 2.11.0, 2.2.2)
sprockets-helpers (1.1.0)
sprockets-rails (2.2.0, 2.1.4, 2.1.3, 2.0.1)
sprockets-sass (1.2.0)
sqlite3 (1.3.9, 1.3.8)
squeel (1.2.1)
sunspot (2.1.1, 2.0.0)
sunspot_rails (2.1.1, 2.0.0)
sunspot_solr (2.1.1, 2.0.0)
taps (0.3.24)
test-unit (2.1.2.0)
therubyracer (0.12.1)
thin (1.5.1)
thor (0.19.1, 0.18.1)
thread_safe (0.3.4)
tilt (1.4.1)
timers (4.0.1, 4.0.0, 1.1.0)
tinymce-rails (4.1.5, 4.1.4, 4.1.3, 4.0.28, 4.0.2)
treetop (1.4.15)
ttfunk (1.4.0)
turbolinks (2.4.0, 2.3.0, 2.2.2)
tzinfo (1.2.2, 1.2.1, 0.3.39, 0.3.37)
uber (0.0.8)
uglifier (2.5.3, 2.5.0, 2.1.2)
unicode-display_width (0.1.1)
unicorn (4.8.3)
validates_formatting_of (0.8.1)
vegas (0.1.11)
warden (1.2.3)
websocket (1.2.1)
whenever (0.9.3, 0.8.4)
will_paginate (3.0.7, 3.0.5, 3.0.4)
writeexcel (1.0.4)
yard (0.8.7.6)
zip (2.0.2)

wrong ELF class: ELFCLASS32 Ruby on Rails, Heroku

I have been running this app for about 3 months on heroku with out any issues. But when I pushed the last update, I got this error when I ran heroku run rake db:migrate.
/app/vendor/bundle/ruby/1.9.1/gems/pg-0.13.2/lib/pg_ext.so: wrong ELF class: ELFCLASS32 - /app/vendor/bundle/ruby/1.9.1/gems/pg-0.13.2/lib/pg_ext.so
I am not sure what else could help.
I am using rails 3.2.1
I upgraded to Ubuntu 12.04 LTS from 11.10 yesterday, both were 32 bit and I know this error has something to do with 32 to 64 bit compatibility issues. I think that could be part of the issue, but I am not sure why it just started or how to fix it.
Heroku replaces the database.yml file with their's, and I have run bundle install on heroku's end as well. Any help would be appriciated
*** LOCAL GEMS ***
actionmailer (3.2.3, 3.2.1, 3.2.0, 3.1.1)
actionpack (3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.3, 3.1.1)
activeadmin (0.4.3, 0.4.2)
activemodel (3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.3, 3.1.1)
activerecord (3.2.3, 3.2.1, 3.2.0, 3.1.1)
activerecord-jdbc-adapter (1.2.2)
activerecord-jdbcsqlite3-adapter (1.2.2)
activeresource (3.2.3, 3.2.1, 3.2.0, 3.1.1)
activesupport (3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.3, 3.1.1)
acts_as_indexed (0.7.8)
addressable (2.2.7, 2.2.6)
ansi (1.4.2, 1.4.1)
arel (3.0.2, 3.0.0, 2.2.3, 2.2.1)
awesome_nested_set (2.1.3)
babosa (0.3.7)
backbone-on-rails (0.9.1.0)
backup (3.0.23)
bcrypt-ruby (3.0.1)
bootstrap-sass (2.0.1)
bourbon (1.4.0)
builder (3.0.0)
bundler (1.0.21 ruby)
capybara (1.1.2)
childprocess (0.3.1)
chronic (0.6.7)
chunky_png (1.2.5)
client_side_validations (3.1.3)
cocaine (0.2.1)
coffee-rails (3.2.2, 3.2.1, 3.1.1)
coffee-script (2.2.0)
coffee-script-source (1.3.1, 1.2.0, 1.1.3)
commonjs (0.2.5)
compass (0.11.7)
copycopter_client (2.0.0)
daemon_controller (1.0.0, 0.2.6)
daemons (1.1.8)
devise (2.0.4, 2.0.1, 2.0.0, 1.5.2)
devise_invitable (1.0.1)
diff-lcs (1.1.3)
dragonfly (0.9.12)
dynamic_form (1.1.4)
eco (1.0.0)
eco-source (1.1.0.rc.1)
ejs (1.0.0)
erubis (2.7.0)
eventmachine (0.12.10)
execjs (1.3.0, 1.2.13, 1.2.12, 1.2.9)
factory_girl (2.6.0)
factory_girl_rails (1.7.0)
faker (1.0.1)
faraday (0.7.5)
fastercsv (1.5.4)
fastthread (1.0.7)
ffi (1.0.11)
flutie (1.3.3)
foreman (0.40.0)
formtastic (2.1.0, 2.0.2)
friendly_id (4.0.4)
fssm (0.2.8.1)
globalize3 (0.2.0)
gon (2.2.2)
guard (1.0.1)
guard-rspec (0.7.0)
haml (3.1.4)
haml-rails (0.3.4)
haml_rails (0.1.0)
has_scope (0.5.1)
hashie (1.2.0)
heroku (2.16.2)
hike (1.2.1)
hpricot (0.8.6, 0.8.5)
htmldiff (0.0.1)
i18n (0.6.0)
inherited_resources (1.3.1, 1.3.0)
jdbc-sqlite3 (3.7.2)
journey (1.0.3, 1.0.1, 1.0.0)
jquery-rails (2.0.2, 2.0.1, 2.0.0, 1.0.19)
json (1.6.6, 1.6.5, 1.6.4, 1.6.3, 1.6.2)
json_pure (1.6.5)
kaminari (0.13.0)
launchy (2.0.5)
less (2.1.0, 2.0.11)
less-rails (2.2.0, 2.1.8)
letter_opener (0.0.2)
libv8 (3.3.10.4 x86-linux)
mail (2.4.4, 2.4.1, 2.3.3, 2.3.0)
meta_search (1.1.3)
mime-types (1.18, 1.17.2)
minitest (2.11.1)
multi_json (1.3.1, 1.2.0, 1.1.0, 1.0.4)
multipart-post (1.1.4)
mysql (2.8.1)
mysql2 (0.3.11)
newrelic_rpm (3.3.2)
nifty-generators (0.4.6)
nokogiri (1.5.0)
oauth (0.4.5)
oauth2 (0.5.1)
omniauth (1.0.1)
omniauth-facebook (1.1.0)
omniauth-google-oauth2 (0.1.8)
omniauth-identity (1.0.0)
omniauth-linkedin (0.0.6)
omniauth-oauth (1.0.0)
omniauth-oauth2 (1.0.0)
omniauth-twitter (0.0.7)
open4 (1.3.0)
orm_adapter (0.0.7, 0.0.6, 0.0.5)
paper_trail (2.6.3)
paperclip (2.7.0)
passenger (3.0.11)
pg (0.13.2, 0.13.0, 0.12.2, 0.12.0, 0.11.0)
pjax_rails (0.1.10)
Platform (0.4.0)
polyamorous (0.5.0)
polyglot (0.3.3)
POpen4 (0.1.4)
popen4 (0.1.2)
rack (1.4.1, 1.4.0, 1.3.6, 1.3.5)
rack-cache (1.2, 1.1)
rack-mount (0.8.3)
rack-pjax (0.5.5)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.1, 3.2.0, 3.1.1)
railties (3.2.3, 3.2.1, 3.2.0, 3.1.1)
rake (0.9.2.2, 0.9.2)
rake-compiler (0.7.9)
rdoc (3.12, 3.11)
redcarpet (2.1.1)
refinerycms (2.0.3)
refinerycms-authentication (2.0.3)
refinerycms-core (2.0.3)
refinerycms-dashboard (2.0.3)
refinerycms-images (2.0.3)
refinerycms-pages (2.0.3)
refinerycms-resources (2.0.3)
responders (0.9.1, 0.6.5)
rest-client (1.6.7)
rspec (2.8.0)
rspec-core (2.8.0)
rspec-expectations (2.8.0)
rspec-mocks (2.8.0)
rspec-rails (2.8.1)
ruby_parser (2.3.1)
rubyXL (1.2.5)
rubyzip (0.9.6.1, 0.9.5)
sass (3.1.15, 3.1.12, 3.1.11)
sass-rails (3.2.5, 3.2.4, 3.2.3, 3.1.5)
selenium-webdriver (2.13.0)
seo_meta (1.3.0)
sexp_processor (3.2.0)
simple_form (2.0.1, 2.0.0, 1.5.2)
spork (0.9.0)
sprockets (2.1.2, 2.0.3)
sqlite3 (1.3.5, 1.3.4)
squeel (0.9.5)
ssl_requirement (0.1.0)
stringex (1.3.2)
term-ansicolor (1.0.7)
test-loop (13.0.1)
therubyracer (0.10.0, 0.9.10, 0.9.9)
thin (1.3.1)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
truncate_html (0.5.4)
turn (0.9.4, 0.9.1, 0.8.3)
twitter-bootstrap-rails (2.0.4)
tzinfo (0.3.33, 0.3.32, 0.3.31)
uglifier (1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.0)
warden (1.1.1, 1.1.0)
watchr (0.7)
whenever (0.7.3)
will_paginate (3.0.3)
xpath (0.1.4)
yajl-ruby (1.1.0)
Solved: I needed to remove my vender folder from the slug I pushed to heroku. all I need to do was.
git rm vendor -r -f
then add vendor/* to my .gitignore file
I hope this helps

rake aborted! no such file to load -- devise/schema

I have been running this app for month with no issues. but now I keep getting this error when I run:
heroku run rake db:migrate
I have tried the basics fixes, removing/install the gem, destroy the app and redeploy. bundle install on Heroku.
here is my gem file
*** LOCAL GEMS ***
actionmailer (3.2.3, 3.2.1, 3.2.0, 3.1.1)
actionpack (3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.3, 3.1.1)
activeadmin (0.4.3, 0.4.2)
activemodel (3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.3, 3.1.1)
activerecord (3.2.3, 3.2.1, 3.2.0, 3.1.1)
activerecord-jdbc-adapter (1.2.2)
activerecord-jdbcsqlite3-adapter (1.2.2)
activeresource (3.2.3, 3.2.1, 3.2.0, 3.1.1)
activesupport (3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.3, 3.1.1)
acts_as_indexed (0.7.8)
addressable (2.2.7, 2.2.6)
ansi (1.4.2, 1.4.1)
arel (3.0.2, 3.0.0, 2.2.3, 2.2.1)
awesome_nested_set (2.1.3)
babosa (0.3.7)
backbone-on-rails (0.9.1.0)
backup (3.0.23)
bcrypt-ruby (3.0.1)
bootstrap-sass (2.0.1)
bourbon (1.4.0)
builder (3.0.0)
bundler (1.0.21 ruby)
capybara (1.1.2)
childprocess (0.3.1)
chronic (0.6.7)
chunky_png (1.2.5)
client_side_validations (3.1.3)
cocaine (0.2.1)
coffee-rails (3.2.2, 3.2.1, 3.1.1)
coffee-script (2.2.0)
coffee-script-source (1.3.1, 1.2.0, 1.1.3)
commonjs (0.2.5)
compass (0.11.7)
copycopter_client (2.0.0)
daemon_controller (1.0.0, 0.2.6)
daemons (1.1.8)
devise (2.0.4, 2.0.1, 2.0.0, 1.5.2)
devise_invitable (1.0.1)
diff-lcs (1.1.3)
dragonfly (0.9.12)
dynamic_form (1.1.4)
eco (1.0.0)
eco-source (1.1.0.rc.1)
ejs (1.0.0)
erubis (2.7.0)
eventmachine (0.12.10)
execjs (1.3.0, 1.2.13, 1.2.12, 1.2.9)
factory_girl (2.6.0)
factory_girl_rails (1.7.0)
faker (1.0.1)
faraday (0.7.5)
fastercsv (1.5.4)
fastthread (1.0.7)
ffi (1.0.11)
flutie (1.3.3)
foreman (0.40.0)
formtastic (2.1.0, 2.0.2)
friendly_id (4.0.4)
fssm (0.2.8.1)
globalize3 (0.2.0)
gon (2.2.2)
guard (1.0.1)
guard-rspec (0.7.0)
haml (3.1.4)
haml-rails (0.3.4)
haml_rails (0.1.0)
has_scope (0.5.1)
hashie (1.2.0)
heroku (2.16.2)
hike (1.2.1)
hpricot (0.8.6, 0.8.5)
htmldiff (0.0.1)
i18n (0.6.0)
inherited_resources (1.3.1, 1.3.0)
jdbc-sqlite3 (3.7.2)
journey (1.0.3, 1.0.1, 1.0.0)
jquery-rails (2.0.2, 2.0.1, 2.0.0, 1.0.19)
json (1.6.6, 1.6.5, 1.6.4, 1.6.3, 1.6.2)
json_pure (1.6.5)
kaminari (0.13.0)
launchy (2.0.5)
less (2.1.0, 2.0.11)
less-rails (2.2.0, 2.1.8)
letter_opener (0.0.2)
libv8 (3.3.10.4 x86-linux)
mail (2.4.4, 2.4.1, 2.3.3, 2.3.0)
meta_search (1.1.3)
mime-types (1.18, 1.17.2)
minitest (2.11.1)
multi_json (1.3.1, 1.2.0, 1.1.0, 1.0.4)
multipart-post (1.1.4)
mysql (2.8.1)
mysql2 (0.3.11)
newrelic_rpm (3.3.2)
nifty-generators (0.4.6)
nokogiri (1.5.0)
oauth (0.4.5)
oauth2 (0.5.1)
omniauth (1.0.1)
omniauth-facebook (1.1.0)
omniauth-google-oauth2 (0.1.8)
omniauth-identity (1.0.0)
omniauth-linkedin (0.0.6)
omniauth-oauth (1.0.0)
omniauth-oauth2 (1.0.0)
omniauth-twitter (0.0.7)
open4 (1.3.0)
orm_adapter (0.0.7, 0.0.6, 0.0.5)
paper_trail (2.6.3)
paperclip (2.7.0)
passenger (3.0.11)
pg (0.13.2)
pjax_rails (0.1.10)
Platform (0.4.0)
polyamorous (0.5.0)
polyglot (0.3.3)
POpen4 (0.1.4)
popen4 (0.1.2)
rack (1.4.1, 1.4.0, 1.3.6, 1.3.5)
rack-cache (1.2, 1.1)
rack-mount (0.8.3)
rack-pjax (0.5.5)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.1, 3.2.0, 3.1.1)
railties (3.2.3, 3.2.1, 3.2.0, 3.1.1)
rake (0.9.2.2, 0.9.2)
rake-compiler (0.7.9)
rdoc (3.12, 3.11)
redcarpet (2.1.1)
refinerycms (2.0.3)
refinerycms-authentication (2.0.3)
refinerycms-core (2.0.3)
refinerycms-dashboard (2.0.3)
refinerycms-images (2.0.3)
refinerycms-pages (2.0.3)
refinerycms-resources (2.0.3)
responders (0.9.1, 0.6.5)
rest-client (1.6.7)
rspec (2.8.0)
rspec-core (2.8.0)
rspec-expectations (2.8.0)
rspec-mocks (2.8.0)
rspec-rails (2.8.1)
ruby_parser (2.3.1)
rubyXL (1.2.5)
rubyzip (0.9.6.1, 0.9.5)
sass (3.1.15, 3.1.12, 3.1.11)
sass-rails (3.2.5, 3.2.4, 3.2.3, 3.1.5)
selenium-webdriver (2.13.0)
seo_meta (1.3.0)
sexp_processor (3.2.0)
simple_form (2.0.1, 2.0.0, 1.5.2)
spork (0.9.0)
sprockets (2.1.2, 2.0.3)
sqlite3 (1.3.5, 1.3.4)
squeel (0.9.5)
ssl_requirement (0.1.0)
stringex (1.3.2)
term-ansicolor (1.0.7)
test-loop (13.0.1)
therubyracer (0.10.0, 0.9.10, 0.9.9)
thin (1.3.1)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
truncate_html (0.5.4)
turn (0.9.4, 0.9.1, 0.8.3)
twitter-bootstrap-rails (2.0.4)
tzinfo (0.3.33, 0.3.32, 0.3.31)
uglifier (1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.0)
warden (1.1.1, 1.1.0)
watchr (0.7)
whenever (0.7.3)
will_paginate (3.0.3)
xpath (0.1.4)
yajl-ruby (1.1.0)
Not sure what else might help.
thanks in advance.
The problem was that I had upgraded to devise 2.0 by using bundle upgrade, but not run rails g install:devise after the upgrade, after I did that on my local machine I added the following to my .gitignore file, so this wouldn't happen again
db/schema.rb
vendor/*
destroyed my app on heroku and started a new one. Thank goodness I backup everything, just pointed everything back at the new app and it worked just like the old.

Resources