Rails 4.1 - LoadError: cannot load such file -- active_support/core_ext/string/encoding - ruby-on-rails

I'm updating to Rails 4.1 today. I ran bundle update rails and everything seemed to update nicely. However, when I now try to run any rake task I get the following error:
$ rake --trace
rake aborted!
LoadError: cannot load such file -- active_support/core_ext/string/encoding
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/bsm-sso-client-0.8.4/lib/bsm/sso/client/url_helpers.rb:1:in `<top (required)>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/bsm-sso-client-0.8.4/lib/bsm/sso/client/strategies/ticket.rb:2:in `<class:Ticket>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/bsm-sso-client-0.8.4/lib/bsm/sso/client/strategies/ticket.rb:1:in `<top (required)>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/bsm-sso-client-0.8.4/lib/bsm/sso/client/strategies.rb:5:in `<top (required)>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `block in require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:232:in `load_dependency'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/activesupport-4.1.0/lib/active_support/dependencies.rb:247:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/bsm-sso-client-0.8.4/lib/bsm/sso/client.rb:100:in `<top (required)>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/bsm-sso-client-0.8.4/lib/bsm-sso-client.rb:1:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/bsm-sso-client-0.8.4/lib/bsm-sso-client.rb:1:in `<top (required)>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler/runtime.rb:72:in `block (2 levels) in require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `each'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler/runtime.rb:70:in `block in require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `each'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler/runtime.rb:59:in `require'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#global/gems/bundler-1.3.5/lib/bundler.rb:132:in `require'
/Users/foobar/Work/VerveWireless/gemset/config/application.rb:5:in `<top (required)>'
/Users/foobar/Work/VerveWireless/gemset/Rakefile:5:in `require'
/Users/foobar/Work/VerveWireless/gemset/Rakefile:5:in `<top (required)>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load_rakefile'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/application.rb:687:in `raw_load_rakefile'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/application.rb:94:in `block in load_rakefile'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/application.rb:93:in `load_rakefile'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/application.rb:77:in `block in run'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/bin/rake:23:in `load'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/bin/rake:23:in `<main>'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/bin/ruby_noexec_wrapper:14:in `eval'
/Users/foobar/.rvm/gems/ruby-2.0.0-p247#gemset/bin/ruby_noexec_wrapper:14:in `<main>'
Seems like a dependency issue, but I can't figure out what is missing. Any help would be great, thanks!

After some digging, I found this in the Rails 4.1 removal section of the release notes.
Removed deprecated String#encoding_aware? core extensions (core_ext/string/encoding).
So any instance of this line require 'active_support/core_ext/string/encoding' must be taken out or modified.

Related

'libcurl.so.4.dll': The parameter is incorrect. Rails + LibCurl on Windows

I have Ruby 2.6.0 x64 installed using rubyinstaller on Windows 10.
Bundler seems to work fine but I am not able to use rake tasks or rails actions including rails s. Error traced is given below:
F:\Projects\ruby\myproject>rails db:migrate --trace
rails aborted!
LoadError: Could not open library 'libcurl': The parameter is incorrect.
.
Could not open library 'libcurl.dll': The parameter is incorrect.
.
Could not open library 'libcurl.so.4': The parameter is incorrect.
.
Could not open library 'libcurl.so.4.dll': The parameter is incorrect.
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.15/lib/ffi/library.rb:147:in `block in ffi_lib'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.15/lib/ffi/library.rb:100:in `map'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ffi-1.9.15/lib/ffi/library.rb:100:in `ffi_lib'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ethon-0.12.0/lib/ethon/curls/settings.rb:7:in `<module:Curl>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ethon-0.12.0/lib/ethon/curls/settings.rb:2:in `<module:Ethon>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ethon-0.12.0/lib/ethon/curls/settings.rb:1:in `<top (required)>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ethon-0.12.0/lib/ethon/curl.rb:27:in `<module:Curl>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ethon-0.12.0/lib/ethon/curl.rb:13:in `<module:Ethon>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ethon-0.12.0/lib/ethon/curl.rb:8:in `<top (required)>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/ethon-0.12.0/lib/ethon.rb:15:in `<top (required)>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/typhoeus-1.3.1/lib/typhoeus.rb:2:in `<top (required)>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:81:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:76:in `each'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:76:in `block in require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:65:in `each'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/lib/bundler/runtime.rb:65:in `require'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/lib/bundler.rb:114:in `require'
F:/Projects/ruby/myproject/config/application.rb:21:in `<top (required)>'
F:/Projects/ruby/myproject/Rakefile:4:in `require_relative'
F:/Projects/ruby/myproject/Rakefile:4:in `<top (required)>'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/rake_module.rb:29:in `load'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/rake_module.rb:29:in `load_rakefile'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/application.rb:703:in `raw_load_rakefile'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/application.rb:104:in `block in load_rakefile'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/application.rb:103:in `load_rakefile'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:22:in `block in perform'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/commands/rake/rake_command.rb:20:in `perform'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/command.rb:48:in `invoke'
F:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
I thought this was same as The famous specified module libcurl.dll could not be found error on Windows, but this one doesn't report that it's missing or anything, and seems not to react to any of the libcurl.dll copies (libcurl-x64.dll) newly placed inside F:\Ruby26-x64\bin or restarts :(
What parameter is wrong and how do I fix this?

ruby rails server not starting when i use command rails start in the correct directory

Im not enirly sure why but just to show that all the mail directory files are in there
$ ls
app config.ru Gemfile.lock package.json README.md vendor
bin db lib public test
config Gemfile log Rakefile tmp
real problem is whenever I use
rails server
it pukes out garbage and the on thing I do understand of all of it is that
uglifier had an error. anyone know a fix>
It could aslo be that runtime isnt installed but Im not entirely sure about that. It needs me to add details to this thats why my question is dragging on
rails aborted!
Bundler::GemRequireError: There was an error while trying to load the
gem 'uglifier'.
Gem Load Error is: Could not find a JavaScript runtime. See
https://github.com/rails/execjs for a list of available runtimes.
Backtrace for gem load error is:
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/execjs-
2.7.0/lib/execjs/runtimes.rb:58:in `autodetect'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/execjs-
2.7.0/lib/execjs.rb:5:in `<module:ExecJS>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/execjs-
2.7.0/lib/execjs.rb:4:in `<top (required)>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/uglifier-
3.2.0/lib/uglifier.rb:5:in `require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/uglifier-
3.2.0/lib/uglifier.rb:5:in `<top (required)>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:83:in `require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:83:in `block (2 levels) in
require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:78:in `each'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:78:in `block in require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:67:in `each'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:67:in `require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler.rb:114:in `require'
/home/hyperlisk/readit/config/application.rb:7:in `<top (required)>'
/home/hyperlisk/readit/Rakefile:4:in `require_relative'
/home/hyperlisk/readit/Rakefile:4:in `<top (required)>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/rake-
12.2.1/lib/rake/rake_module.rb:29:in `load'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/rake-
12.2.1/lib/rake/rake_module.rb:29:in `load_rakefile'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/rake-
12.2.1/lib/rake/application.rb:703:in `raw_load_rakefile'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/rake-
12.2.1/lib/rake/application.rb:104:in `block in load_rakefile'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/rake-
12.2.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/rake-
12.2.1/lib/rake/application.rb:103:in `load_rakefile'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/rake-
12.2.1/lib/rake/application.rb:186:in `standard_exception_handling'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/command.rb:46:in `invoke'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Bundler Error Backtrace:
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:86:in `rescue in block (2 levels)
in require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:82:in `block (2 levels) in
require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:78:in `each'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:78:in `block in require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:67:in `each'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:67:in `require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler.rb:114:in `require'
/home/hyperlisk/readit/config/application.rb:7:in `<top (required)>'
/home/hyperlisk/readit/Rakefile:4:in `require_relative'
/home/hyperlisk/readit/Rakefile:4:in `<top (required)>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/command.rb:46:in `invoke'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Caused by:
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See
https://github.com/rails/execjs for a list of available runtimes.
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/execjs-
2.7.0/lib/execjs/runtimes.rb:58:in `autodetect'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/execjs-
2.7.0/lib/execjs.rb:5:in
`<module:ExecJS>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/execjs-
2.7.0/lib/execjs.rb:4:in
`<top (required)>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/uglifier-
3.2.0/lib/uglifier.rb:5:in `require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/uglifier-
3.2.0/lib/uglifier.rb:5:in `<top (required)>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:83:in `require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:83:in `block (2 levels) in
require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:78:in `each'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:78:in `block in require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:67:in `each'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler/runtime.rb:67:in `require'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/bundler-
1.16.0.pre.3/lib/bundler.rb:114:in `require'
/home/hyperlisk/readit/config/application.rb:7:in `<top (required)>'
/home/hyperlisk/readit/Rakefile:4:in `require_relative'
/home/hyperlisk/readit/Rakefile:4:in `<top (required)>'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/command.rb:46:in `invoke'
/home/hyperlisk/.rvm/gems/ruby-2.4.1/gems/railties-
5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)
(OMFG SO MANY SPACES)
You will have to have node.js installed on your system to fix the Javascript runtime error.
On OSX:
brew install nodejs
if your on Ubuntu just run:
sudo apt-get install nodejs
and then run your server, rails s.
If you read through your error message it says that you need to install a JavaScript Runtime.
If using debain/ubuntu you can sudo apt-get install nodejs to install Node
See: Rails - Could not find a JavaScript runtime?

Error with all rails commands

I used to develop with rails on Linux mint, for some reasons i turn to fedora.
I install all the packages and gems using rbenv correctly, But i can't work on my project
Ex: every time i use rails server the terminal output is:
/home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/mysql2-0.4.9/lib/mysql2.rb:31:in `require': /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/mysql2-0.4.9/lib/mysql2/mysql2.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE - /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/mysql2-0.4.9/lib/mysql2/mysql2.so (LoadError)
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/mysql2-0.4.9/lib/mysql2.rb:31:in `<top (required)>'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:83:in `require'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:83:in `block (2 levels) in require'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:78:in `each'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:78:in `block in require'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:67:in `each'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb:67:in `require'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/bundler-1.16.0.pre.3/lib/bundler.rb:114:in `require'
from /home/bassemustafa/rails/depot5/config/application.rb:7:in `<top (required)>'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-5.1.3/lib/rails/commands/server/server_command.rb:129:in `require'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-5.1.3/lib/rails/commands/server/server_command.rb:129:in `block in perform'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-5.1.3/lib/rails/commands/server/server_command.rb:126:in `tap'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-5.1.3/lib/rails/commands/server/server_command.rb:126:in `perform'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-5.1.3/lib/rails/command/base.rb:63:in `perform'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-5.1.3/lib/rails/command.rb:44:in `invoke'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/railties-5.1.3/lib/rails/commands.rb:16:in `<top (required)>'
from /home/bassemustafa/rails/depot5/bin/rails:9:in `require'
from /home/bassemustafa/rails/depot5/bin/rails:9:in `<top (required)>'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:68:in `require'
from /home/bassemustafa/rails/depot5/bin/spring:15:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
and if i used any rails command like rails db:create the output is like this:
rails aborted!
LoadError: /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/mysql2-0.4.9/lib/mysql2/mysql2.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE - /home/bassemustafa/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/mysql2-0.4.9/lib/mysql2/mysql2.so
/home/bassemustafa/rails/depot5/config/application.rb:7:in `<top (required)>'
/home/bassemustafa/rails/depot5/Rakefile:4:in `require_relative'
/home/bassemustafa/rails/depot5/Rakefile:4:in `<top (required)>'
/home/bassemustafa/rails/depot5/bin/rails:9:in `require'
/home/bassemustafa/rails/depot5/bin/rails:9:in `<top (required)>'
/home/bassemustafa/rails/depot5/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'
(See full trace by running task with --trace)
What's the problem?

twitter-bootstrap-rails gem not installing in Rails project

I've just created a new rails application and I am trying to run rails g bootstrap:install from my terminal but my terminal returns this...
Why might this be? I am running rails 4.1.6 and I have bundled all the necessary gems. My only thought would be that the gem hasn't been updated?
/Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223:in `class_eval': /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223: `##{' is not allowed as a class variable name
/Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223: syntax error, unexpected end-of-input
unless defined? ##{:instance_writer=>true}
^ (SyntaxError)
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:223:in `block in cattr_reader'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:222:in `each'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:222:in `cattr_reader'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/aws-s3-0.6.3/lib/aws/s3/extensions.rb:258:in `cattr_accessor'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:155:in `<class:Store>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:154:in `<module:Cache>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:14:in `<module:ActiveSupport>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/cache.rb:12:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/jbuilder-2.2.4/lib/jbuilder/jbuilder_template.rb:3:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/jbuilder-2.2.4/lib/jbuilder/railtie.rb:2:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/activesupport-4.1.6/lib/active_support/dependencies.rb:247:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/jbuilder-2.2.4/lib/jbuilder.rb:318:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `each'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:72:in `block in require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `each'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler/runtime.rb:61:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0#global/gems/bundler-1.5.1/lib/bundler.rb:131:in `require'
from /Users/sambelton/Documents/Masters Work/Advanced Web Application Development/boxintheair/config/application.rb:7:in `<top (required)>'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:82:in `require'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:82:in `preload'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:140:in `serve'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:128:in `block in run'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:122:in `loop'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application.rb:122:in `run'
from /Users/sambelton/.rvm/gems/ruby-2.1.0/gems/spring-1.1.3/lib/spring/application/boot.rb:18:in `<top (required)>'
from /Users/sambelton/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/sambelton/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
Don't you wanna https://github.com/twbs/bootstrap-sass/ ?
It works fine with rails.

Ruby on Rails errors when generate project

Use RubyMine(or IDEA with plugin, same errors) and, when i try to create new project and IDE start to generate files, get this
Error:[rake --prereqs] rake aborted!
LoadError: cannot load such file -- sqlite3/sqlite3_native
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:6:in `require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:2:in `<top (required)>'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `each'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `block in require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `each'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:133:in `require'
D:/Dropbox/RubyProj/Test3/config/application.rb:7:in `<top (required)>'
D:/Dropbox/RubyProj/Test3/Rakefile:4:in `require'
D:/Dropbox/RubyProj/Test3/Rakefile:4:in `<top (required)>'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:687:in `raw_load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:94:in `block in load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:93:in `load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:77:in `block in run'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
D:/Dropbox/RubyProj/Test3/bin/rake:4:in `<main>'
LoadError: cannot load such file -- sqlite3/2.1/sqlite3_native
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:4:in `require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:4:in `<top (required)>'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `each'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `block in require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `each'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `require'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:133:in `require'
D:/Dropbox/RubyProj/Test3/config/application.rb:7:in `<top (required)>'
D:/Dropbox/RubyProj/Test3/Rakefile:4:in `require'
D:/Dropbox/RubyProj/Test3/Rakefile:4:in `<top (required)>'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:687:in `raw_load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:94:in `block in load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:93:in `load_rakefile'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:77:in `block in run'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
D:/Dropbox/RubyProj/Test3/bin/rake:4:in `<main>'
and this
Error:Get available generators script executes with errors:
Error:DL is deprecated, please use Fiddle
Error:C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:6:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x64-mingw32/lib/sqlite3.rb:2:in `<top (required)>'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `require'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `each'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:72:in `block in require'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `each'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:61:in `require'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:133:in `require'
Error: from D:/Dropbox/RubyProj/Test3/config/application.rb:7:in `<top (required)>'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:146:in `require'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:146:in `require_application_and_environment!'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:133:in `generate_or_destroy'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:51:in `generate'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
Error: from C:/tools/ruby213/lib/ruby/gems/2.1.0/gems/railties-4.1.6/lib/rails/commands.rb:17:in `<top (required)>'
Error: from D:/Dropbox/RubyProj/Test3/bin/rails:4:in `require'
Error: from D:/Dropbox/RubyProj/Test3/bin/rails:4:in `<main>'
How to fix it?
Installed last ruby(with chocolatey) and rails 4.1.6(with IDEA or RubyMine)
it occurs linux too, in linux i must first run sudo apt-get install libsqlite3-dev. if you are in windows, in my exp, you only need to install sqlite from http://mislav.uniqpath.com/rails/install-sqlite3/

Resources