Trying to run the tutorial locally after downloading it from the cloud9
(just started, updated the gem file, that's it)...

Ran bundle install (errored on byebug which I since commented out) then
the bundle install worked..

Tried rails server, and it errored out with the following error.

C:/Ruby21/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x86-mingw32/lib/sqlite3.rb:6:in
`require': 126: The specified module co
uld not be found.   -
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.9-x86-mingw32/lib/sqlite3/2.0/sqlite3_native.so
(Lo
adError)

Note I do have sqlite3_native.so  in this folder.  Note I also have
sqlite3 in my ruby21/bin folder.

Why can't it find this file?

my sqlite3.rb contains (note I had to add the 2.0 to the require line
below as that is what is in my directory.
C:\Ruby21\lib\ruby\gems\2.1.0\gems\sqlite3-1.3.9-x86-mingw32\lib\sqlite3\2.0

# support multiple ruby version (fat binaries under windows)
begin
  RUBY_VERSION =~ /(\d+\.\d+)/
  require "sqlite3/#{$1}/sqlite3_native"
rescue LoadError
  require 'sqlite3/2.0/sqlite3_native'
end

require 'sqlite3/database'
require 'sqlite3/version'


thanks for the help...   fyi, everything runs fine on the cloud9, just
trying to create a local version of this...  I've hit every fricking
problem on my local version, rails 4.+++  Ruby 2.1...   I have run the
tutorial locally fine last year, but did not use ruby 2.1  rather
1.something...

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/e63d9e4fe8200a0b14feff49326cccbf%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to