asciidoctor / asciidoctor-latex

:triangular_ruler: Add LaTeX features to AsciiDoc & convert AsciiDoc to LaTeX
http://asciidoctor.org
Other
115 stars 26 forks source link

Can't incorporate asciidoctor-latex into noteshare.io #23

Closed jxxcarlson closed 9 years ago

jxxcarlson commented 9 years ago

When I do `$push staging latex2:master, I get the errors appended below. Any idea of what the problem is?

I am forking off from a branch that runs without problems. My goal is use asciidoctor-latex in Noteshare so as to give the former a real field-test.

$ git push --force staging latex2:master
Fetching repository, done.
Counting objects: 90, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (90/90), done.
Writing objects: 100% (90/90), 12.68 KiB | 0 bytes/s, done.
Total 90 (delta 73), reused 0 (delta 0)

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.2
-----> Installing dependencies using 1.7.12
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Fetching gem metadata from https://rubygems.org/........
       Fetching git://github.com/asciidoctor/asciidoctor-latex.git
       fatal: Could not parse object '7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780'.
       Git error: command `git reset --hard 7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780`
       in directory
       /tmp/build_8cf230bc6d65f4091b41f541ae52c392/vendor/bundle/ruby/2.1.0/bundler/gems/asciidoctor-latex-7b51ac42bf78
       has failed.
       If this error persists you could try removing the cache directory
       '/tmp/build_8cf230bc6d65f4091b41f541ae52c392/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf'
       Bundler Output: Fetching gem metadata from https://rubygems.org/........
       Fetching git://github.com/asciidoctor/asciidoctor-latex.git
       fatal: Could not parse object '7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780'.
       Git error: command `git reset --hard 7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780`
       in directory
       /tmp/build_8cf230bc6d65f4091b41f541ae52c392/vendor/bundle/ruby/2.1.0/bundler/gems/asciidoctor-latex-7b51ac42bf78
       has failed.
       If this error persists you could try removing the cache directory
       '/tmp/build_8cf230bc6d65f4091b41f541ae52c392/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf'
 !
 !     Failed to install gems via Bundler.
 !

 !     Push rejected, failed to compile Ruby app

To git@heroku.com:gentility.git
 ! [remote rejected] latex2 -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:gentility.git'
jirutka commented 9 years ago

Have you tried to remove the cache directory as it advises?

jxxcarlson commented 9 years ago

Where is it? I tried on my laptop, this is what I get:

$ ls /tmp/build_a95bf65d7b539eb82876b3a5a192e184/vendor/bundle/ruby/2.1.0/bundler/gems/asciidoctor-latex-7b51ac42bf78
ls: /tmp/build_a95bf65d7b539eb82876b3a5a192e184/vendor/bundle/ruby/2.1.0/bundler/gems/asciidoctor-latex-7b51ac42bf78: No such file or directory

On Jan 26, 2015, at 11:19 AM, Jakub Jirutka notifications@github.com wrote:

Have you tried to remove the cache directory as it advises?

— Reply to this email directly or view it on GitHub.

jirutka commented 9 years ago

This runs on Heroku, so there.

jxxcarlson commented 9 years ago

I tried that and got this:

$ rm /tmp/build_0f10b6ad0c885ea74c45268ead08b410/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf rm: cannot remove `/tmp/build_0f10b6ad0c885ea74c45268ead08b410/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf': No such file or directory

The file seems to change between runs, so it must be being generated on heroku, no?

Here is a previous try:

If this error persists you could try removing the cache directory '/tmp/build_a95bf65d7b539eb82876b3a5a192e184/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf’

Heroku has an “ephemeral file system”, so what may be there one moment may not be the next.

On Jan 26, 2015, at 11:23 AM, Jakub Jirutka notifications@github.com wrote:

This runs on Heroku, so there.

— Reply to this email directly or view it on GitHub.

jirutka commented 9 years ago

Can you copy&paste here the Gemfile for noteshare app?

jxxcarlson commented 9 years ago

On Jan 26, 2015, at 11:59 AM, Jakub Jirutka notifications@github.com wrote:

Can you copy&paste here the Gemfile for noteshare app?

— Reply to this email directly or view it on GitHub.

Attached is the Gemfile (1) and also the diff between the Gemfile.lock files of this “bad” commit its ancestor on the master branch which has no asciidoctor-latex

(1) Gemfile:

source 'https://rubygems.org'

ruby '2.1.2'

Bundle edge Rails instead: gem 'rails', github: 'rails/rails'

gem 'rails', '4.0.0'

Use sqlite3 as the database for Active Record

gem 'sqlite3', '1.3.8'

Above: downgrade to 1.3.8 (previously no restriction)

Use SCSS for stylesheets

gem 'sass-rails', '~> 4.0.0'

Use Uglifier as compressor for JavaScript assets

gem 'uglifier', '>= 1.3.0'

Use CoffeeScript for .js.coffee assets and views

gem 'coffee-rails', '~> 4.0.0'

See https://github.com/sstephenson/execjs#readme for more supported runtimes

gem 'therubyracer', platforms: :ruby

Use jquery as the JavaScript library

gem 'jquery-rails' gem 'jquery-ui-rails', '~> 4.2.1' gem 'jquery-cookie-rails' gem 'jquery-turbolinks'

Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks

gem 'turbolinks'

Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder

gem 'jbuilder', '~> 1.2'

group :doc do

bundle exec rake doc:rails generates the API under doc/api.

gem 'sdoc', require: false end

Use ActiveModel has_secure_password

gem 'bcrypt-ruby', '~> 3.0.0'

Use unicorn as the app server

gem 'unicorn'

Use Capistrano for deployment

gem 'capistrano', group: :development

Use debugger

gem 'debugger', group: [:development, :test]

Use asciidoctor

gem 'asciidoctor', '~> 1.5.2'

gem 'asciidoctor-diagram'

http://stackoverflow.com/questions/4487948/how-can-i-specify-a-local-gem-in-my-gemfile

Executed: $cd $no; $ bundle config local.asciidoctor-latex $lbe; $ bundle

gem 'asciidoctor-latex', :github => 'asciidoctor/asciidoctor-latex', :branch => 'master'

add: BUNDLE_LOCAL__ASCIIDOCTOR-LATEX: "/Users/carlson/dev/git/asciidoctor-latex"

to /Users/carlson/.bundle/config

gem 'coderay'

gem 'pygments'

gem 'modernizr'

Use pg for postgres

gem 'pg'

PG_SEARCH

docs : https://github.com/Casecommons/pg_search

article: http://isotope11.com/blog/postgres-search-using-pg-search

article: http://pivotallabs.com/pg-search-how-i-learned-to-stop-worrying-and-love-postgresql-full-text-search/

gem 'pg_search'

for heroku

gem 'rails_12factor', group: :production

gem "paperclip", :git => "git://github.com/thoughtbot/paperclip.git"

gem "paperclip", "~> 3.0"

gem 'paperclip', '3.5.4' # << this is the one that is working in production. Have also tried: # 3.1 # '4.1'

gem 'paperclip', '4.1'

gem 'aws-sdk', '~> 1.5.7'

gem 'aws-sdk-v1'

gem 'aws-sdk'

gem 'simple-navigation'

for Graphs:

gem "chartkick" gem 'groupdate'

use bootstrap

gem 'bootstrap-sass', '~> 3.1.1'

gem 'friendly_id', '~> 5.0.0'

gem 'log_buddy'

gem 'gon'

gem 'rspec'

gem 'log4r'

gem 'bourbon'

gem 'json'

gem "bullet", :group => "development"

gem 'haml'

gem 'tilt'

gem 'htmlentities'

test coverage

gem 'simplecov', :require => false, :group => :test

experimental

gem 'text'

gem 'word_wrapper'

group :development,:test do

gem "rspec-rails", "~> 2.14.0"

gem "rspec-rails", "~> 3.0.0.beta" gem "factory_girl_rails", "~> 4.2.1" end

group :test do gem "faker", "~> 1.1.2" gem "capybara", "~> 2.1.0" gem "database_cleaner", "~> 1.0.1" gem "launchy", "~> 2.3.0" gem "selenium-webdriver", "~> 2.39.0" end

https://pooreffort.com/blog/better-rails-logging/

group :development do gem 'quiet_assets' end

https://pooreffort.com/blog/better-rails-logging/

gem 'lograge'

to compare texts (diff)

gem ‘diffy'

(2) Diff between the troublesome commit on branch latex2

and its ancestor on the master branch which has no asciidoctor-latex:

$ git diff HEAD^ HEAD Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock index 88fd1e5..c6dac65 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,12 @@ +GIT

jirutka commented 9 years ago

This looks fine. Try to run bundle update and then deploy again. I think that you’re referencing commit in Gemfile.lock that doesn’t exist anymore.

Heroku has an “ephemeral file system”, so what may be there one moment may not be the next.

Ah, right, I’ve forgotten to that.

jxxcarlson commented 9 years ago

Jim

http://noteshare.io

On Jan 26, 2015, at 12:14 PM, Jakub Jirutka notifications@github.com wrote:

This looks fine. Try to run bundle update and then deploy again. I think that you’re referencing commit in Gemfile.lock that doesn’t exist anymore.

Heroku has an “ephemeral file system”, so what may be there one moment may not be the next.

Ah, right, I’ve forgotten to that.

— Reply to this email directly or view it on GitHub.

Tried bundle update and redeplyed — same kind of errors.

Weird!

I’ve attached a transcript of what I did ...

$ git br ad-latex ajax bad-master hope latex

-----> Ruby app detected -----> Compiling Ruby/Rails -----> Using Ruby version: ruby-2.1.2 -----> Installing dependencies using 1.7.12 Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment Fetching gem metadata from https://rubygems.org/........ Fetching git://github.com/asciidoctor/asciidoctor-latex.git fatal: Could not parse object '7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780'. Git error: command git reset --hard 7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780 in directory /tmp/build_3ec79e4e746c08aaa5b09ad1a7b45485/vendor/bundle/ruby/2.1.0/bundler/gems/asciidoctor-latex-7b51ac42bf78 has failed. If this error persists you could try removing the cache directory '/tmp/build_3ec79e4e746c08aaa5b09ad1a7b45485/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf' Bundler Output: Fetching gem metadata from https://rubygems.org/........ Fetching git://github.com/asciidoctor/asciidoctor-latex.git fatal: Could not parse object '7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780'. Git error: command git reset --hard 7b51ac42bf78d0bf8a3bc19edd20d4e4e97a0780 in directory /tmp/build_3ec79e4e746c08aaa5b09ad1a7b45485/vendor/bundle/ruby/2.1.0/bundler/gems/asciidoctor-latex-7b51ac42bf78 has failed. If this error persists you could try removing the cache directory '/tmp/build_3ec79e4e746c08aaa5b09ad1a7b45485/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf' ! ! Failed to install gems via Bundler. !

! Push rejected, failed to compile Ruby app

To git@heroku.com:gentility.git ! [remote rejected] latex2 -> master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:gentility.git' $ heroku run bash --app gentility Running bash attached to terminal... up, run.8477 ~ $ rm /tmp/build_3ec79e4e746c08aaa5b09ad1a7b45485/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf rm: cannot remove `/tmp/build_3ec79e4e746c08aaa5b09ad1a7b45485/vendor/bundle/ruby/2.1.0/cache/bundler/git/asciidoctor-latex-0cd500cc6bcc3aa4515af3dd6d51e84257ee77cf': No such file or directory ~ $

jirutka commented 9 years ago

I had to mention that you must commit changes in Gemfile.lock before deploying to Heroku.

I assume that you don’t have Gemfile.lock in .gitignore, if you do have, then the cause must be elsewhere.

jxxcarlson commented 9 years ago

No Gemfile.lock in .gitignore

I’ve been through the whole process several times now, with

$ rm Gemfile.lock $ bundle update $ git status

=> On branch latex2

=> nothing to commit, working directory clean

$ git push —force staging latex2:master

I was puzzled by the result of git status, but I had done bundle update before, so I think that the Gemfile.lock that is t generated after I removed is identical to the one before Could the asdiidoctor ~> 1.5.0 in the asciidoctor-latex somehow interact badly with the _1.5.2 of asciidoctor itself? I think you indicated that the answer is no, but i am starting to pull my hair out over this one and therefore grasping at straws.

On Jan 26, 2015, at 12:39 PM, Jakub Jirutka notifications@github.com wrote:

I had to mention that you must commit changes in Gemfile.lock after running bundle update.

I assume that you don’t have Gemfile.lock in .gitignore, if you do have, then the cause must be elsewhere.

— Reply to this email directly or view it on GitHub.

jxxcarlson commented 9 years ago

Tried another experiment:

$ co master $ rails s

/=> No warnings or errors

$ co latex2 $ rails s

/=> Over 600 lines of complaints.

One warning, repeated zillions of times: File.exists? is dpprecated, use File.exist?

Replaced File.exists? by File.exist?, see (1) the diff below.

Did:

$ rm Gemfile.lock $ bundlle update $ rails s

/=> Over 600 lines of complaint, see (2) below

My File.exists? replacement was irrelevant — also, the replacement, if intended just to quiet the warnings, is insufficient in any case because most of those warnings are generated for outside my code.

One thing I don’t understand is that my Gemfile calls for ruby 2.1.2, whereas there is a plethora of warnings like

Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/feature.rb:18: warning: private attribute?

I had seen these messages several weeks ago on heroku when I tried to deploy with asiciidoctor-latex in the Gemfile. At that time the app was not rejected, but it acted strangely. After many tries I had to abandon my attempt to use asciidoctor-latex.

Hmmmm …

(( I usually don’t work with rails s because my app uses subdomains and I have been unable to come up with a good way of running it locally — not a very good state of affairs ))

On Jan 26, 2015, at 12:14 PM, Jakub Jirutka notifications@github.com wrote:

This looks fine. Try to run bundle update and then deploy again. I think that you’re referencing commit in Gemfile.lock that doesn’t exist anymore.

Heroku has an “ephemeral file system”, so what may be there one moment may not be the next.

Ah, right, I’ve forgotten to that.

— Reply to this email directly or view it on GitHub.

(1) A small but useless change:

Change File.exists? to File.exist?

$ git merge exist Updating 2846d73..5a43786 Fast-forward config/boot.rb | 2 +- lib/book.rb | 2 +- lib/print_manager.rb | 2 +- lib/text_transformer.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)

(2) Output of rails s:

$ rails s /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/configuration.rb:81: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/feature.rb:18: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/feature.rb:18: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/feature.rb:18: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/feature.rb:18: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/feature.rb:18: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/dmetaphone.rb:20: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/features/dmetaphone.rb:41: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/multisearch/rebuilder.rb:25: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/pg_search-0.7.8/lib/pg_search/normalizer.rb:32: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/geometry_detector_factory.rb:27: warning: assigned but unused variable - e /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/tempfile.rb:23: warning: assigned but unused variable - path /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/thumbnail.rb:80: warning: assigned but unused variable - success /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/attachment.rb:37: warning: method redefined; discarding old whiny /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/attachment.rb:178: warning: method redefined; discarding old defaultstyle /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/storage/filesystem.rb:49: warning: &' after local variable or literal is interpreted as binary operator /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/storage/filesystem.rb:49: warning: even though it seems like argument prefix /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/storage/s3.rb:288: warning: assigned but unused variable - e /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/storage/s3.rb:338: warning: assigned but unused variable - e /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/storage/s3.rb:356: warning: assigned but unused variable - e /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/callbacks.rb:10: warning:' interpreted as argument prefix /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/cocaine-0.5.5/lib/cocaine/command_line.rb:22: warning: method redefined; discarding old runner /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/cocaine-0.5.5/lib/cocaine/command_line/runners/fake_runner.rb:26: warning: assigned but unused variable - env /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228: warning: loading in progress, circular require considered harmful - /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip.rb from bin/rails:4:in <main>' from bin/rails:4:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:73:intap' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:76:in block in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:76:inrequire' from /Users/carlson/dev/webapps/noteshare/config/application.rb:14:in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler.rb:133:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:ineach' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in block in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:ineach' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in block (2 levels) in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip.rb:60:in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in load_dependency' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:inblock in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/paperclip-3.5.4/lib/paperclip/railtie.rb:1:in<top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:inload_dependency' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in block in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:inrequire' /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/simple-navigation-3.14.0/lib/simple_navigation/core/configuration.rb:104: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/simple-navigation-3.14.0/lib/simple_navigation/core/item.rb:128: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/simple-navigation-3.14.0/lib/simple_navigation/core/item.rb:130: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/simple-navigation-3.14.0/lib/simple_navigation/core/item.rb:130: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/simple-navigation-3.14.0/lib/simple_navigation/core/item.rb:130: warning: private attribute? /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/groupdate-2.4.0/lib/groupdate/activerecord.rb:31: warning: `' interpreted as argument prefix /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.1.1/lib/bootstrap-sass/sass_functions.rb:20: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228: warning: loading in progress, circular require considered harmful - /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.1.1/lib/bootstrap-sass.rb from bin/rails:4:in <main>' from bin/rails:4:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:73:in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:73:intap' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:76:in block in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/commands.rb:76:inrequire' from /Users/carlson/dev/webapps/noteshare/config/application.rb:14:in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler.rb:133:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:61:ineach' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:in block in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:72:ineach' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:in block (2 levels) in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.7.6/lib/bundler/runtime.rb:76:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.1.1/lib/bootstrap-sass.rb:73:in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.1.1/lib/bootstrap-sass.rb:5:inload!' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:inload_dependency' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in block in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.1.1.1/lib/bootstrap-sass/sass_functions.rb:2:in <top (required)>' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:inrequire' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in load_dependency' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:inblock in require' from /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in require' /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/friendly_id-5.0.5/lib/friendly_id/finder_methods.rb:50: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/log_buddy-0.7.0/lib/log_buddy/utils.rb:25: warning: assigned but unused variable - args /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/gon-5.2.3/lib/gon/jbuilder.rb:79: warning: assigned but unused variable - output /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.4/lib/rspec/core/hooks.rb:388: warning: method redefined; discarding old append /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.4/lib/rspec/core/hooks.rb:382: warning: previous definition of append was here /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.4/lib/rspec/core/hooks.rb:389: warning: method redefined; discarding old prepend /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.4/lib/rspec/core/hooks.rb:382: warning: previous definition of prepend was here /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/uniform_notifier-1.6.2/lib/uniform_notifier/growl.rb:64: warning: mismatched indentations at 'end' with 'class' at 2 /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/uniform_notifier-1.6.2/lib/uniform_notifier/growl.rb:65: warning: mismatched indentations at 'end' with 'module' at 1 /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/uniform_notifier-1.6.2/lib/uniform_notifier.rb:25: warning: method redefined; discarding old growl= /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/uniform_notifier-1.6.2/lib/uniform_notifier.rb:29: warning: method redefined; discarding old xmpp= /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/uniform_notifier-1.6.2/lib/uniform_notifier.rb:37: warning: method redefined; discarding old raise= /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bullet-4.14.2/lib/bullet.rb:42: warning: method redefined; discarding old enable= /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bullet-4.14.2/lib/bullet.rb:136: warning: method redefined; discarding old notification_collector /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/word_wrapper-0.5.0/lib/word_wrapper.rb:15: warning: assigned but unused variable - e /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/lograge-0.3.1/lib/lograge.rb:68: warning: method redefined; discarding old ignore_tests /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/core_ext/module/attribute_accessors.rb:18: warning: previous definition of ignore_tests was here /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/lograge-0.3.1/lib/lograge.rb:68: warning: method redefined; discarding old ignore_tests /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.0.0/lib/active_support/core_ext/module/attribute_accessors.rb:11: warning: previous definition of ignore_tests was here /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/diffy-3.0.7/lib/diffy/diff.rb:43: warning: method redefined; discarding old diff /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/application.rb:184: warning: File.exists? is a deprecated name, use File.exist? instead (eval):2: warning: method redefined; discarding old debug (eval):1: warning: previous definition of debug was here (eval):2: warning: method redefined; discarding old info (eval):1: warning: previous definition of info was here (eval):2: warning: method redefined; discarding old warn (eval):1: warning: previous definition of warn was here (eval):2: warning: method redefined; discarding old error (eval):1: warning: previous definition of error was here (eval):2: warning: method redefined; discarding old fatal (eval):1: warning: previous definition of fatal was here (eval):2: warning: method redefined; discarding old debug (eval):1: warning: previous definition of debug was here (eval):1: warning: method redefined; discarding old debug? (eval):1: warning: previous definition of debug? was here (eval):2: warning: method redefined; discarding old info (eval):1: warning: previous definition of info was here (eval):1: warning: method redefined; discarding old info? (eval):1: warning: previous definition of info? was here (eval):2: warning: method redefined; discarding old warn (eval):1: warning: previous definition of warn was here (eval):1: warning: method redefined; discarding old warn? (eval):1: warning: previous definition of warn? was here (eval):2: warning: method redefined; discarding old error (eval):1: warning: previous definition of error was here (eval):1: warning: method redefined; discarding old error? (eval):1: warning: previous definition of error? was here (eval):2: warning: method redefined; discarding old fatal (eval):1: warning: previous definition of fatal was here (eval):1: warning: method redefined; discarding old fatal? (eval):1: warning: previous definition of fatal? was here (eval):1: warning: method redefined; discarding old all? (eval):1: warning: previous definition of all? was here (eval):1: warning: method redefined; discarding old off? (eval):1: warning: previous definition of off? was here (eval):1: warning: method redefined; discarding old debug (eval):2: warning: previous definition of debug was here (eval):1: warning: method redefined; discarding old debug? (eval):1: warning: previous definition of debug? was here (eval):1: warning: method redefined; discarding old info (eval):2: warning: previous definition of info was here (eval):1: warning: method redefined; discarding old info? (eval):1: warning: previous definition of info? was here (eval):1: warning: method redefined; discarding old warn (eval):2: warning: previous definition of warn was here (eval):1: warning: method redefined; discarding old warn? (eval):1: warning: previous definition of warn? was here (eval):1: warning: method redefined; discarding old error (eval):2: warning: previous definition of error was here (eval):1: warning: method redefined; discarding old error? (eval):1: warning: previous definition of error? was here (eval):1: warning: method redefined; discarding old fatal (eval):2: warning: previous definition of fatal was here (eval):1: warning: method redefined; discarding old fatal? (eval):1: warning: previous definition of fatal? was here (eval):1: warning: method redefined; discarding old all? (eval):1: warning: previous definition of all? was here (eval):1: warning: method redefined; discarding old off? (eval):1: warning: previous definition of off? was here (eval):2: warning: method redefined; discarding old debug (eval):1: warning: previous definition of debug was here (eval):1: warning: method redefined; discarding old debug? (eval):1: warning: previous definition of debug? was here (eval):2: warning: method redefined; discarding old info (eval):1: warning: previous definition of info was here (eval):1: warning: method redefined; discarding old info? (eval):1: warning: previous definition of info? was here (eval):2: warning: method redefined; discarding old warn (eval):1: warning: previous definition of warn was here (eval):1: warning: method redefined; discarding old warn? (eval):1: warning: previous definition of warn? was here (eval):2: warning: method redefined; discarding old error (eval):1: warning: previous definition of error was here (eval):1: warning: method redefined; discarding old error? (eval):1: warning: previous definition of error? was here (eval):2: warning: method redefined; discarding old fatal (eval):1: warning: previous definition of fatal was here (eval):1: warning: method redefined; discarding old fatal? (eval):1: warning: previous definition of fatal? was here (eval):1: warning: method redefined; discarding old all? (eval):1: warning: previous definition of all? was here (eval):1: warning: method redefined; discarding old off? (eval):1: warning: previous definition of off? was here (eval):1: warning: method redefined; discarding old debug (eval):2: warning: previous definition of debug was here (eval):1: warning: method redefined; discarding old debug? (eval):1: warning: previous definition of debug? was here (eval):1: warning: method redefined; discarding old info (eval):2: warning: previous definition of info was here (eval):1: warning: method redefined; discarding old info? (eval):1: warning: previous definition of info? was here (eval):1: warning: method redefined; discarding old warn (eval):2: warning: previous definition of warn was here (eval):1: warning: method redefined; discarding old warn? (eval):1: warning: previous definition of warn? was here (eval):1: warning: method redefined; discarding old error (eval):2: warning: previous definition of error was here (eval):1: warning: method redefined; discarding old error? (eval):1: warning: previous definition of error? was here (eval):1: warning: method redefined; discarding old fatal (eval):2: warning: previous definition of fatal was here (eval):1: warning: method redefined; discarding old fatal? (eval):1: warning: previous definition of fatal? was here (eval):1: warning: method redefined; discarding old all? (eval):1: warning: previous definition of all? was here (eval):1: warning: method redefined; discarding old off? (eval):1: warning: previous definition of off? was here (eval):2: warning: method redefined; discarding old debug (eval):1: warning: previous definition of debug was here (eval):1: warning: method redefined; discarding old debug? (eval):1: warning: previous definition of debug? was here (eval):2: warning: method redefined; discarding old info (eval):1: warning: previous definition of info was here (eval):1: warning: method redefined; discarding old info? (eval):1: warning: previous definition of info? was here (eval):2: warning: method redefined; discarding old warn (eval):1: warning: previous definition of warn was here (eval):1: warning: method redefined; discarding old warn? (eval):1: warning: previous definition of warn? was here (eval):2: warning: method redefined; discarding old error (eval):1: warning: previous definition of error was here (eval):1: warning: method redefined; discarding old error? (eval):1: warning: previous definition of error? was here (eval):2: warning: method redefined; discarding old fatal (eval):1: warning: previous definition of fatal was here (eval):1: warning: method redefined; discarding old fatal? (eval):1: warning: previous definition of fatal? was here (eval):1: warning: method redefined; discarding old off? (eval):1: warning: previous definition of off? was here (eval):1: warning: method redefined; discarding old debug (eval):2: warning: previous definition of debug was here (eval):1: warning: method redefined; discarding old debug? (eval):1: warning: previous definition of debug? was here (eval):1: warning: method redefined; discarding old info (eval):2: warning: previous definition of info was here (eval):1: warning: method redefined; discarding old info? (eval):1: warning: previous definition of info? was here (eval):1: warning: method redefined; discarding old warn (eval):2: warning: previous definition of warn was here (eval):1: warning: method redefined; discarding old warn? (eval):1: warning: previous definition of warn? was here (eval):1: warning: method redefined; discarding old error (eval):2: warning: previous definition of error was here (eval):1: warning: method redefined; discarding old error? (eval):1: warning: previous definition of error? was here (eval):1: warning: method redefined; discarding old fatal (eval):2: warning: previous definition of fatal was here (eval):1: warning: method redefined; discarding old fatal? (eval):1: warning: previous definition of fatal? was here (eval):1: warning: method redefined; discarding old all? (eval):1: warning: previous definition of all? was here (eval):1: warning: method redefined; discarding old off? (eval):1: warning: previous definition of off? was here (eval):2: warning: method redefined; discarding old debug (eval):1: warning: previous definition of debug was here (eval):1: warning: method redefined; discarding old debug? (eval):1: warning: previous definition of debug? was here (eval):2: warning: method redefined; discarding old info (eval):1: warning: previous definition of info was here (eval):1: warning: method redefined; discarding old info? (eval):1: warning: previous definition of info? was here (eval):2: warning: method redefined; discarding old warn (eval):1: warning: previous definition of warn was here (eval):1: warning: method redefined; discarding old warn? (eval):1: warning: previous definition of warn? was here (eval):2: warning: method redefined; discarding old error (eval):1: warning: previous definition of error was here (eval):1: warning: method redefined; discarding old error? (eval):1: warning: previous definition of error? was here (eval):2: warning: method redefined; discarding old fatal (eval):1: warning: previous definition of fatal was here (eval):1: warning: method redefined; discarding old fatal? (eval):1: warning: previous definition of fatal? was here (eval):1: warning: method redefined; discarding old off? (eval):1: warning: previous definition of off? was here /Users/carlson/dev/webapps/noteshare/lib/admin.rb:58: warning: assigned but unused variable - nvu /Users/carlson/dev/webapps/noteshare/lib/amazon.rb:29: warning: assigned but unused variable - ms_bucket /Users/carlson/dev/webapps/noteshare/lib/amazon.rb:52: warning: assigned but unused variable - ms_bucket /Users/carlson/dev/webapps/noteshare/lib/amazon.rb:54: warning: assigned but unused variable - source_obj /Users/carlson/dev/webapps/noteshare/lib/amazon.rb:55: warning: assigned but unused variable - target_obj /Users/carlson/dev/webapps/noteshare/lib/amazon.rb:76: warning: assigned but unused variable - ms_bucket /Users/carlson/dev/webapps/noteshare/lib/amazon.rb:78: warning: assigned but unused variable - source_obj /Users/carlson/dev/webapps/noteshare/lib/book.rb:321: warning: assigned but unused variable - id /Users/carlson/dev/webapps/noteshare/lib/book.rb:325: warning: assigned but unused variable - title /Users/carlson/dev/webapps/noteshare/lib/text_transformer.rb:139: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/text_transformer.rb:149: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/text_transformer.rb:244: warning: assigned but unused variable - html /Users/carlson/dev/webapps/noteshare/lib/text_transformer.rb:391: warning: assigned but unused variable - restore_dollar_rx /Users/carlson/dev/webapps/noteshare/lib/text_transformer.rb:392: warning: assigned but unused variable - restore_dollar_sub /Users/carlson/dev/webapps/noteshare/lib/text_transformer.rb:402: warning: assigned but unused variable - math_inline_rx /Users/carlson/dev/webapps/noteshare/lib/text_transformer.rb:403: warning: assigned but unused variable - math_inline_sub /Users/carlson/dev/webapps/noteshare/lib/utility.rb:185: warning: assigned but unused variable - site /Users/carlson/dev/webapps/noteshare/lib/utility.rb:204: warning: assigned but unused variable - frequencies /Users/carlson/dev/webapps/noteshare/lib/browser_presenter.rb:26: warning: shadowing outer local variable - dict /Users/carlson/dev/webapps/noteshare/lib/comment_processor.rb:204: warning: assigned but unused variable - line_number /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:32: warning: method redefined; discarding old blue /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:3: warning: previous definition of blue was here /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:36: warning: method redefined; discarding old green /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:7: warning: previous definition of green was here /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:40: warning: method redefined; discarding old red /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:11: warning: previous definition of red was here /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:44: warning: method redefined; discarding old yellow /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:15: warning: previous definition of yellow was here /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:48: warning: method redefined; discarding old magenta /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:19: warning: previous definition of magenta was here /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:52: warning: method redefined; discarding old cyan /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:23: warning: previous definition of cyan was here /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:56: warning: method redefined; discarding old white /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:27: warning: previous definition of white was here /Users/carlson/dev/webapps/noteshare/lib/core_ext.rb:60: warning: method redefined; discarding old black /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/core_ext/colored_string.rb:31: warning: previous definition of black was here /Users/carlson/dev/webapps/noteshare/lib/db_tools.rb:153: warning: assigned but unused variable - server /Users/carlson/dev/webapps/noteshare/lib/db_tools.rb:155: warning: assigned but unused variable - server_id /Users/carlson/dev/webapps/noteshare/lib/edit_sync.rb:39: warning: shadowing outer local variable - line /Users/carlson/dev/webapps/noteshare/lib/edit_sync.rb:72: warning: shadowing outer local variable - line /Users/carlson/dev/webapps/noteshare/lib/group_service.rb:323: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/html_handler.rb:16: warning: method redefined; discarding old environment /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/converter.rb:107: warning: previous definition of environment was here /Users/carlson/dev/webapps/noteshare/lib/html_handler.rb:41: warning: method redefined; discarding old click /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/converter.rb:133: warning: previous definition of click was here /Users/carlson/dev/webapps/noteshare/lib/html_handler.rb:53: warning: method redefined; discarding old inline_anchor /Users/carlson/dev/git/asciidoctor-latex/lib/asciidoctor/latex/converter.rb:140: warning: previous definition of inline_anchor was here /Users/carlson/dev/webapps/noteshare/lib/index.rb:20: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/index.rb:68: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/index.rb:115: warning: assigned but unused variable - numerical_part /Users/carlson/dev/webapps/noteshare/lib/index.rb:129: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/note_manager.rb:91: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/note_manager.rb:98: warning: ambiguous first argument; put parentheses or even spaces /Users/carlson/dev/webapps/noteshare/lib/note_manager.rb:136: warning: assigned but unused variable - has_math_flag /Users/carlson/dev/webapps/noteshare/lib/notebook_service.rb:53: warning: assigned but unused variable - slug /Users/carlson/dev/webapps/noteshare/lib/notebook_service.rb:171: warning: mismatched indentations at 'end' with 'begin' at 165 => Booting WEBrick => Rails 4.0.0 application starting in development on http://0.0.0.0:3000 => Runrails server -h` for more startup options => Ctrl-C to shutdown server /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.0.0/lib/rails/paths.rb:206: warning: File.exists? is a deprecated name, use File.exist? instead /Users/carlson/.rbe

jxxcarlson commented 9 years ago

Another puzzler:

I have configured my laptop so that I can run noteshare locally in a limited way. For this I added some entries to /etc/hosts, e.g. locus.io, bodo.my.locus.io.

The Gemfile contains the entry

gem 'asciidoctor-latex', :github => 'asciidoctor/asciidoctor-latex', :branch => ‘master'

When I run bundle update, I see the message

Using asciidoctor-latex 1.5.0.dev from git://github.com/asciidoctor/asciidoctor-latex.git (at /Users/carlson/dev/git/asciidoctor-latex)

I made sure that my local master, and my remotes origin and upstream were in sync before doing rm Gemfile.lcok and bundle update as well as rake install for Asciidoctor-latex

But then we have the Good, the Bad, and the Ugly:

(Good) When I render the contents test.doc (attached) using Asciidoctor convert str I get what I expect (atteced as out.html)

(Bad) When I render those contents via noteshare (which calls Asciidoctor convert str) I do not get what I expect (running noteshare locally).

(Ugly) When I render those contents via the rails console (mode development), I also do not get what I expect (attached as out2.html). Here I set a string to the desired value and execute Asciidoctor.convert str

Regarding the Bad and the Ugly: (a) [env.theorem] renders as it should, (b) [env.equation] does not, (c) <<th-pythagoras- is simply not rendered.

It is almost as if notsshare is using a different file, despite my synchronization efforts.

Any clues?

(1) test.adoc — test file / test string

== Tests (2)
:latex:
[env.theorem#th-geodesic]
--
A line is the shortest path between two points.
--
[env.theorem]
--
Pythagoras said that $a^2 + b^2 = c^2$
--

[env.equation]
--
a^2 + b^2 = c^4
--

[click.comment]
--
This is a comment
--

I refer to <<th-geodesic>>.

==============================

(2) out.html (GOOD)

============================
<style>

.click .title { color: blue; }

.click .title { color: blue; }

</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script>

$(document).ready(function(){ 

$('.openblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.openblock.click').find('.content').hide()

  });

</script>

<script>

$(document).ready(function(){ 

$('.listingblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.listingblock.click').find('.content').hide()

  });

</script>
<div class="sect1">
<h2 id="_tests_2">Tests (2)</h2>
<div class="sectionbody">
<div id="th-geodesic" class="openblock theorem">
<div class="title">Theorem 1.</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
A line is the shortest path between two points.
</div>
</div>
</div>
<div class="openblock theorem">
<div class="title">Theorem 2.</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
Pythagoras said that \(a^2 + b^2 = c^2\)
</div>
</div>
</div>
<div class="openblock equation">
<div class="content">
<table style="width:100%; border-collapse:collapse;border:0"><tr class="zero" style="border-collapse: collapse; border:0; font-size: 10pt; ">
<td>
\[
a^2 + b^2 = c^4
\]
</td>
 <td style="text-align:right">(1) </td> 
</tr></table>
</div>
</div>
<div class="openblock click">
<div class="title">Comment</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
This is a comment
</div>
</div>
</div>
<div class="paragraph">
<p>I refer to <a href=#th-geodesic>Theorem 1</a>.</p>
</div>
</div>
</div>
$ 

(2) BAD

<style>

.click .title { color: blue; }

.click .title { color: blue; }

</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script>

$(document).ready(function(){ 

$('.openblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.openblock.click').find('.content').hide()

  });

</script>

<script>

$(document).ready(function(){ 

$('.listingblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.listingblock.click').find('.content').hide()

  });

</script>
<div class="sect1">
<h2 id="_tests_2">Tests (2)</h2>
<div class="sectionbody">
<div id="th-geodesic" class="openblock theorem">
<div class="title">Theorem 1.</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
A line is the shortest path between two points.
</div>
</div>
</div>
<div class="openblock theorem">
<div class="title">Theorem 2.</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
Pythagoras said that \(a^2 + b^2 = c^2\)
</div>
</div>
</div>
<div class="openblock equation">
<div class="content">
<table style="width:100%; border-collapse:collapse;border:0"><tr class="zero" style="border-collapse: collapse; border:0; font-size: 10pt; ">
<td>
\[
a^2 + b^2 = c^4
\]
</td>
 <td style="text-align:right">(1) </td> 
</tr></table>
</div>
</div>
<div class="openblock click">
<div class="title">Comment</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
This is a comment
</div>
</div>
</div>
<div class="paragraph">
<p>I refer to <a href=#th-geodesic>Theorem 1</a>.</p>
</div>
</div>
</div>

(3) UGLY: ou2.html

<style>

.click .title { color: blue; }

.click .title { color: blue; }

</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script>

$(document).ready(function(){ 

$('.openblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.openblock.click').find('.content').hide()

  });

</script>

<script>

$(document).ready(function(){ 

$('.listingblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.listingblock.click').find('.content').hide()

  });

</script>
<div class="sect1">
<h2 id="_tests_2">Tests (2)</h2>
<div class="sectionbody">
<div id="th-geodesic" class="openblock theorem">
<div class="title">Theorem 1.</div><div class="content">
<div style="line-height:1.15em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em">
A line is the shortest path between two points.
</div>
</div>
</div>
<div class="openblock theorem">
<div class="title">Theorem 2.</div><div class="content">
<div style="line-height:1.15em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em">
Pythagoras said that \(a^2 + b^2 = c^2\)
</div>
</div>
</div>
<div class="openblock equation">
<div class="title">(1)</div><div class="content">
a^2 + b^2 = c^4
</div>
</div>
<div class="openblock click">
<div class="title">Comment</div><div class="content">
<div style="line-height:1.15em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em">
This is a comment
</div>
</div>
</div>
<div class="paragraph">
<p>I refer to .</p>
</div>
</div>
</div>

On Jan 26, 2015, at 10:39 AM, Jakub Jirutka notifications@github.com wrote:

I had to mention that you must commit changes in Gemfile.lock after running bundle update.

I assume that you don’t have Gemfile.lock in .gitignore, if you do have, then the cause must be elsewhere.

— Reply to this email directly or view it on GitHub.

jirutka commented 9 years ago

The first (good) and second (bad) snippets are the same, just the third one differs. Are you running rails console via bundle exec?

I’m sorry, but I can’t help you with the code that I don’t see.

jxxcarlson commented 9 years ago

On Feb 1, 2015, at 7:37 AM, Jakub Jirutka notifications@github.com wrote:

The first (good) and second (bad) snippets are the same, just the third one differs. Are you running rails console via bundle exec?

^^ Oops! must have mis-pasted in my somnolent state. I’m sorry, but I can’t help you with the code that I don’t see.

^^ Understood!

Here is the code: https://github.com/jxxcarlson/vschool https://github.com/jxxcarlson/vschool .

The place where Asciidoctor.convert is called is https://github.com/jxxcarlson/vschool/blob/master/lib/text_transformer.rb#L245 https://github.com/jxxcarlson/vschool/blob/master/lib/text_transformer.rb#L245

Reply to this email directly or view it on GitHub https://github.com/asciidoctor/asciidoctor-latex/issues/23#issuecomment-72367134.

Below is diagnostic info. I have one string use for INPUT (1) in two different settings:

(2) Asciidoctor.convert text, backend: 'html' from bundle exec rails c

(3) Asciidoctor.convert text, backend: 'html' from a ruby script executed in the terminal

They are both doing Asciidoctor conversion but give different results.

(1) INPUT, the contents of file test.adoc, listed below is the source text used in testing

== Tests (2)

[env.theorem#th-geodesic]
--
A line is the shortest path between two points.
--
[env.theorem]
--
Pythagoras said that $a^2 + b^2 = c^2$
--

[env.equation]
--
a^2 + b^2 = c^4
--

[click.comment]
--
This is a comment
--

I refer to <<th-geodesic>>.

(2) The file out2.html below is the output of Asciidoctor.convert text, backend: 'html' from bundle exec rails c, then text = INPUT where INPUT is as above.

========
out2.html:
========

<style>

.click .title { color: blue; }

.click .title { color: blue; }

</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script>

$(document).ready(function(){ 

$('.openblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.openblock.click').find('.content').hide()

  });

</script>

<script>

$(document).ready(function(){ 

$('.listingblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.listingblock.click').find('.content').hide()

  });

</script>
<div class="sect1">
<h2 id="_tests_2">Tests (2)</h2>
<div class="sectionbody">
<div id="th-geodesic" class="openblock theorem">
<div class="title">Theorem 1.</div><div class="content">
<div style="line-height:1.15em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em">
A line is the shortest path between two points.
</div>
</div>
</div>
<div class="openblock theorem">
<div class="title">Theorem 2.</div><div class="content">
<div style="line-height:1.15em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em">
Pythagoras said that \(a^2 + b^2 = c^2\)
</div>
</div>
</div>
<div class="openblock equation">
<div class="title">(1)</div><div class="content">
a^2 + b^2 = c^4
</div>
</div>
<div class="openblock click">
<div class="title">Comment</div><div class="content">
<div style="line-height:1.15em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em">
This is a comment
</div>
</div>
</div>
<div class="paragraph">
<p>I refer to .</p>
</div>
</div>
</div>

(3) FILE out.html is produced by running

$ ruby convert.rb test.adoc

Here are the contents of convert.rb:

require 'asciidoctor'
require 'asciidoctor-latex'
text = IO.read(ARGV[0])
puts Asciidoctor.convert text, backend: ‘html'

Here is the output:

<style>

.click .title { color: blue; }

.click .title { color: blue; }

</style>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script>

$(document).ready(function(){ 

$('.openblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.openblock.click').find('.content').hide()

  });

</script>

<script>

$(document).ready(function(){ 

$('.listingblock.click').click( function()  { $(this).find('.content').slideToggle('200') }  )

$('.listingblock.click').find('.content').hide()

  });

</script>
<div class="sect1">
<h2 id="_tests_2">Tests (2)</h2>
<div class="sectionbody">
<div id="th-geodesic" class="openblock theorem">
<div class="title">Theorem 1.</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
A line is the shortest path between two points.
</div>
</div>
</div>
<div class="openblock theorem">
<div class="title">Theorem 2.</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
Pythagoras said that \(a^2 + b^2 = c^2\)
</div>
</div>
</div>
<div class="openblock equation">
<div class="content">
<table style="width:100%; border-collapse:collapse;border:0"><tr class="zero" style="border-collapse: collapse; border:0; font-size: 10pt; ">
<td>
\[
a^2 + b^2 = c^4
\]
</td>
 <td style="text-align:right">(1) </td> 
</tr></table>
</div>
</div>
<div class="openblock click">
<div class="title">Comment</div><div class="content">
<div style='line-height:1.5em;font-size:1.05em;font-style:oblique;margin-bottom:1.5em'>
This is a comment
</div>
</div>
</div>
<div class="paragraph">
<p>I refer to <a href=#th-geodesic>Theorem 1</a>.</p>
</div>
</div>
</div>
jxxcarlson commented 9 years ago

Oops, I sent you a link for the main branch. It should be on the latex3 branch:

https://github.com/jxxcarlson/vschool/blob/latex3/lib/text_transformer.rb#L245

To see what noteshare.io does, you can view

 http://noteshare.io/section/a-sample-document 

in your browser (no login needed), The site is powered by Asciidoctor.

If you want to see more of what noteshare.io does, you can go to http://noteshare.io http://noteshare.io/ and sign up with access code C7092.

It is running on the master branch. I’ve adapted code from Asciidoctor-latex to run on noteshare, but would like to have it running on the asciidoctor-latex gem. Doing this and making asciidoctor-latex pass a complete set of tests are my two top priorities now.

On Feb 1, 2015, at 7:37 AM, Jakub Jirutka notifications@github.com wrote:

The first (good) and second (bad) snippets are the same, just the third one differs. Are you running rails console via bundle exec?

I’m sorry, but I can’t help you with the code that I don’t see.

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/asciidoctor-latex/issues/23#issuecomment-72367134.

jxxcarlson commented 9 years ago

And also and more importantly:

https://github.com/jxxcarlson/vschool/blob/latex3/lib/text_transformer.rb#L477=
jxxcarlson commented 9 years ago

I can now push to heroku with the asciidoctor-latex gem installed.

So the remaining problem is why the output is different in the two cases.

On Feb 1, 2015, at 7:37 AM, Jakub Jirutka notifications@github.com wrote:

The first (good) and second (bad) snippets are the same, just the third one differs. Are you running rails console via bundle exec?

I’m sorry, but I can’t help you with the code that I don’t see.

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/asciidoctor-latex/issues/23#issuecomment-72367134.

jxxcarlson commented 9 years ago

Sorry for the flurry of message. Any suggestions are greatly appreciated!

I cleaned up some of the code,enabled asciidoctor-latex and pushed. The critical line is now

   https://github.com/jxxcarlson/vschool/blob/latex3/lib/text_transformer.rb#L479 .

This is where Asciidoctor.convert is called

I do get these message when I push to heroku:

Using asciidoctor-latex 1.5.0.dev from git://github.com/asciidoctor/asciidoctor-latex.git (at /Users/carlson/dev/git/asciidoctor-latex)

asciidoctor-latex at /Users/carlson/dev/git/asciidoctor-latex did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
 ["rspec/data/foo", "rspec/data/lorem"] are not files

The latex branch now supercedes the latex3 branch.

My commit message may be useful:

On Feb 1, 2015, at 7:37 AM, Jakub Jirutka notifications@github.com wrote:

The first (good) and second (bad) snippets are the same, just the third one differs. Are you running rails console via bundle exec?

I’m sorry, but I can’t help you with the code that I don’t see.

— Reply to this email directly or view it on GitHub.

jxxcarlson commented 9 years ago

It is working now. I cleaned things up, but do not know what 'cured" the misbehavior.