Fenced codeblocks in Jekyll - ruby

I have just upgraded my local Jekyll installation to Jekyll 3.0.2.
I was looking forward to use fenced (backticks) code blocks when posting source code.
This however doesn't work, and I still have to use Liquid tags to specify codeblocks
My build settings in _config.yml:
baseurl: /
destination: _site
permalink: pretty
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
List of Ruby gems installed
activesupport (4.2.5.1)
addressable (2.3.8)
bigdecimal (1.2.6)
bundler (1.11.2)
coffee-script (2.4.1)
coffee-script-source (1.10.0)
colorator (0.1)
ethon (0.8.1)
execjs (2.6.0)
faraday (0.9.2)
ffi (1.9.10 x64-mingw32)
gemoji (2.1.0)
github-pages (45)
github-pages-health-check (0.6.0)
html-pipeline (2.3.0)
i18n (0.7.0)
io-console (0.4.3)
jekyll (3.0.2)
jekyll-coffeescript (1.0.1)
jekyll-feed (0.3.1)
jekyll-gist (1.4.0)
jekyll-mentions (1.0.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.9.1)
jekyll-sass-converter (1.3.0)
jekyll-seo-tag (0.1.4)
jekyll-sitemap (0.10.0)
jekyll-textile-converter (0.1.0)
jekyll-watch (1.3.1)
jemoji (0.5.1)
json (1.8.3, 1.8.1)
kramdown (1.9.0)
liquid (3.0.6)
listen (3.0.5)
mercenary (0.3.5)
mini_portile2 (2.0.0)
minitest (5.8.4, 5.4.3)
multipart-post (2.0.0)
net-dns (0.8.0)
nokogiri (1.6.7.2 x64-mingw32)
octokit (4.2.0)
power_assert (0.2.2)
psych (2.0.8)
public_suffix (1.5.3)
rake (10.4.2)
rb-fsevent (0.9.7)
rb-inotify (0.9.5)
rdiscount (2.1.8)
rdoc (4.2.0)
redcarpet (3.3.3)
RedCloth (4.2.9)
rouge (1.10.1)
safe_yaml (1.0.4)
sass (3.4.21)
sawyer (0.6.0)
terminal-table (1.5.2)
test-unit (3.0.8)
thread_safe (0.3.5)
typhoeus (0.8.0)
tzinfo (1.2.2)

This configuration works for me.
_config.yml
markdown: kramdown
kramdown:
input: GFM
syntax_highlighter: rouge
test.md
#### Writing a simple C Program
```c
#include <stdio.h>
int main(){
printf("Hello Drone\n");
return 0;
}
```
Compile and run the program on native system to test the code.

Related

LoadError on line ["54"] of /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- susy

I'm trying to run the command for my project
grunt compass watch
in the end, I get this error
Running "compass:dev" (compass) task
LoadError on line ["54"] of /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- susy
Run with --trace to see the full backtrace
Warning: ↑ Use --force to continue.
Aborted due to warnings.
this is my gem list (very big) and susy's there :
*** LOCAL GEMS ***
actioncable (5.2.2.1)
actionmailer (5.2.2.1)
actionpack (5.2.2.1)
actionview (5.2.2.1)
active_model_serializers (0.8.4)
activejob (5.2.2.1)
activemodel (5.2.2.1)
activerecord (5.2.2.1)
activestorage (5.2.2.1)
activesupport (5.2.2.1)
addressable (2.5.2)
annotate (2.7.4)
arel (9.0.0)
ast (2.4.0)
aws-eventstream (1.0.1)
aws-partitions (1.138.0)
aws-sdk-core (3.46.1)
aws-sdk-kms (1.13.0)
aws-sdk-s3 (1.30.1)
aws-sdk-sns (1.9.0)
aws-sigv4 (1.0.3)
barber (0.12.0)
better_errors (2.5.0)
bigdecimal (default: 1.4.1)
binding_of_caller (0.8.0)
bootsnap (1.3.2)
builder (3.2.3)
bullet (5.9.0)
bundler (2.0.1, default: 1.17.2)
byebug (10.0.2)
certified (1.0.0)
chunky_png (1.3.11)
claide (1.0.2)
claide-plugins (0.9.2)
cmath (default: 1.0.0)
coderay (1.1.2)
colored2 (3.1.2)
concurrent-ruby (1.1.5, 1.1.4)
connection_pool (2.2.2)
cork (0.3.0)
cppjieba_rb (0.3.3)
crack (0.4.3)
crass (1.0.4)
csv (default: 3.0.4)
daemons (1.3.1)
danger (5.13.0)
date (default: 2.0.0)
debug_inspector (0.0.3)
did_you_mean (1.3.0)
diff-lcs (1.3)
discourse-ember-source (3.7.0.2)
discourse_image_optim (0.26.2)
docile (1.3.1)
e2mmap (default: 0.1.0)
email_reply_trimmer (0.1.12)
ember-data-source (3.0.2)
ember-handlebars-template (0.8.0)
ember-rails (0.18.5)
ember-source (2.18.2)
erubi (1.8.0)
etc (default: 1.0.1)
eventmachine (1.0.9.1)
excon (0.62.0)
execjs (2.7.0)
exifr (1.3.5)
fabrication (2.20.1)
fakeweb (1.3.0)
faraday (0.15.4)
faraday-http-cache (1.3.1)
fast_blank (1.0.0)
fast_xor (1.1.3)
fast_xs (0.8.0)
fastimage (2.1.5)
fcntl (default: 1.0.0)
ffi (1.10.0)
fiddle (default: 1.0.0)
fileutils (default: 1.1.0)
flamegraph (0.9.5)
forwardable (default: 1.2.0)
fspath (3.1.0)
gc_tracer (1.5.1)
git (1.5.0)
globalid (0.4.2, 0.4.1)
guess_html_encoding (0.0.11)
hashdiff (0.3.7)
hashie (3.6.0)
highline (1.7.10)
hiredis (0.6.3)
hitimes (1.3.1)
hkdf (0.3.0)
htmlentities (4.3.4)
http_accept_language (2.0.5)
i18n (1.6.0, 1.5.3)
image_size (1.5.0)
in_threads (1.5.0)
io-console (default: 0.4.7)
ipaddr (default: 1.2.2)
irb (default: 1.0.0)
jaro_winkler (1.5.2)
jmespath (1.4.0)
jquery-rails (4.3.3)
json (2.2.0, default: 2.1.0)
jwt (2.1.0)
kgio (2.11.2)
kramdown (1.17.0)
libv8 (6.7.288.46.1 x86_64-linux)
listen (3.1.5)
logger (default: 1.3.0)
lograge (0.10.0)
logstash-event (1.2.02)
logstash-logger (0.26.1)
logster (2.3.0)
loofah (2.2.3)
lru_redux (1.1.0)
mail (2.7.1)
mailcatcher (0.7.1)
marcel (0.3.3)
matrix (default: 0.1.0)
maxminddb (0.1.22)
memory_profiler (0.9.12)
message_bus (2.2.0)
metaclass (0.0.4)
method_source (0.9.2, 0.8.2)
mimemagic (0.3.3)
mini_mime (1.0.1)
mini_portile2 (2.4.0)
mini_racer (0.2.4)
mini_scheduler (0.9.1)
mini_sql (0.2.1)
mini_suffix (0.3.0)
minitest (5.11.3)
mocha (1.5.0)
mock_redis (0.18.0)
moneta (1.1.1, 1.0.0)
msgpack (1.2.6)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
mustache (1.1.0)
mutex_m (default: 0.1.0)
nap (1.1.0)
net-telnet (0.2.0)
nio4r (2.3.1)
no_proxy_fix (0.1.2)
nokogiri (1.10.2, 1.10.1)
nokogumbo (2.0.1)
oauth (0.5.4)
oauth2 (1.4.1)
octokit (4.13.0)
oj (3.7.8)
omniauth (1.9.0)
omniauth-facebook (5.0.0)
omniauth-github (1.3.0)
omniauth-google-oauth2 (0.6.0)
omniauth-instagram (1.3.0)
omniauth-oauth (1.1.0)
omniauth-oauth2 (1.6.0)
omniauth-openid (1.0.1)
omniauth-twitter (1.4.0)
onebox (1.8.85, 1.8.82)
open4 (1.3.4)
openid-redis-store (0.0.2)
openssl (default: 2.1.2)
optimist (3.0.0)
ostruct (default: 0.1.0)
parallel (1.13.0)
parallel_tests (2.28.0)
parser (2.6.0.0)
pg (1.1.4)
power_assert (1.1.3)
powerpack (0.1.2)
prime (default: 0.1.0)
progress (3.5.0)
pry (0.10.4)
pry-nav (0.2.4)
pry-rails (0.3.6)
psych (default: 3.1.0)
public_suffix (3.0.3)
puma (3.12.0)
r2 (0.2.7)
rack (2.0.6, 1.6.11)
rack-mini-profiler (1.0.2)
rack-openid (1.3.1)
rack-protection (2.0.5, 1.5.5)
rack-test (1.1.0)
rails (5.2.2.1)
rails-dom-testing (2.0.3)
rails-html-sanitizer (1.0.4)
rails_multisite (2.0.6)
railties (5.2.2.1)
rainbow (3.0.0)
raindrops (0.19.0)
rake (12.3.2)
rake-compiler (1.0.4)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
rbtrace (0.4.11)
rchardet (1.8.0)
rdoc (default: 6.1.0)
redis (4.0.1)
redis-namespace (1.6.0)
request_store (1.4.1)
rexml (default: 3.1.9)
rinku (2.0.4)
rotp (3.3.1)
rqrcode (0.10.1)
rspec (3.7.0)
rspec-core (3.7.1)
rspec-expectations (3.7.0)
rspec-html-matchers (0.9.1)
rspec-mocks (3.7.0)
rspec-rails (3.7.2)
rspec-support (3.7.1)
rss (default: 0.2.7)
rtlit (0.0.5)
rubocop (0.63.1)
ruby-openid (2.7.0)
ruby-prof (0.17.0)
ruby-progressbar (1.10.0)
ruby-readability (0.7.0)
ruby_dep (1.5.0)
safe_yaml (1.0.4)
sanitize (5.0.0)
sass (3.4.25)
sassc (2.0.1)
sassc-rails (2.1.0)
sawyer (0.8.1)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
seed-fu (2.3.9)
shell (default: 0.7)
shoulda (3.5.0)
shoulda-context (1.2.2)
shoulda-matchers (3.1.3, 2.8.0)
sidekiq (5.2.5)
simplecov (0.16.1)
simplecov-html (0.10.2)
sinatra (1.4.8)
skinny (0.2.4)
slop (3.6.0)
sprockets (3.7.2)
sprockets-rails (3.2.1)
sqlite3 (1.4.0)
sshkey (1.9.0)
stackprof (0.2.12)
stringio (default: 0.0.2)
strscan (default: 1.0.0)
susy (2.2.14)
sync (default: 0.5.0)
terminal-table (1.8.0)
test-unit (3.2.9)
thin (1.5.1)
thor (0.20.3)
thread_safe (0.3.6)
thwait (default: 0.1.0)
tilt (2.0.9, 2.0.8)
tracer (default: 0.1.0)
tzinfo (1.2.5)
uglifier (4.1.20)
unf (0.1.4)
unf_ext (0.0.7.5)
unicode-display_width (1.4.1)
unicorn (5.4.1)
uniform_notifier (1.12.1)
webmock (3.4.2)
webpush (0.3.6)
webrick (default: 1.4.2)
websocket-driver (0.7.0)
websocket-extensions (0.1.3)
xmlrpc (0.3.0)
zlib (default: 1.0.0)
I installed globally:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
sudo npm install -g grunt-cli
sudo apt-get install ruby-full
sudo gem update --system
sudo gem install compass
sudo gem install bundler
npm i susy --save (and local too because in local gem list susy doesn't displayed)
gem ins hitimes
Local:
sudo npm install grunt --save-dev
sudo npm install grunt-contrib-uglify --save-dev
sudo npm install grunt-contrib-watch --save-dev
sudo npm install grunt-contrib-compass --save-dev
+susy
I tried all update.
I put in project file Gemfile:
# Gemfile
source "https://rubygems.org"
ruby "~> 2.4.0"
gem "sass", "~> 3.4.22"
gem "sass-globbing", "~> 1.1.5"
gem "compass", "~> 1.0.3"
gem "modular-scale", "~> 2.1.1"
gem "susy", "~> 2.2.12"
gem "ffi", "~> 1.9.25"
I restart my apache2 every time)
Please, help me. I am new to this field.
Maybe I'm doing something wrong?
Did I set everything right for grunt?

`require': cannot load such file -- HTTParty (LoadError)

First off I'm a Newbie in regards to Ruby, and I'm following the simple tutorial on https://www.distilled.net/resources/web-scraping-with-ruby-and-nokogiri-for-beginners/
I have a test.rb file that contains the following:
require 'rubygems'
require 'Nokogiri'
require 'HTTParty'
require 'Pry'
require 'csv'
# this is how we request the page we're going to scrape
page = HTTParty.get('https://newyork.craigslist.org/search/pet?s=0')
Pry.start(binding)
When I try to run the ruby test script, I get the following error:
pjw#ubuntu:~/ruby/test$ ruby test.rb
/home/pjw/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- HTTParty (LoadError)
from /home/pjw/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from test.rb:1:in `<main>'
I've verified HTTParty works properly by running:
httparty "https://newyork.craigslist.org/search/pet?s=0"
The problem seems to be the require statement. If I mix the order or the required gems, the first one gives the same error as above. I've searched online and can't seem to find what I'm missing...
in `require': cannot load such file -- httparty (LoadError) - (No Answer)
kernel_require.rb:55:in `require': cannot load such file error - (bundle exec ruby test.rb "Could not locate Gemfile or .bundle/ directory")
Unable to run .rb files on mac - getting /.rbenv/versions/2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' - (GEMS already Installed)
pjw#ubuntu:~/ruby/test$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
pjw#ubuntu:~/ruby/test$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
pjw#ubuntu:~/ruby/test$ gem list
*** LOCAL GEMS ***
actioncable (5.0.0.1)
actionmailer (5.0.0.1)
actionpack (5.0.0.1)
actionview (5.0.0.1)
activejob (5.0.0.1)
activemodel (5.0.0.1)
activerecord (5.0.0.1)
activesupport (5.0.0.1)
addressable (2.5.0)
arel (7.1.4)
autoprefixer-rails (6.5.3, 6.5.2, 6.5.1)
bcrypt (3.1.11)
bigdecimal (default: 1.2.8)
bootstrap (4.0.0.alpha5)
bootstrap-datepicker-rails (1.6.4.1)
bootstrap-sass (3.3.7)
builder (3.2.2)
bundler (1.13.6)
bundler-unload (1.0.2)
byebug (9.0.6)
cancancan (1.15.0)
coderay (1.1.1)
coffee-rails (4.2.1)
coffee-script (2.4.1)
coffee-script-source (1.10.0)
commonjs (0.2.7)
concurrent-ruby (1.0.2)
connection_pool (2.2.1, 2.2.0)
dashing-rails (2.5.0)
debug_inspector (0.0.2)
devise (4.2.0)
did_you_mean (1.0.2, 1.0.0)
erubis (2.7.0)
execjs (2.7.0)
executable-hooks (1.3.2)
ffi (1.9.14)
figaro (1.1.1)
gem-wrappers (1.2.7)
geocoder (1.4.0)
globalid (0.3.7)
gravatarify (3.1.1)
httparty (0.14.0)
i18n (0.7.0)
io-console (0.4.6, default: 0.4.5)
jbuilder (2.6.0)
jquery-rails (4.2.1)
json (2.0.2, default: 1.8.3)
less (2.6.0)
less-rails (2.8.0)
listen (3.1.5, 3.0.8)
loofah (2.0.3)
mail (2.6.4)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.9.1, 5.8.3)
multi_json (1.12.1)
multi_xml (0.5.5)
net-telnet (0.1.1)
nio4r (1.2.1)
nokogiri (1.6.8.1)
orm_adapter (0.5.0)
power_assert (0.3.1, 0.2.6)
pry (0.10.4)
psych (2.1.1, default: 2.0.17)
public_activity (1.5.0)
public_suffix (2.0.4)
puma (3.6.0)
rack (2.0.1)
rack-test (0.6.3)
rails (5.0.0.1)
rails-dom-testing (2.0.1)
rails-html-sanitizer (1.0.3)
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (5.0.0.1)
rake (11.3.0, 10.4.2)
rb-fsevent (0.9.8)
rb-inotify (0.9.7)
rdoc (5.0.0, default: 4.2.1)
redis (3.3.1)
responders (2.3.0)
ruby_dep (1.5.0)
rubygems-bundler (1.4.4)
rubygems-update (2.6.8)
rufus-scheduler (3.2.2)
rvm (1.11.3.9)
sass (3.4.22)
sass-rails (5.0.6)
simple_calendar (2.2.0)
simple_form (3.3.1)
slop (4.4.1, 3.6.0)
spring (2.0.0)
spring-watcher-listen (2.0.1)
sprockets (3.7.0)
sprockets-rails (3.2.0)
sqlite3 (1.3.12)
table_print (1.5.6)
test-unit (3.2.2, 3.1.5)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.5)
turbolinks (5.0.1)
turbolinks-source (5.0.0)
twitter-bootstrap-rails (3.2.2)
tzinfo (1.2.2)
uglifier (3.0.3, 3.0.2)
warden (1.2.6)
web-console (3.4.0, 3.3.1)
websocket-driver (0.6.4)
websocket-extensions (0.1.2)
wunderground (1.2.0)
Try simply this. It's all downcase
require 'httparty'
ubuntu#ip-172-31-19-199:~/ruby$ sudo apt install ruby-httparty
Install ruby-httparty and you won't get the error.

Susy Install Terminal

I install Susy 1.0.9., also the current version.
I´d like to run a new project by susy version 1.0.9. So I run via Terminal:
compass create susy_test -r susy -u susy
Thanks for your help.
Ogni
Terminal
og:~ Ogni$ compass create susy_test -r susy -u susy
LoadError on line ["161"] of /Users/Ogni/.rvm/gems/ruby-1.9.3-p545/gems/compass-0.12.6/lib/compass/configuration/data.rb: cannot load such file -- susy
Run with --trace to see the full backtrace
og:~ Ogni$
My gems
bigdecimal (1.1.0)
breakpoint (2.0.7)
bundler (1.6.2)
bundler-unload (1.0.2)
celluloid (0.16.0.pre)
celluloid-io (0.16.0.pre)
chunky_png (1.3.0)
coderay (1.0.9)
compass (1.0.0.alpha.19, 0.12.6)
compass-core (1.0.0.alpha.19)
compass-import-once (1.0.4)
compass-validator (3.0.1)
em-websocket (0.5.0)
eventmachine (1.0.3)
executable-hooks (1.3.1)
ffi (1.9.3)
formatador (0.2.4)
fssm (0.2.10)
gem-wrappers (1.2.4)
guard (2.6.0)
guard-compass (1.1.0)
guard-livereload (2.1.2)
guard-sass (1.4.0)
hitimes (1.2.1)
http_parser.rb (0.5.3)
io-console (0.3)
json (1.5.5)
listen (2.7.1, 1.1.6)
lumberjack (1.0.5)
method_source (0.8.2)
minitest (2.5.1)
multi_json (1.9.2)
nio4r (1.0.0)
pry (1.0.0.pre1)
rake (0.9.2.2)
rb-fsevent (0.9.4)
rb-inotify (0.9.3)
rb-kqueue (0.2.2)
rdoc (3.9.5)
rubygems-bundler (1.4.3)
rvm (1.11.3.9)
sass (3.3.5, 3.2.19)
singularitygs (1.1.2)
slop (3.5.0)
stitch (0.1.6)
susy (2.1.1, 1.0.9)
thor (0.19.1)
timers (2.0.0)
I added to my gemfile:
gem "susy", "~> 1.0.9"
Now it works

Why do I get errors trying to debug with RubyMine?

I work on JetBrains RubyMine 5.4.3.2.1 with Ruby193. I used to debug all the time until rubymine popped up an update for ruby-debug and I clicked yes. Ever since that update I tried to reinstall previous versions and I get this error:
Failed to Install Gems. Following gems were not installed:
C:\Program Files (x86)\JetBrains\RubyMine 5.4.2\rb\gems\ruby-debug-base19x-0.11.30.pre12.gem:
Error installing ruby-debug-base19x-0.11.30.pre12.gem:
ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb C:/Ruby193/bin/ruby.exe: No such file or directory -- extconf.rb (LoadError)
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19x-0.11.30.pre12 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-base19x-0.11.30.pre12/ext/ruby_debug/gem_make.out
Obviously I do have the Devkit installed properly because it did work until now (tried reinstalling ruby and devkit again but no luck).
How can I fix this?
Both gems; ruby-debug and debugger; mess up debugging through RubyMine. Also, I had to manually install a version of linecache (0.5.13) to get the IDE debugging to work. Here is my gem list.
actionmailer (4.0.0, 3.2.13)
actionpack (4.0.0, 3.2.13)
activeadmin (0.6.0)
activemodel (4.0.0, 3.2.13)
activerecord (4.0.0, 3.2.13)
activerecord-deprecated_finders (1.0.3)
activerecord-import (0.4.1)
activerecord-postgresql-adapter (0.0.1)
activeresource (3.2.13)
activesupport (4.0.0, 3.2.13)
arbre (1.0.1)
archive-tar-minitar (0.5.2)
arel (4.0.0, 3.0.2)
atomic (1.1.10)
backbone-relational-rails (0.8.5, 0.7.1)
bcrypt-ruby (3.0.1)
bigdecimal (1.1.0)
bourbon (3.1.8)
builder (3.1.4, 3.0.4)
bundler (1.3.5)
childprocess (0.3.9)
climate_control (0.0.3)
cocaine (0.5.1)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.6.2)
columnize (0.3.6)
commander (4.1.3)
curb (0.8.4)
curl-multi (0.2)
daemon_controller (1.1.4)
debugger-linecache (1.2.0)
debugger-ruby_core_source (1.2.3)
devise (2.2.4)
diff-lcs (1.2.4)
eco (1.0.0)
eco-source (1.1.0.rc.1)
ejs (1.1.1)
erubis (2.7.0)
execjs (1.4.0)
fastercsv (1.5.5)
fastthread (1.0.7)
ffi (1.9.0)
foreigner (1.4.2)
formtastic (2.2.1)
has_scope (0.5.1)
highline (1.6.19)
hike (1.2.3)
httpclient (2.3.3)
i18n (0.6.4, 0.6.1)
inherited_resources (1.4.0)
io-console (0.3)
jasmine (1.3.2)
jasmine-core (1.3.1)
journey (1.0.4)
jquery-rails (2.1.4)
json (1.8.0)
kaminari (0.14.1)
linecache19 (0.5.13)
mail (2.5.4)
meta_search (1.1.3)
mime-types (1.23)
mini_portile (0.5.0)
minitest (4.7.5, 2.5.1)
modernizr (2.6.2)
modernizr-rails (2.6.2.3)
multi_json (1.7.7)
mysql2 (0.3.11)
net-ssh (2.6.8)
nokogiri (1.6.0)
open4 (1.3.0)
orm_adapter (0.4.0)
paperclip (3.4.2)
passenger (4.0.5)
pg (0.15.1)
polyamorous (0.5.0)
polyglot (0.3.3)
pr_geohash (1.0.0)
rack (1.5.2, 1.4.5)
rack-cache (1.2)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.13)
rails-backbone (0.9.10)
rails-footnotes (3.7.9)
railties (4.0.0, 3.2.13)
rake (10.0.4, 0.9.2.2)
rdoc (3.12.2, 3.9.5)
responders (0.9.3)
rhc (1.10.7)
rsolr (1.0.9)
rspec (2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
rspec-mocks (2.13.1)
rspec-rails (2.13.2)
ruby-debug-base19 (0.11.26)
ruby-debug-base19x (0.11.30.pre12)
ruby-debug-ide (0.4.17.beta17)
ruby-debug19 (0.11.6)
ruby_core_source (0.1.5)
rubygems-update (2.0.3)
RubyInline (3.12.2)
rubyzip (0.9.9)
sass (3.2.9)
sass-rails (3.2.6)
selenium-webdriver (2.33.0)
spork (0.9.2)
sprockets (2.10.0, 2.2.2)
sprockets-rails (2.0.0)
sunspot (2.0.0)
sunspot_rails (2.0.0)
sunspot_solr (2.0.0)
thor (0.18.1)
thread_safe (0.1.0)
tilt (1.4.1)
treetop (1.4.14)
tzinfo (0.3.37)
uglifier (2.1.1)
underscore-rails (1.4.4)
warden (1.2.1)
websocket (1.0.7)
ZenTest (4.9.2)
zurb-foundation (4.2.2)

Ruby193 completely ignore breakpoints in debug mode

I had just upgrade from Ruby192 to Ruby193 (rubyinstaller-1.9.3-p392).
After gone through many errors and googling, I manage to start up the server normally without any error.
When I start up my server with debug mode (In NetBeans 6.9.1) it just ignore the breakpoints and continue to load the page, see below output.
Fast Debugger (ruby-debug-ide 0.4.17.beta16, ruby-debug-base19x 0.11) listens on 127.0.0.1:49628
=> Booting WEBrick
=> Rails 3.2.12 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-03-09 11:34:54] INFO WEBrick 1.3.1
[2013-03-09 11:34:54] INFO ruby 1.9.3 (2013-02-22) [i386-mingw32]
[2013-03-09 11:34:54] INFO WEBrick::HTTPServer#start: pid=708 port=3000
Breakpoint 32 at D:/MyWorkspace/NetBeans_Projects/homeloqsg/app/controllers/miscellaneous_controller.rb:7
I have the following gem installed
$ gem list
*** LOCAL GEMS ***
actionmailer (3.2.12)
actionpack (3.2.12)
activemodel (3.2.12)
activerecord (3.2.12)
activeresource (3.2.12)
activesupport (3.2.12)
addressable (2.3.3)
archive-tar-minitar (0.5.2)
arel (3.0.2)
authlogic (3.2.0)
aws-s3 (0.6.3)
aws-sdk (1.8.3.1)
bigdecimal (1.1.0)
bson (1.8.3)
bson_ext (1.8.3)
builder (3.0.4)
bundler (1.3.1)
carrierwave (0.8.0)
climate_control (0.0.3)
cocaine (0.5.1)
columnize (0.3.6)
debugger (1.4.0)
debugger-linecache (1.1.2)
debugger-ruby_core_source (1.2.0)
erubis (2.7.0)
excon (0.16.10)
fog (1.10.0)
formatador (0.2.4)
gmaps4rails (1.5.6)
heroku (2.35.0)
heroku-api (0.3.8)
hike (1.2.1)
i18n (0.6.4)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.2.1)
json (1.5.5)
launchy (2.2.0)
linecache19 (0.5.12)
mail (2.4.4)
mime-types (1.21)
minitest (2.5.1)
multi_json (1.6.1)
mysql (2.8.1 x86-mingw32)
net-scp (1.1.0)
net-ssh (2.6.6)
netrc (0.7.7)
nokogiri (1.5.6 x86-mingw32)
paperclip (3.4.1)
pg (0.14.1 x86-mingw32)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.12)
railties (3.2.12)
rake (0.9.2.2)
rdiscount (1.6.8)
rdoc (3.9.5)
rest-client (1.6.7)
rmagick (2.13.2)
ruby-debug-base19x (0.11.30.pre10)
ruby-debug-ide (0.4.17.beta16)
ruby-hmac (0.4.0)
ruby_core_source (0.1.5)
rubygems-update (2.0.1)
rubyzip (0.9.9)
sitemap_generator (3.4)
sprockets (2.2.2)
thor (0.17.0)
tilt (1.3.4)
treetop (1.4.12)
tzinfo (0.3.36)
uuidtools (2.1.3)
will_paginate (3.0.4)
xml-simple (1.1.2)
After struggled for hours I manage to solved this issue.
I think I have too many debug gems.
debugger (1.4.0)
debugger-linecache (1.1.2)
debugger-ruby_core_source (1.2.0)
ruby-debug-base19x (0.11.30.pre10)
ruby-debug-ide (0.4.17.beta16)
linecache19 (0.5.12)
After removed the following gems it working fine and the breakpoints just stop at the line I want.
debugger (1.4.0)
debugger-linecache (1.1.2)
debugger-ruby_core_source (1.2.0)
Thanks.

Resources