can not require ref in ubuntu 12

75 views
Skip to first unread message

Zhi Yang

unread,
May 18, 2014, 4:13:40 AM5/18/14
to therub...@googlegroups.com
I encounter this error:
/home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/v8/weak.rb:14:in `require': cannot load such file -- ref (LoadError)
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/v8/weak.rb:14:in `<module:Weak>'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/v8/weak.rb:2:in `<module:V8>'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/v8/weak.rb:1:in `<top (required)>'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/v8.rb:3:in `require'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/v8.rb:3:in `<top (required)>'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/therubyracer.rb:1:in `require'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.12.1/lib/therubyracer.rb:1:in `<top (required)>'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `require'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `each'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `block in require'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `each'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `require'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.2/lib/bundler.rb:132:in `require'
from /home/zhiy/work/yottaa/dns/config/application.rb:14:in `<top (required)>'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/railties-3.2.13/lib/rails/commands.rb:39:in `require'
from /home/zhiy/.rvm/gems/ruby-1.9.3-p545/gems/railties-3.2.13/lib/rails/commands.rb:39:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'


but when I execute require 'ref', it is ok.


can someone help me? Thanks

Charles Lowell

unread,
May 19, 2014, 5:51:33 PM5/19/14
to Zhi Yang, therub...@googlegroups.com
I’m not sure I follow. This code is failing on `require ‘ref’` Perhaps you need to run using bundle exec?

cheers,
Charles
 
--
You received this message because you are subscribed to the Google Groups "The Ruby Racer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to therubyracer...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages