ryanb/nifty-generators

Fail to use nifty_authentication

ElleShen opened this issue · 0 comments

I'm new in rails. I failed at nifty_authentication while building a forum. I've already successfully installed nifty-generators. I got the following error message I can't conprehend.

rails g nifty_authentication

LoadError: load error: sqlite3/sqlite3_native -- java.lang.RuntimeException: C extension initialized against invalid ruby runtime
require at org/jruby/RubyKernel.java:1054
(root) at /Users/jamesshen/.rvm/gems/jruby-1.7.4/gems/sqlite3-1.3.8/lib/sqlite3.rb:6
require at org/jruby/RubyKernel.java:1054
(root) at /Users/jamesshen/.rvm/gems/jruby-1.7.4@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:1
each at org/jruby/RubyArray.java:1617
require at /Users/jamesshen/.rvm/gems/jruby-1.7.4@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72
each at org/jruby/RubyArray.java:1617
require at /Users/jamesshen/.rvm/gems/jruby-1.7.4@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70
require at /Users/jamesshen/.rvm/gems/jruby-1.7.4@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59
require at /Users/jamesshen/.rvm/gems/jruby-1.7.4@global/gems/bundler-1.3.5/lib/bundler.rb:132
require at org/jruby/RubyKernel.java:1054
(root) at /Users/jamesshen/forum/config/application.rb:7
require at org/jruby/RubyKernel.java:1054
(root) at bin/rails:4