Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7790469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:35:48+00:00 2026-06-01T21:35:48+00:00

I’m trying to precompile assets: Gemfile: source ‘https://rubygems.org’ gem ‘rails’, ‘~> 3.2.1’ # Bundle

  • 0

I’m trying to precompile assets:

Gemfile:

source 'https://rubygems.org'

gem 'rails', '~> 3.2.1'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'


# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'uglifier',     '>= 1.0.3'
  gem 'less'
end

gem 'jquery-rails'


# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# To use Jbuilder templates for JSON
# gem 'jbuilder'

# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'


# Bundle the extra gems:
gem 'haml'
gem 'devise'
gem 'hpricot'
gem 'ruby_parser'
gem 'haml-rails'
gem 'simple_form'
gem 'paperclip', "~> 2.0"
gem 'mini_magick'
gem "geocoder", :require => "geocoder"
gem 'kaminari'
gem 'aws-s3'
gem 'cancan'
gem "friendly_id", "~> 4.0.1"
gem 'thin'
gem "twitter-bootstrap-rails"

group :development do
  gem 'sqlite3'
  gem 'pry'
  gem 'rails-pry'
end

group :production do
  # gem 'mysql2'
  # gem 'ruby-mysql', '~> 2.9.3'
  gem 'exception_notification', :require => 'exception_notifier'
  gem 'pg', '~> 0.11'
end

group :test do
  # gem 'rspec'
  # gem 'rspec-rails'
  # gem 'cucumber'
  # gem 'cucumber-rails'
  # gem 'capybara'
  # gem 'database_cleaner'
  # gem 'webrat'
  # gem 'pickle'
  # gem 'jasmine'
  # gem 'factory_girl'
  # gem 'builder', '~> 2.1.2'
  # gem 'launchy'
  # gem "mocha"
end
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
# group :development, :test do
#   gem 'webrat'
# end

Stack trace:

Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
/Users/victorstan/Sites/pop_bottles ∴ RAILS_ENV=production bundle exec rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/victorstan/.rvm/rubies/ruby-1.9.3-p125/bin/ruby /Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets --trace
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
Unexpected token: keyword (return)
  (in /Users/victorstan/Sites/pop_bottles/app/assets/javascripts/application.js)
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/execjs-1.3.0/lib/execjs/ruby_racer_runtime.rb:32:in `rescue in block in eval'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/execjs-1.3.0/lib/execjs/ruby_racer_runtime.rb:26:in `block in eval'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/execjs-1.3.0/lib/execjs/ruby_racer_runtime.rb:78:in `block in lock'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/therubyracer-0.10.1/lib/v8/c/locker.rb:13:in `Locker'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/execjs-1.3.0/lib/execjs/ruby_racer_runtime.rb:76:in `lock'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/execjs-1.3.0/lib/execjs/ruby_racer_runtime.rb:25:in `eval'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/execjs-1.3.0/lib/execjs/ruby_racer_runtime.rb:17:in `exec'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/uglifier-1.2.4/lib/uglifier.rb:101:in `compile'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/compressors.rb:74:in `compress'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/processing.rb:265:in `block in js_compressor='
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/processor.rb:29:in `call'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/processor.rb:29:in `evaluate'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/tilt-1.3.3/lib/tilt/template.rb:76:in `render'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/context.rb:177:in `block in evaluate'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/context.rb:174:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/context.rb:174:in `evaluate'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/bundled_asset.rb:26:in `initialize'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:244:in `new'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:244:in `build_asset'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/index.rb:89:in `block in build_asset'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/caching.rb:19:in `cache_asset'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/index.rb:88:in `build_asset'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:163:in `find_asset'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/index.rb:56:in `find_asset'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:20:in `block in compile'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:212:in `block in each_logical_path'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:200:in `block (2 levels) in each_file'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:190:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:190:in `each_entry'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:198:in `block in each_file'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:197:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:197:in `each_file'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/sprockets-2.1.2/lib/sprockets/base.rb:210:in `each_logical_path'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/static_compiler.rb:18:in `compile'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/assets.rake:56:in `internal_precompile'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/victorstan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/victorstan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/bin/rake:19:in `load'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile:primary
rake aborted!
Command failed with status (1): [/Users/victorstan/.rvm/rubies/ruby-1.9.3-p...]
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/file_utils.rb:80:in `ruby'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `ruby'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@popbottles/gems/actionpack-3.2.3/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/victorstan/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/lib/rake/app`enter code here`lication.rb:63:in `run'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/bin/rake:19:in `load'
/Users/victorstan/.rvm/gems/ruby-1.9.3-p125@global/bin/rake:19:in `<main>'
Tasks: TOP => assets:precompile
/Users/victorstan/Sites/pop_bottles ∴ 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:35:50+00:00Added an answer on June 1, 2026 at 9:35 pm

    You have an error in your pop_bottles/app/assets/javascripts/application.js. This is not a Heroku problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm trying to create an if statement in PHP that prevents a single post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.