Closed jvatic closed 14 years ago
I have duplicated this problem with the following steps:
rvm ree
rvm gemset create rails3
rvm ree@rails3
gem install rails
rails new debug
cd debug
vim Gemfile
and insert gem 'barista', '>= 0.5.0'
mkdir app/coffeescripts
vim app/coffeescripts/application.coffee
and insert alert 'Hello Coffee'
bundle install
rails g scaffold Post title:string body:text
rake db:create
rake db:migrate
vim app/views/layouts/application.html.erb
and change <%= javascript_include_tag :defaults %>
to <%= javascript_include_tag :defaults, 'application' %>
rm public/index.html
root :to => "posts#index"
to config/routes.rb
rails server
and in browser go to http://localhost:3000
In the console we get:
$ rails server => Booting WEBrick => Rails 3.0.0 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-09-21 15:00:57] INFO WEBrick 1.3.1 [2010-09-21 15:00:57] INFO ruby 1.8.7 (2010-04-19) [i686-darwin10.4.0] [2010-09-21 15:00:57] INFO WEBrick::HTTPServer#start: pid=3874 port=3000 Started GET "/" for 127.0.0.1 at Tue Sep 21 15:00:58 -0400 2010 Processing by PagesController#index as HTML
...and then the Barista part...
[Barista] Compiling all scripts [Barista] Compiling all coffeescripts [Barista] The coffeescript compiler at 'coffee' is currently unavailable.
In the browser, as expected by this output, there is no alert and application.js renders as:
Action Controller: Exception caught Barista::CompilerUnavailableError in BaristaController#show
The coffeescript compiler 'coffee' could not be found.
Rails.root: baristaDebug
Application Trace | Framework Trace | Full Tracebarista (0.5.1) lib/barista/compiler.rb:17:in `check_availability!' barista (0.5.1) lib/barista/compiler.rb:15:in `tap' barista (0.5.1) lib/barista/compiler.rb:15:in `check_availability!' barista (0.5.1) lib/barista.rb:85:in `compile_file!' barista (0.5.1) app/controllers/barista_controller.rb:11:in `show' actionpack (3.0.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.0.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.0.0) lib/abstract_controller/base.rb:150:in `process_action' actionpack (3.0.0) lib/action_controller/metal/rendering.rb:11:in `process_action' actionpack (3.0.0) lib/abstract_controller/callbacks.rb:18:in `process_action' activesupport (3.0.0) lib/active_support/callbacks.rb:435:in `_run__255105042__process_action__453433196__callbacks' activesupport (3.0.0) lib/active_support/callbacks.rb:409:in `send' activesupport (3.0.0) lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks' activesupport (3.0.0) lib/active_support/callbacks.rb:93:in `send' activesupport (3.0.0) lib/active_support/callbacks.rb:93:in `run_callbacks' actionpack (3.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' activesupport (3.0.0) lib/active_support/notifications.rb:52:in `instrument' activesupport (3.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (3.0.0) lib/active_support/notifications.rb:52:in `instrument' actionpack (3.0.0) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.0.0) lib/action_controller/metal/rescue.rb:17:in `process_action' actionpack (3.0.0) lib/abstract_controller/base.rb:119:in `process' actionpack (3.0.0) lib/abstract_controller/rendering.rb:40:in `process' actionpack (3.0.0) lib/action_controller/metal.rb:133:in `dispatch' actionpack (3.0.0) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.0.0) lib/action_controller/metal.rb:173:in `action' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:62:in `call' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:62:in `dispatch' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:27:in `call' rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in `call' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `recognize' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:75:in `optimized_each' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize' rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:492:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/head.rb:14:in `call' rack (1.2.1) lib/rack/methodoverride.rb:24:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/flash.rb:182:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/cookies.rb:287:in `call' activerecord (3.0.0) lib/active_record/query_cache.rb:32:in `call' activerecord (3.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' activerecord (3.0.0) lib/active_record/query_cache.rb:12:in `cache' activerecord (3.0.0) lib/active_record/query_cache.rb:31:in `call' activerecord (3.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/callbacks.rb:46:in `call' activesupport (3.0.0) lib/active_support/callbacks.rb:415:in `_run_call_callbacks' actionpack (3.0.0) lib/action_dispatch/middleware/callbacks.rb:44:in `call' rack (1.2.1) lib/rack/sendfile.rb:107:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/remote_ip.rb:48:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/show_exceptions.rb:46:in `call' railties (3.0.0) lib/rails/rack/logger.rb:13:in `call' rack (1.2.1) lib/rack/runtime.rb:17:in `call' activesupport (3.0.0) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.2.1) lib/rack/lock.rb:11:in `call' rack (1.2.1) lib/rack/lock.rb:11:in `synchronize' rack (1.2.1) lib/rack/lock.rb:11:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/static.rb:30:in `call' railties (3.0.0) lib/rails/application.rb:168:in `call' railties (3.0.0) lib/rails/application.rb:77:in `send' railties (3.0.0) lib/rails/application.rb:77:in `method_missing' railties (3.0.0) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.2.1) lib/rack/content_length.rb:13:in `call' rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:162:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:95:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:92:in `each' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:92:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:23:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:82:in `start' rack (1.2.1) lib/rack/handler/webrick.rb:13:in `run' rack (1.2.1) lib/rack/server.rb:213:in `start' railties (3.0.0) lib/rails/commands/server.rb:65:in `start' railties (3.0.0) lib/rails/commands.rb:30 railties (3.0.0) lib/rails/commands.rb:27:in `tap' railties (3.0.0) lib/rails/commands.rb:27 script/rails:6:in `require' script/rails:6
barista (0.5.1) lib/barista/compiler.rb:17:in `check_availability!' barista (0.5.1) lib/barista/compiler.rb:15:in `tap' barista (0.5.1) lib/barista/compiler.rb:15:in `check_availability!' barista (0.5.1) lib/barista.rb:85:in `compile_file!' barista (0.5.1) app/controllers/barista_controller.rb:11:in `show' actionpack (3.0.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.0.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (3.0.0) lib/abstract_controller/base.rb:150:in `process_action' actionpack (3.0.0) lib/action_controller/metal/rendering.rb:11:in `process_action' actionpack (3.0.0) lib/abstract_controller/callbacks.rb:18:in `process_action' activesupport (3.0.0) lib/active_support/callbacks.rb:435:in `_run__255105042__process_action__453433196__callbacks' activesupport (3.0.0) lib/active_support/callbacks.rb:409:in `send' activesupport (3.0.0) lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks' activesupport (3.0.0) lib/active_support/callbacks.rb:93:in `send' activesupport (3.0.0) lib/active_support/callbacks.rb:93:in `run_callbacks' actionpack (3.0.0) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (3.0.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' activesupport (3.0.0) lib/active_support/notifications.rb:52:in `instrument' activesupport (3.0.0) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (3.0.0) lib/active_support/notifications.rb:52:in `instrument' actionpack (3.0.0) lib/action_controller/metal/instrumentation.rb:29:in `process_action' actionpack (3.0.0) lib/action_controller/metal/rescue.rb:17:in `process_action' actionpack (3.0.0) lib/abstract_controller/base.rb:119:in `process' actionpack (3.0.0) lib/abstract_controller/rendering.rb:40:in `process' actionpack (3.0.0) lib/action_controller/metal.rb:133:in `dispatch' actionpack (3.0.0) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' actionpack (3.0.0) lib/action_controller/metal.rb:173:in `action' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:62:in `call' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:62:in `dispatch' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:27:in `call' rack-mount (0.6.13) lib/rack/mount/route_set.rb:148:in `call' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `recognize' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:75:in `optimized_each' rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize' rack-mount (0.6.13) lib/rack/mount/route_set.rb:139:in `call' actionpack (3.0.0) lib/action_dispatch/routing/route_set.rb:492:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/head.rb:14:in `call' rack (1.2.1) lib/rack/methodoverride.rb:24:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/params_parser.rb:21:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/flash.rb:182:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/cookies.rb:287:in `call' activerecord (3.0.0) lib/active_record/query_cache.rb:32:in `call' activerecord (3.0.0) lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache' activerecord (3.0.0) lib/active_record/query_cache.rb:12:in `cache' activerecord (3.0.0) lib/active_record/query_cache.rb:31:in `call' activerecord (3.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/callbacks.rb:46:in `call' activesupport (3.0.0) lib/active_support/callbacks.rb:415:in `_run_call_callbacks' actionpack (3.0.0) lib/action_dispatch/middleware/callbacks.rb:44:in `call' rack (1.2.1) lib/rack/sendfile.rb:107:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/remote_ip.rb:48:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/show_exceptions.rb:46:in `call' railties (3.0.0) lib/rails/rack/logger.rb:13:in `call' rack (1.2.1) lib/rack/runtime.rb:17:in `call' activesupport (3.0.0) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.2.1) lib/rack/lock.rb:11:in `call' rack (1.2.1) lib/rack/lock.rb:11:in `synchronize' rack (1.2.1) lib/rack/lock.rb:11:in `call' actionpack (3.0.0) lib/action_dispatch/middleware/static.rb:30:in `call' railties (3.0.0) lib/rails/application.rb:168:in `call' railties (3.0.0) lib/rails/application.rb:77:in `send' railties (3.0.0) lib/rails/application.rb:77:in `method_missing' railties (3.0.0) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.2.1) lib/rack/content_length.rb:13:in `call' rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:162:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:95:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:92:in `each' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:92:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:23:in `start' /Users/x/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:82:in `start' rack (1.2.1) lib/rack/handler/webrick.rb:13:in `run' rack (1.2.1) lib/rack/server.rb:213:in `start' railties (3.0.0) lib/rails/commands/server.rb:65:in `start' railties (3.0.0) lib/rails/commands.rb:30 railties (3.0.0) lib/rails/commands.rb:27:in `tap' railties (3.0.0) lib/rails/commands.rb:27 script/rails:6:in `require' script/rails:6
Request
Parameters:
{"js_path"=>"application"}_csrf_token: "T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=" session_id: "b517453818502acc76af37a98ce3483d"GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "*/*" HTTP_ACCEPT_CHARSET: "ISO-8859-1,utf-8;q=0.7,*;q=0.3" HTTP_ACCEPT_ENCODING: "gzip,deflate,sdch" HTTP_ACCEPT_LANGUAGE: "en-US,en;q=0.8" HTTP_CACHE_CONTROL: "max-age=0" HTTP_CONNECTION: "keep-alive" HTTP_COOKIE: "_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603" HTTP_HOST: "localhost:3000" HTTP_REFERER: "http://localhost:3000/" HTTP_USER_AGENT: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3" HTTP_VERSION: "HTTP/1.1" PATH_INFO: "/javascripts/application.js" QUERY_STRING: "" REMOTE_ADDR: "127.0.0.1" REMOTE_HOST: "192.150.18.101" REQUEST_METHOD: "GET" REQUEST_PATH: "/" REQUEST_URI: "http://localhost:3000/javascripts/application.js" SCRIPT_NAME: "" SERVER_NAME: "localhost" SERVER_PORT: "3000" SERVER_PROTOCOL: "HTTP/1.1" SERVER_SOFTWARE: "WEBrick/1.3.1 (Ruby/1.8.7/2010-04-19)" action_controller.instance: #<BaristaController:0x102095d50 @_status=200, @_request=#<ActionDispatch::Request:0x1020955d0 @filtered_parameters={"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, @fullpath="/javascripts/application.js", @method="GET", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.request.parameters"=>{"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, "rack.session"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x1020feda0 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @env={...}>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3", "REMOTE_HOST"=>"192.150.18.101", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "rack.errors"=>#<IO:0x1001b4a80>, "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.secret_token"=>"5f3551d7d97685ad93e088a737218dd8aa7d29acb3d77422f4bd4c762c0c1e29672bdacaa5fb07cf4a4eed3bbabec3f8bf079bcaad75354a6c119e0683539f61", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-04-19)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/javascripts/application.js", "action_dispatch.request.path_parameters"=>{:js_path=>"application", :action=>"show", :controller=>"barista"}, "rack.request.cookie_string"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "HTTP_REFERER"=>"http://localhost:3000/", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/javascripts/application.js", "rack.request.query_hash"=>{}, "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "SERVER_PORT"=>"3000", "action_controller.instance"=>#<BaristaController:0x102095d50 ...>, "rack.session.options"=>{:httponly=>true, :domain=>nil, :secure=>false, :path=>"/", :expire_after=>nil, :id=>"b517453818502acc76af37a98ce3483d"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x1021019d8>, "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_CONNECTION"=>"keep-alive", "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}>, @_response_body=nil, @_headers={"Content-Type"=>"text/html"}, @_response=#<ActionDispatch::Response:0x102095378 @request=#<ActionDispatch::Request:0x1020955d0 @filtered_parameters={"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, @fullpath="/javascripts/application.js", @method="GET", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.request.parameters"=>{"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, "rack.session"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x1020feda0 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @env={...}>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3", "REMOTE_HOST"=>"192.150.18.101", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "rack.errors"=>#<IO:0x1001b4a80>, "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.secret_token"=>"5f3551d7d97685ad93e088a737218dd8aa7d29acb3d77422f4bd4c762c0c1e29672bdacaa5fb07cf4a4eed3bbabec3f8bf079bcaad75354a6c119e0683539f61", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-04-19)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/javascripts/application.js", "action_dispatch.request.path_parameters"=>{:js_path=>"application", :action=>"show", :controller=>"barista"}, "rack.request.cookie_string"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "HTTP_REFERER"=>"http://localhost:3000/", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/javascripts/application.js", "rack.request.query_hash"=>{}, "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "SERVER_PORT"=>"3000", "action_controller.instance"=>#<BaristaController:0x102095d50 ...>, "rack.session.options"=>{:httponly=>true, :domain=>nil, :secure=>false, :path=>"/", :expire_after=>nil, :id=>"b517453818502acc76af37a98ce3483d"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x1021019d8>, "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_CONNECTION"=>"keep-alive", "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}>, @status=200, @length=0, @etag=nil, @blank=false, @writer=#<Proc:0x0000000102849970@baristaDebug/app/views">, #<ActionView::FileSystemResolver:0x1019b53f0 @caching=false, @cached={}, @path="/Users/x/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/barista-0.5.1/app/views">], @details_key=nil, @skip_default_locale=false, @details={:handlers=>[:rjs, :erb, :rhtml, :rxml, :builder], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}>, @_env={"action_dispatch.request.formats"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.request.parameters"=>{"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, "rack.session"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x1020feda0 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @env={...}>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3", "REMOTE_HOST"=>"192.150.18.101", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "rack.errors"=>#<IO:0x1001b4a80>, "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.secret_token"=>"5f3551d7d97685ad93e088a737218dd8aa7d29acb3d77422f4bd4c762c0c1e29672bdacaa5fb07cf4a4eed3bbabec3f8bf079bcaad75354a6c119e0683539f61", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-04-19)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/javascripts/application.js", "action_dispatch.request.path_parameters"=>{:js_path=>"application", :action=>"show", :controller=>"barista"}, "rack.request.cookie_string"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "HTTP_REFERER"=>"http://localhost:3000/", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/javascripts/application.js", "rack.request.query_hash"=>{}, "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "SERVER_PORT"=>"3000", "action_controller.instance"=>#<BaristaController:0x102095d50 ...>, "rack.session.options"=>{:httponly=>true, :domain=>nil, :secure=>false, :path=>"/", :expire_after=>nil, :id=>"b517453818502acc76af37a98ce3483d"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x1021019d8>, "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_CONNECTION"=>"keep-alive", "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @action_has_layout=true, @_action_name="show", @view_context_class=nil> action_dispatch.cookies: {"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: #<ActionDispatch::RemoteIp::RemoteIpGetter:0x1020feda0 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true, @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.request.parameters"=>{"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, "rack.session"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "HTTP_CACHE_CONTROL"=>"max-age=0", "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x1020feda0 ...>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.62 Safari/534.3", "REMOTE_HOST"=>"192.150.18.101", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"}, "rack.errors"=>#<IO:0x1001b4a80>, "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>], "action_dispatch.secret_token"=>"5f3551d7d97685ad93e088a737218dd8aa7d29acb3d77422f4bd4c762c0c1e29672bdacaa5fb07cf4a4eed3bbabec3f8bf079bcaad75354a6c119e0683539f61", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-04-19)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/javascripts/application.js", "action_dispatch.request.path_parameters"=>{:js_path=>"application", :action=>"show", :controller=>"barista"}, "rack.request.cookie_string"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "HTTP_REFERER"=>"http://localhost:3000/", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/javascripts/application.js", "rack.request.query_hash"=>{}, "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "SERVER_PORT"=>"3000", "action_controller.instance"=>#<BaristaController:0x102095d50 @_status=200, @_request=#<ActionDispatch::Request:0x1020955d0 @filtered_parameters={"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, @fullpath="/javascripts/application.js", @method="GET", @env={...}>, @_response_body=nil, @_headers={"Content-Type"=>"text/html"}, @_response=#<ActionDispatch::Response:0x102095378 @request=#<ActionDispatch::Request:0x1020955d0 @filtered_parameters={"action"=>"show", "js_path"=>"application", "controller"=>"barista"}, @fullpath="/javascripts/application.js", @method="GET", @env={...}>, @status=200, @length=0, @etag=nil, @blank=false, @writer=#<Proc:0x0000000102849970@baristaDebug/app/views">, #<ActionView::FileSystemResolver:0x1019b53f0 @caching=false, @cached={}, @path="/Users/x/.rvm/gems/ree-1.8.7-2010.02@rails3/gems/barista-0.5.1/app/views">], @details_key=nil, @skip_default_locale=false, @details={:handlers=>[:rjs, :erb, :rhtml, :rxml, :builder], :formats=>[:html, :text, :js, :css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json], :locale=>[:en, :en]}>, @_env={...}, @action_has_layout=true, @_action_name="show", @view_context_class=nil>, "rack.session.options"=>{:httponly=>true, :domain=>nil, :secure=>false, :path=>"/", :expire_after=>nil, :id=>"b517453818502acc76af37a98ce3483d"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x1021019d8>, "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_CONNECTION"=>"keep-alive", "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}> action_dispatch.request.accepts: [#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>] action_dispatch.request.content_type: nil action_dispatch.request.formats: [#<Mime::Type:0x1023fae00 @symbol=nil, @string="*/*", @synonyms=[]>] action_dispatch.request.parameters: {"action"=>"show", "js_path"=>"application", "controller"=>"barista"} action_dispatch.request.path_parameters: {:js_path=>"application", :action=>"show", :controller=>"barista"} action_dispatch.request.query_parameters: {} action_dispatch.request.request_parameters: {} action_dispatch.request.unsigned_session_cookie: {"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"} action_dispatch.secret_token: "5f3551d7d97685ad93e088a737218dd8aa7d29acb3d77422f4bd4c762c0c1e29672bdacaa5fb07cf4a4eed3bbabec3f8bf079bcaad75354a6c119e0683539f61" rack.errors: #<IO:0x1001b4a80> rack.input: #<StringIO:0x1021019d8> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_MLBPayrollApp_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ==--56ead30df0bb0c382038fc584b7fce0be6f94180", "_baristaDebug_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA==--aea0c22bb910cac492478c0f264667d17ada3603"} rack.request.cookie_string: "_MLBPayrollApp_session=BAh7ByIQX2NzcmZfdG9rZW4iMTk4QmJxSUJoNmVwRXEwbS9QaGNxUElCUUpUbGk5bnQ5azcvTGFXNG9QSlU9Ig9zZXNzaW9uX2lkIiUxY2RiNzFjYWU2ODJlZDg2ZDU5MGZhMjc0ZDk4NGJhMQ%3D%3D--56ead30df0bb0c382038fc584b7fce0be6f94180; _baristaDebug_session=BAh7ByIQX2NzcmZfdG9rZW4iMVQrbnZnMkR1K2VIdjlob25WV21mSm9QNGRJZG9xQmI0TzIvTm1LdGdXWXM9Ig9zZXNzaW9uX2lkIiViNTE3NDUzODE4NTAyYWNjNzZhZjM3YTk4Y2UzNDgzZA%3D%3D--aea0c22bb910cac492478c0f264667d17ada3603" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"_csrf_token"=>"T+nvg2Du+eHv9honVWmfJoP4dIdoqBb4O2/NmKtgWYs=", "session_id"=>"b517453818502acc76af37a98ce3483d"} rack.session.options: {:httponly=>true, :domain=>nil, :secure=>false, :path=>"/", :expire_after=>nil, :id=>"b517453818502acc76af37a98ce3483d"} rack.url_scheme: "http" rack.version: [1, 1]Response
Headers:
None
Is there a step missing in my setting up of Barista?
Solution is to git://github.com/jashkenas/coffee-script.git
and cd coffee-script
sudo bin/cake install
. Basically the problem was I didn't have coffee installed in /usr/local/bin
, is bundling coffee with this gem an option? That would make it more plugin-play.
Not really unfortunately - since it'd mean hardcoding the eversion. For what it's worth, I personally install node and npm then install coffee script via npm.
Hi, I get the following after including barista into the gem file, adding my coffee scripts to app/coffeescripts (Rails 3 app).
Gemfile:
gem 'barista', '>= 0.5.0'
(and no I didn't forget to run
bundle install
)Any idea as to whats causing this issue?