Can not run kautilya.rb

37 views
Skip to first unread message

Khoa Tran

unread,
Sep 2, 2016, 7:28:18 AM9/2/16
to kautilya-users
Hi,
I've followed the intruction but it have not worked. Here is the warning that i get. I don't know how to fix this:
[root@localhost Kautilya]# ./kautilya.rb 
Ignoring bson_ext-1.9.0 because its extensions are not built.  Try: gem pristine bson_ext --version 1.9.0
Ignoring eventmachine-1.0.3 because its extensions are not built.  Try: gem pristine eventmachine --version 1.0.3
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.2.7
Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring mysql2-0.4.4 because its extensions are not built.  Try: gem pristine mysql2 --version 0.4.4
Ignoring mysql2-0.3.11 because its extensions are not built.  Try: gem pristine mysql2 --version 0.3.11
Ignoring sqlite3-1.3.7 because its extensions are not built.  Try: gem pristine sqlite3 --version 1.3.7



./kautilya.rb:18: undefined method `sample' for #<Array:0xb73321f8> (NoMethodError)
[root@localhost Kautilya]# bundle exec rails c
Thank you. 

Khoa Tran

unread,
Sep 2, 2016, 7:44:17 AM9/2/16
to kautilya-users


Vào 18:28:18 UTC+7 Thứ Sáu, ngày 02 tháng 9 năm 2016, Khoa Tran đã viết:
[Update] I've updated into ruby version 2.3.1 and rvm 1.27.0. Here is my new error:
[root@localhost Kautilya]# ./kautilya.rb 
Ignoring executable-hooks-1.3.2 because its extensions are not built.  Try: gem pristine executable-hooks --version 1.3.2
Ignoring gem-wrappers-1.2.7 because its extensions are not built.  Try: gem pristine gem-wrappers --version 1.2.7
/usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in `gem_original_require': no such file to load -- bundler/setup (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:55:in `require'
from ./kautilya.rb:3
Thanks you 
Reply all
Reply to author
Forward
0 new messages