Debugging Rails 5 with RubyMine: Breakpoints Don't Work - ruby-on-rails

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.

Related

Different font displayed wicked_pdf

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'

Error running Rails Server - unable to load gem 'sass-rails'

I'm new to Rails and trying to load and configure it for the first time. I'm following the instructions on http://installrails.com/steps/rails_for_linux_and_other for installing on Linux (I'm actually using an Ubuntu Virtual Machine that is installed on a Windows 10 Host).
I keep getting this error:
`rescue in block (2 levels) in require': There was an error while trying to load the gem 'sass-rails'. (Bundler::GemRequireError)
Gem Load Error is: uninitialized constant Sass::Rails::Tilt
There is nothing that seems to be able to tell me what to do from here. I've actually uninstalled, and re-installed Rails once, because I thought my Rails version was creating problems (I did have Rails 5.1.1), but the same thing is happening now (with Rails 4.2.6).
Ruby Version:
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
Gem List:
*** LOCAL GEMS ***
actioncable (5.1.1)
actionmailer (5.1.1, 4.2.6)
actionpack (5.1.1, 4.2.6)
actionview (5.1.1, 4.2.6)
activejob (5.1.1, 4.2.6)
activemodel (5.1.1, 4.2.6)
activerecord (5.1.1, 4.2.6)
activesupport (5.1.1, 4.2.6)
addressable (2.5.1)
arel (8.0.0, 6.0.4)
bigdecimal (1.2.8)
bindex (0.5.0)
binding_of_caller (0.7.2)
builder (3.2.3)
bundler (1.14.6)
bundler-unload (1.0.2)
byebug (9.0.6)
capybara (2.14.0)
childprocess (0.7.0)
coffee-rails (4.2.1, 4.1.1)
coffee-script (2.4.1)
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
debug_inspector (0.0.3)
did_you_mean (1.0.0)
erubi (1.6.0)
erubis (2.7.0)
execjs (2.7.0)
executable-hooks (1.3.2)
ffi (1.9.18)
gem-wrappers (1.2.7)
globalid (0.4.0)
i18n (0.8.1)
io-console (0.4.5)
jbuilder (2.6.4)
jquery-rails (4.3.1)
json (1.8.6, 1.8.3)
listen (3.1.5)
loofah (2.0.3)
mail (2.6.5)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.10.2, 5.8.5)
multi_json (1.12.1)
mustermann (1.0.0)
net-telnet (0.1.1)
nio4r (2.0.0)
nokogiri (1.7.2)
power_assert (0.2.6)
psych (2.1.0)
public_suffix (2.0.5)
puma (3.8.2)
rack (2.0.3, 1.6.8)
rack-protection (2.0.0)
rack-test (0.6.3)
rails (4.2.6)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (2.0.3, 1.0.8)
rails-html-sanitizer (1.0.3)
railties (4.2.6)
rake (12.0.0, 10.4.2)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
rdoc (4.3.0, 4.2.1)
ruby_dep (1.5.0)
rubygems-bundler (1.4.4)
rubyzip (1.2.1)
rvm (1.11.3.9)
sass (3.4.24)
sass-rails (5.0.6)
sdoc (0.4.2)
selenium-webdriver (3.4.0)
sinatra (2.0.0)
spring (2.0.1)
spring-watcher-listen (2.0.1)
sprockets (3.7.1)
sprockets-rails (3.2.0)
sqlite3 (1.3.13)
test-unit (3.1.5)
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.7)
turbolinks (5.0.1)
turbolinks-source (5.0.3)
tzinfo (1.2.3)
uglifier (3.2.0)
web-console (3.5.1, 2.3.0)
websocket (1.2.4)
websocket-driver (0.6.5)
websocket-extensions (0.1.2)
xpath (2.0.0)
Thanks for any help.
try to run following command:
bundle update
If it failed then try to comment below code:
saas-rails
bundle install
I commented out
gem 'sass-rails'
Then did a
bundle update
The server seems to work now. The only thing I'm not completely sure of is if I need that gem for something. (Like I said, I'm new to Rails).

Sunspot - RSolr::Error::Http - 404 Not Found

Hi I recently got a hold of a Rails 3.2.0 project that makes use of sunspot
I've been running into an error below:
RSolr::Error::Http - 404 Not Found
Error: Not Found
URI: http://localhost:8982/solr/select?wt=ruby
Request Headers: {"Content-Type"=>"application/x-www-form-urlencoded; charset=UTF-8"}
Request Data: "fq=type%3APost&fq=-kind_s%3A%28event+OR+contest+OR+job+OR+review%29&fq=-category_im%3A%28%29&fq=exclude_from_explore_b%3Afalse&fq=-destroyed_at_d%3A%5B*+TO+*%5D&fq=published_at_ds%3A%5B*+TO+2016%5C-04%5C-26T12%5C%3A07%5C%3A29Z%5D&fq=published_at_ds%3A%5B*+TO+*%5D&fq=verified_author_b%3Atrue&sort=published_at_ds+desc&start=0&rows=24&q=*%3A*"
Backtrace: /home/revrun/.rvm/gems/ruby-2.1.2/gems/rsolr-1.0.13/lib/rsolr/client.rb:284:in `adapt_response'
/home/revrun/.rvm/gems/ruby-2.1.2/gems/rsolr-1.0.13/lib/rsolr/client.rb:190:in `execute'
/home/revrun/.rvm/gems/ruby-2.1.2/gems/rsolr-1.0.13/lib/rsolr/client.rb:176:in `send_and_receive'
(eval):2:in `post'
/home/revrun/.rvm/gems/ruby-2.1.2/gems/sunspot-1.3.3/lib/sunspot/search/abstract_search.rb:38:in `execute'
/home/revrun/.rvm/gems/ruby-2.1.2/gems/sunspot_rails-1.3.3/lib/sunspot/rails/searchable.rb:329:in `solr_execute_search'
/home/revrun/.rvm/gems/ruby-2.1.2/gems/sunspot_rails-1.3.3/lib/sunspot/rails/searchable.rb:153:in `solr_search'
/home/revrun/Code/saf/safarious/app/controllers/explore/posts_controller.rb:76:in `post_search'
/home/revrun/Code/saf/safarious/app/controllers/explore/posts_controller.rb:15:in `category'
/home/revrun/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/revrun/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in `process_action'
My installed gems are as follows:
*** LOCAL GEMS ***
actionmailer (4.2.6, 4.1.0, 3.2.13)
actionpack (4.2.6, 4.1.0, 3.2.13)
actionview (4.2.6, 4.1.0)
activejob (4.2.6)
activemodel (4.2.6, 4.1.0, 3.2.13)
activerecord (4.2.6, 4.1.0, 3.2.13)
activeresource (3.2.13)
activesupport (4.2.6, 4.1.0, 3.2.13)
acts-as-taggable-on (2.3.3)
acts_as_votable (0.8.0)
addressable (2.4.0, 2.3.6, 2.3.2)
afm (0.2.0)
annotate (2.5.0)
arel (6.0.3, 5.0.1.20140414130214, 3.0.2)
Ascii85 (1.0.2)
authlogic (3.2.0)
autoprefixer-rails (6.3.6)
awesome_print (1.6.1, 1.1.0)
base58 (0.1.0)
bcrypt (3.1.7)
bcrypt-ruby (3.0.1)
bigdecimal (1.2.4)
binding_of_caller (0.7.2)
bootstrap (4.0.0.alpha3)
bootstrap-sass (3.1.1.1, 3.1.1.0)
bourbon (3.0.1)
braintree (2.22.0)
browser (0.1.6)
bson (3.2.6)
builder (3.2.2, 3.0.4)
bundler (1.8.3)
bundler-unload (1.0.2)
byebug (8.2.2)
callsite (0.0.11)
cancan (1.6.10)
capistrano (3.2.1)
capistrano-bundler (1.1.2)
capistrano-rails (1.1.1)
capistrano-rvm (0.1.1)
capybara (2.3.0, 2.0.2)
carmen (0.2.13)
carrierwave (0.8.0)
carrierwave_backgrounder (0.1.3)
childprocess (0.5.3, 0.3.6)
chronic (0.10.2)
client_side_validations (3.2.1)
client_side_validations-simple_form (2.0.1)
coderay (1.1.1)
coffee-rails (4.1.1, 4.0.0, 3.2.2)
coffee-script (2.4.1, 2.3.0)
coffee-script-source (1.10.0, 1.8.0)
colorize (0.7.3)
commonjs (0.2.7)
concurrent-ruby (1.0.1)
connection_pool (2.2.0)
cookiejar (0.3.0)
crack (0.4.2, 0.3.2)
daemons (1.2.3, 1.1.9)
dante-editor (0.0.14)
database_cleaner (1.3.0, 0.9.1)
debug_inspector (0.0.2)
declarative_authorization (0.5.7)
delayed_job (4.1.1, 3.0.4)
delayed_job_active_record (0.3.3)
delayed_job_mongoid (2.2.0)
diff-lcs (1.2.5, 1.1.3)
domain_name (0.5.20160309)
dotenv (0.9.0)
dotenv-rails (0.9.0)
em-http-request (1.1.3)
em-socksify (0.3.1)
email_validator (1.4.0)
erubis (2.7.0)
eventmachine (1.2.0.1, 1.0.3)
exceptional (2.0.33)
excon (0.49.0, 0.16.10)
execjs (2.6.0, 2.2.1, 1.4.0)
executable-hooks (1.3.2)
factory_girl (4.4.0, 4.1.0)
factory_girl_rails (4.4.1, 4.1.0)
fakeredis (0.4.1)
faraday (0.9.2, 0.9.0, 0.8.11, 0.7.6)
faraday_middleware (0.10.0, 0.9.0)
fattr (2.2.1)
faye (1.1.2)
faye-websocket (0.10.3)
ffi (1.9.3, 1.3.1)
filepicker-rails (0.1)
fog (1.9.0)
foreman (0.78.0)
formatador (0.2.4)
garb (0.9.1)
gem-wrappers (1.2.7)
globalid (0.3.6)
god (0.13.7)
haml (4.0.7)
haml-rails (0.9.0)
handlebars_assets (0.19.1)
hashdiff (0.3.0)
hashery (2.1.0)
hashie (3.4.3, 1.2.0)
heroku (3.43.0)
heroku-api (0.4.2)
highline (1.7.8, 1.6.15)
hike (1.2.3, 1.2.2)
hiredis (0.4.5)
html2haml (2.0.0)
htmlentities (4.3.1)
http-cookie (1.0.2)
http_parser.rb (0.6.0)
httpauth (0.2.0)
i18n (0.7.0, 0.6.11, 0.6.1)
io-console (0.4.2)
jbuilder (2.4.1, 1.5.3)
journey (1.0.4)
jquery-rails (4.1.1, 3.1.0, 2.2.0)
jquery-ui-rails (4.2.1)
json (1.8.3, 1.8.1, 1.8.0)
jwt (1.5.1, 1.0.0)
launchy (2.4.3, 2.1.2)
less (2.6.0)
less-rails (2.7.1)
letter_opener (1.0.0)
libv8 (3.16.14.13 x86-linux)
linkedin (0.3.7)
lograge (0.2.0)
loofah (2.0.3)
mail (2.6.3, 2.5.4, 2.5.3)
mail_view (1.0.3)
medium-editor-rails (2.2.0)
meta_request (0.2.5)
method_source (0.8.2)
mime-types (2.99.1, 1.25.1, 1.21)
mini_magick (3.4)
mini_portile (0.6.0)
mini_portile2 (2.0.0)
minitest (5.8.4, 5.3.5, 4.7.5)
mongo (2.1.2)
mongoid (5.1.1)
mongoid-compatibility (0.3.1)
mono_logger (1.1.0)
multi_json (1.11.2, 1.10.1, 1.7.3)
multi_xml (0.5.5)
multipart-post (2.0.0, 1.2.0, 1.1.5)
nesty (1.0.2)
net-scp (1.2.1, 1.0.4)
net-ssh (2.9.2, 2.9.1, 2.6.3)
net-ssh-gateway (1.2.0)
netrc (0.11.0, 0.10.3)
newrelic_rpm (3.6.4.122)
nokogiri (1.6.7.2, 1.6.2.1, 1.5.5)
oauth (0.5.1, 0.4.7)
oauth2 (1.1.0, 0.9.4, 0.6.1)
omniauth (1.3.1, 1.1.1)
omniauth-facebook (3.0.0, 1.4.0)
omniauth-linkedin (0.0.8)
omniauth-oauth (1.0.1)
omniauth-oauth2 (1.4.0, 1.0.2)
omniauth-twitter (0.0.14)
optionable (0.2.0)
options (2.3.2, 2.3.0)
origin (2.2.0)
panda (1.6.0)
pdf-inspector (1.1.0)
pdf-reader (1.3.2)
pg (0.17.1)
polyglot (0.3.5, 0.3.3)
pr_geohash (1.0.0)
prawn (0.12.0)
prawn-qrcode (0.2.0)
prawn_rails (0.0.11)
progress_bar (1.0.5, 0.4.0)
pry (0.10.3)
pry-byebug (3.3.0)
psych (2.0.5)
public_activity (1.5.0)
quiet_assets (1.1.0, 1.0.2)
rack (1.6.4, 1.5.2, 1.4.7, 1.4.5)
rack-cache (1.2)
rack-contrib (1.1.0)
rack-protection (1.5.3)
rack-ssl (1.3.3)
rack-test (0.6.3, 0.6.2)
rails (4.2.6, 4.1.0, 3.2.13)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.7)
rails-html-sanitizer (1.0.3)
rails-sanitize-js (1.0.0)
rails_autolink (1.1.0)
rails_config (0.4.2)
railties (4.2.6, 4.1.0, 3.2.13)
rake (11.1.1, 10.3.2, 10.1.0, 10.0.4)
rdoc (4.1.2, 4.1.0, 3.12.2)
recaptcha (0.3.5)
redis (3.2.2, 3.1.0, 3.0.4)
redis-actionpack (3.2.3)
redis-activesupport (3.2.3)
redis-namespace (1.5.1)
redis-rack (1.4.2)
redis-rails (3.2.3)
redis-store (1.1.4)
ref (2.0.0)
resque (1.25.2)
rest-client (1.8.0, 1.6.9, 1.6.8)
rest-client-components (1.4.0)
rqrcode (0.4.2)
rsolr (1.1.1, 1.0.13, 1.0.10)
rspec-core (2.14.8, 2.12.2)
rspec-expectations (2.14.5, 2.12.1)
rspec-mocks (2.14.6, 2.12.1)
rspec-rails (2.14.0, 2.12.2)
ruby-hmac (0.4.0)
ruby-oembed (0.8.8)
ruby-prof (0.12.1)
ruby-rc4 (0.1.5)
ruby_parser (3.8.1)
rubygems-bundler (1.4.4)
rubyzip (1.1.7, 1.1.6, 0.9.9)
rvm (1.11.3.9)
safe_yaml (1.0.3)
sass (3.4.22, 3.4.21, 3.2.19, 3.2.5)
sass-rails (5.0.4, 4.0.2, 3.2.6)
sdoc (0.4.1)
selenium-webdriver (2.42.0, 2.29.0)
sequel (3.20.0)
sexp_processor (4.7.0)
simple_form (2.0.4)
sinatra (1.4.5, 1.0)
sitemap_generator (4.0.1)
slop (3.6.0)
sorcery (0.8.6)
spring (1.6.4)
sprockets (3.5.2, 2.11.0, 2.2.2)
sprockets-rails (3.0.4, 2.0.1)
sqlite3 (1.3.9)
sshkit (1.5.1)
state_machine (1.1.2)
subexec (0.2.2)
sunspot (1.3.3)
sunspot_rails (1.3.3)
sunspot_solr (2.2.5)
taps (0.3.24)
test-unit (2.1.2.0)
test_after_commit (0.2.0)
therubyracer (0.12.2)
thin (1.6.4, 1.5.1)
thor (0.19.1, 0.18.1)
thread_safe (0.3.5, 0.3.4)
tilt (2.0.2, 1.4.1)
treetop (1.4.15, 1.4.12)
ttfunk (1.0.3)
turbolinks (2.2.3)
typhoeus (0.2.4)
tzinfo (1.2.2, 0.3.37)
uglifier (2.7.2, 1.3.0)
underscore-rails (1.8.3)
unf (0.1.4)
unf_ext (0.0.7.2)
vegas (0.1.11)
web-console (2.3.0)
webmock (1.18.0)
websocket (1.0.7, 1.0.6)
websocket-driver (0.6.3)
websocket-extensions (0.1.2)
whenever (0.9.4)
will_paginate (3.0.4)
xpath (2.0.0, 1.0.0)
yaml_db (0.2.3)
And my sunspot.yml:
production:
solr:
hostname: localhost
port: 8983
log_level: WARNING
development:
solr:
hostname: localhost
port: 8982
log_level: INFO
test:
solr:
hostname: localhost
port: 8981
log_level: WARNING
I've tried numerous other suggestions on SO but nothing seems to be fixing the issue. I have no experience with sunspot so indepth answers are most welcome :-D
Thanks.
start the solr server by using the below command:
rake sunspot:solr:start
After starting check whether it is started or not by opening the http://localhost:8982 in your browser
You should provider path in the sunspot.yml file:
development:
solr:
hostname: localhost
port: 8982
log_level: INFO
path: /solr/your_collection
Notice that path is used in Solr's requests like this:
http://localhost:8982/solr/#/your_collection
Also, if you use predefined Solr you should start it via an rake task:
bundle exec rake sunspot:solr:start
Just had the same problem. In my case there was a stale sunspot process running. What I did was:
Open the Activity Monitor
Search for 'java'
Kill 'java ' processes
Started Sunspot ( rake sunspot:solr:start )
Reindex Sunspot ( rake sunspot:solr:reindex )

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)

Resources