Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake assets:precompile errorSyntaxError: cannot return a value from a constructor: "this.element" in class Button #349

Closed
cernalpanic opened this issue Feb 28, 2013 · 6 comments

Comments

@cernalpanic
Copy link

** Execute assets:precompile:primary
rake aborted!
SyntaxError: cannot return a value from a constructor: "this.element" in class Button
(in /Users/holdman/.rvm/gems/ruby-1.9.3-p374/bundler/gems/mercury-0c048033cd79/app/assets/javascripts/mercury/toolbar.button.js.coffee)

Someone else has the same issue:
http://stackoverflow.com/questions/15119504/mercury-syntaxerror-cannot-return-a-value-from-a-constructor

Trace:
rake assets:precompile --trace
** Invoke assets:precompile (first_time)
** Execute assets:precompile
/Users/holdman/.rvm/rubies/ruby-1.9.3-p374/bin/ruby /Users/holdman/.rvm/gems/ruby-1.9.3-p374@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!
SyntaxError: cannot return a value from a constructor: "this.element" in class Button
(in /Users/holdman/.rvm/gems/ruby-1.9.3-p374/bundler/gems/mercury-0c048033cd79/app/assets/javascripts/mercury/toolbar.button.js.coffee)
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:47:in rescue in block in call' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:43:inblock in call'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:80:in block in lock' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:78:incall'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:78:in Locker' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:78:inlock'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:42:in call' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/coffee-script-2.2.0/lib/coffee_script.rb:57:incompile'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/tilt-1.3.4/lib/tilt/coffee.rb:46:in evaluate' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/tilt-1.3.4/lib/tilt/template.rb:77:inrender'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/context.rb:177:in block in evaluate' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:ineach'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/context.rb:174:in evaluate' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:12:ininitialize'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in new' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:inblock in build_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:in circular_call_protection' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:inbuild_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in block in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:incache_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:infind_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in find_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:106:inblock in build_required_assets'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in each' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:inbuild_required_assets'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:16:in initialize' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:innew'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in block in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:incircular_call_protection'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:inblock in build_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in cache_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:inbuild_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in find_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:infind_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:106:in block in build_required_assets' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:ineach'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in build_required_assets' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:16:ininitialize'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in new' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:inblock in build_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:in circular_call_protection' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:inbuild_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:in block in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:incache_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:infind_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:in find_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:106:inblock in build_required_assets'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:in each' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:100:inbuild_required_assets'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/processed_asset.rb:16:in initialize' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:innew'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:241:in block in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:262:incircular_call_protection'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:240:in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:inblock in build_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in cache_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:inbuild_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in find_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:infind_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/bundled_asset.rb:16:in initialize' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:innew'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:244:in build_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:89:inblock in build_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/caching.rb:19:in cache_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:88:inbuild_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:163:in find_asset' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/index.rb:56:infind_asset'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/static_compiler.rb:23:in block in compile' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:212:inblock in each_logical_path'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:200:in block (2 levels) in each_file' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:ineach'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:190:in each_entry' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:198:inblock in each_file'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:in each' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:197:ineach_file'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/sprockets-2.1.3/lib/sprockets/base.rb:210:in each_logical_path' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/static_compiler.rb:18:incompile'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/assets.rake:56:in internal_precompile' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/assets.rake:70:inblock (3 levels) in <top (required)>'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:228:in call' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:228:inblock in execute'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:223:in each' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:223:inexecute'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:166:in block in invoke_with_call_chain' /Users/holdman/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:159:in invoke_with_call_chain' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:152:ininvoke'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/assets.rake:60:in block (3 levels) in <top (required)>' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:228:incall'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:228:in block in execute' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:223:ineach'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:223:in execute' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:166:inblock in invoke_with_call_chain'
/Users/holdman/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:159:ininvoke_with_call_chain'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:152:in invoke' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:143:ininvoke_task'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:101:in block (2 levels) in top_level' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:101:ineach'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:101:in block in top_level' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:110:inrun_with_threads'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:95:in top_level' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:73:inblock in run'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:160:in standard_exception_handling' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:70:inrun'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/bin/rake:33:in <top (required)>' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/bin/rake:19:inload'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/bin/rake:19:in <main>' Tasks: TOP => assets:precompile:primary rake aborted! Command failed with status (1): [/Users/holdman/.rvm/rubies/ruby-1.9.3-p374...] /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/file_utils.rb:53:inblock in create_shell_runner'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/file_utils.rb:45:in call' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/file_utils.rb:45:insh'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:40:in sh' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/file_utils.rb:80:inruby'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/file_utils_ext.rb:40:in ruby' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/assets.rake:12:inruby_rake_task'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/assets.rake:21:in invoke_or_reboot_rake_task' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/sprockets/assets.rake:29:inblock (2 levels) in <top (required)>'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:228:in call' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:228:inblock in execute'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:223:in each' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:223:inexecute'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:166:in block in invoke_with_call_chain' /Users/holdman/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:159:in invoke_with_call_chain' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/task.rb:152:ininvoke'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:143:in invoke_task' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:101:inblock (2 levels) in top_level'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:101:in each' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:101:inblock in top_level'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:110:in run_with_threads' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:95:intop_level'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:73:in block in run' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:160:instandard_exception_handling'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/lib/rake/application.rb:70:in run' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/gems/rake-10.0.3/bin/rake:33:in<top (required)>'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/bin/rake:19:in load' /Users/holdman/.rvm/gems/ruby-1.9.3-p374@global/bin/rake:19:in

'
/Users/holdman/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in eval' /Users/holdman/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in'
Tasks: TOP => assets:precompile

@gvarela
Copy link
Collaborator

gvarela commented Feb 28, 2013

What version of coffeescript is this being run with? The compiler setup you are using is more strict than what mercury builds with on TravisCI.

@mikepack
Copy link
Collaborator

This pertains to CoffeeScript 1.5.0 where this pull request breaks a lot of code. You'll have to lock in at 1.4.0 for now until the changes are reverted, which looks like it will happen. CoffeeScript bug here.

@gvarela
Copy link
Collaborator

gvarela commented Feb 28, 2013

Awesome thanks for the info @mikepack !

@gvarela gvarela closed this as completed Feb 28, 2013
@cernalpanic
Copy link
Author

thank you.

@jejacks0n
Copy link
Owner

Yeah, also, sorry about that.. I shouldn't be returning anything from the constructor cause it's typically a bad idea … lesson learned.

@fiedl
Copy link

fiedl commented Apr 9, 2013

A quick hint for anyone running still into this: Apparently, this not on rubygems, yet. Thus, include the git repo in your Gemfile without downgrading coffee-script:

# Gemfile
# ...
gem 'mercury-rails', git: 'git://github.com/jejacks0n/mercury'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants