install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds

Added by adam baxter over 1 year ago

During the installation, I get the following message

C:\inetpub\wwwroot\redmine23>bundle exec rake generate_secret_token
C:/Ruby19/lib/ruby/gems/2.2.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/
expanded.rb:465: warning: duplicated key at line 466 ignored: "inodot"
rake aborted!
LoadError: cannot load such file -- tiny_tds/tiny_tds
C:/inetpub/wwwroot/redmine23/config/application.rb:5:in `<top (required)>'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `require'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `<top (required)>'
LoadError: cannot load such file -- tiny_tds/2.2/tiny_tds
C:/inetpub/wwwroot/redmine23/config/application.rb:5:in `<top (required)>'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `require'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

C:\inetpub\wwwroot\redmine23>set RAILS_ENV=production

C:\inetpub\wwwroot\redmine23>bundle exec rake db:migrate
C:/Ruby19/lib/ruby/gems/2.2.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/
expanded.rb:465: warning: duplicated key at line 466 ignored: "inodot"
rake aborted!
LoadError: cannot load such file -- tiny_tds/tiny_tds
C:/inetpub/wwwroot/redmine23/config/application.rb:5:in `<top (required)>'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `require'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `<top (required)>'
LoadError: cannot load such file -- tiny_tds/2.2/tiny_tds
C:/inetpub/wwwroot/redmine23/config/application.rb:5:in `<top (required)>'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `require'
C:/inetpub/wwwroot/redmine23/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)

Before that
Installing tiny_tds 0.6.2
no errors

Please tell me what could be the problem?

Replies (10)

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by Ronny . over 1 year ago

Hey Adam,

i had the same problem.
What help for me was using an older version.
Try using rubyinstaller 2.1.x. It seems Ruby 2.2.x has some issues with TinyURL.

Cheers

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by adam baxter over 1 year ago

Thank you very much, now try. I will write a report on the results.

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by adam baxter over 1 year ago

I installed version 2.1.8 x64
and I got the following error when installing

bundle install
...
Checksum of /versions does not match the checksum provided by server! Something
is wrong.

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by adam baxter over 1 year ago

the installation was successful after installation rubyinstaller-2.0.0-p648-x64.exe

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by Ronny . over 1 year ago

Congrats.

I installed version 2.1.8 x64
and I got the following error when installing

For me 2.1.7 worked fine.

Do you plan to run a RailsWebserver or do you want IIS to be your WebServer?

cheers
Ronny

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by Sahib Khan over 1 year ago

Checksum of /versions does not match the checksum provided by server! Something
is wrong.

can be solved with
uninstalling bundler by gem uninstall bundler and then reinstall by gem install bundler

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by Mark Wintch 4 months ago

I am attempting to install Redmine 3.3.0 on Windows Server 2012 SQL 2016

I edited the Gemfile to allow the install of tiny_tds 0.7.0 and uninstalled 0.6.2

I still get the same error as the OP. I get the exact same error with both versions of tiny_tds when attempting to run "bundle exec rails server webrick -e production"

This is after setting the RAILS_ENV=production

RE: install redmine 3.2.0 on windows 2012+IIS+MSSQL LoadError: cannot load such file -- tiny_tds/tiny_tds - Added by cunhua kang 4 months ago

i meet this error too. redmine-3.3.3 + SQL Server 2012 + railsinstaller-3.2.0.exe.

just to fix it like this step:
1. open redmine-3.3.3\Gemfile,and find A replace to B,
A:
gem "tiny_tds", "~> 0.6.2", :platforms => [:mri, :mingw, :x64_mingw]
B:
gem "tiny_tds", "~> 0.7.0", :platforms => [:mri, :mingw, :x64_mingw]
2. then
gem install tiny_tds -v 0.7.0
3. all is OK;

reason:
1. Peter Shannon wrote:

tiny_tds 0.6.0 is bugged with Windows. Install 0.7.0 to fix.

2. gemfile define the tiny_tds allowed between (>=0.6.2,<0.7.0)

and from internet,there is another writing like:
gem "tiny_tds"
do not define the tiny_tds version,you also can try it;

just fine!
good luck!

(1-10/10)