Redmine installation error on Windows - windows

I am trying to install redmine on windows7 by using the below url :
http://www.helicontech.com/articles/installing-redmine-on-windows-in-production/
But I have encountered with the below error
Windows error:
The pipe has been ended. (ERROR CODE: 109)
Internal module error
message: Connection has broken type: ZooException file: ZooApplication.cpp
line: 885 version: 3.0.97.450
Can someone help me on this ?

Install Redmine from Zoo beta feed http://www.helicontech.com/zoo/feed-beta/
Or make the following changes to gemfile:
gem "mysql2", "~> 0.3.11" to gem "mysql2", "= 0.3.11" and rename deploy_done.rb to deploy.rb
And run deploy once again.

Related

Unable to install bundler/gems after upgrading jruby and rubymine version (SSLError)

So recently I was encountering some SSL cert issues so in order to help fix that, I've upgraded our jruby 1.7.4 to jruby 9.1.15 and our RubyMine to 2018.2.1 (team using Ruby Cucumber).
However, now we're facing an issue installing /updating gems and bundler after the upgrade.
We're trying to install from the command prompt:
$ set HTTP_PROXY=https://username:password#proxyurl.net:port
$ gem install bundler
And receiving the error:
ERROR: While executing gem ... (OpenSSL::SSL::SSLError)
Received fatal alert: protocol_version
Before setting the proxy the error was:
WARNING: Unable to pull data from 'https://rubygems.org/':
SocketError: Failed to open TCP connection to rubygems.org:443
(initialize: name or service not known)
(https://rubygems.org/specs.4.8.gz)
1 gem installed
I've even tried going to a Starbucks to avoid the proxy altogether but am still getting a similar error.
Just to add in trying to install bundler in RubyMine itself doesn't work.
So somehow I fixed it.. I'm not able to reproduce the fix but that might be related to some foundation problems the fix caused.
Basic steps I used (any of these might help):
Removed versions from gemfile
Trying to install bundler from outside proxy
Install bundler through command prompt and install gems through RubyMine
Change gemfile source to 'http' instead of 'https'
Will update more if I find how to reproduce fix

Unable to download from rubygems.org

I just installed ruby version 2.3.0p0 using the ruby installer for windows and was trying to install bundler. When I run gem install bundler I get the following error:
Could not find a valid gem 'bundler' (>=0), here is why
Unable to download data from (link removed) rubygems -Errno:ETIMEDOUT:
Failed to open TCP connection to api.rubygems.org:443 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. -connect(2) for "api.rubygems.org" port 443)(https://api.rubygems.org/specs.4.8.gz)
Some research led me to try running gem install --http-proxy http://[user]:[password]#[server]:[port] which i think might work because I am behind a proxy here and a similiar solution helped me clone a git repository earlier.
But when i tried this command I got the following error:
ERROR: While executing gem ... (Gem:CommandLineError)
Please Specify at least one gem name (e.g. gem build GEMNAME)
UPDATE
So I tried that gem install --http-proxy.... command again with the gem name at the end and I am back to getting the original TCP connection error above. I am pretty sure the login information I entered is correct. I also added --source http://... instead of the https one but still am having the same problem?
1st off your error is pretty telling-
ERROR: While executing gem ... (Gem:CommandLineError) Please Specify
at least one gem name (e.g. gem build GEMNAME)
2nd make sure you have met the requirements for what you're trying to do http://bundler.io/
then run the code..
gem install bundler
bundle init
echo 'gem "rspec"' >> Gemfile
bundle install
bundle exec rspec
In 2023, the best way to install bundler on an old version of Ruby is:
gem update --system
RubyGems and Bundler now ship together, so to get the latest bundler, you should just install the latest RubyGems.
would you try disable ipv6, it had been worked for me

MIDDLEMAN: "$ middleman init my_new_project" not working (screenshot attached)

I just installed Ruby and Middleman for the first time and I cannot get past the very first "$ middleman init my_new_project" step. I have tried Googling for solution to my problem but unfortunately I couldn't find anything that looks like the error I'm encountering.
I hope someone can help me out.
OS: Windows 10 |
Ruby: 2.2.3 (x64) (tried Ruby 2.1.7 first) |
Middleman: 4.0.0
This is the error message I'm getting when I try to create a new project in a folder I created to try out Middleman:
run git clone --depth 1 git://github.com/middleman/middleman-templates-default.git C:/Users/Lenovo/AppData/Local/Temp/d20160120-1612-c2sqbk from "."
exist new_project_test
run bundle install from ".new_project_test"
Could not locate Gemfile or .bundle/ directory
This just creates an empty "new_project_test" folder.
Screenshot of the command prompt: middleman init not working (alt. image link)
What happens if you just run 'middleman init'?
You can also try to create the Gemfile manually, if it's not getting created on the first step, then run init again. The default one would look like this:
# If you do not have OpenSSL installed, update
# the following line to use "http://" instead
source 'https://rubygems.org'
gem "middleman", "~>3.4.1"
# Live-reloading plugin
gem "middleman-livereload", "~> 3.3.0"
# For faster file watcher updates on Windows:
gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw]
# Windows does not come with time zone data
gem "tzinfo-data", platforms: [:mswin, :mingw, :jruby]

Ruby Shoes App, Gem Chef: bad response Not Found 404

I'm trying to write a Shoes app that will call Chef classes and modules. To accomplish this, I'm using Shoes 3.2.21-gtk2 and using the following code before my Shoes app code:
Shoes.setup do
gem 'chef'
end
Shoes.app do
...
end
When I run the app from Shoes, it attempts to install chef, and even determines the latest version (12.0.3) however, I get the following error during the installation:
bad response Not Found 404 (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/pry-0.10.1-x86-mingw32.gemspec.rz)
This version of Shoes is using Ruby 2.1.5-p273, which satisfies the minimum requirement of the Chef gem: https://rubygems.org/gems/chef
Is there some bug in Shoes with its ssl code? Or am I missing something else?
I got this error too.
The error occurs when trying to install the "pry gem". In my case was a bug that happened in my old version of rubygems (2.4.6).
FIX:
1 - Install another version of rubygems
gem update --system 2.4.4
2 - Install pry
gem install pry
The error also happens with the 2.4.5 version of rubygems: https://github.com/rubygems/rubygems/issues/1120

Running jekyll server in windows 7 results in "error: Invalid argument"

It is my first time using Jekyll. Running jekyll server gives me this error:
Configuration file: h:/jekyll_demo/myblog/_config.yml
Source: h:/jekyll_demo/myblog
Destination: h:/jekyll_demo.myblog/_site
Generating... error: Invalid argument - h:/jekyll_demo/myblog/_site/h:. use --trace to view backtrace
ruby is 1.9.3p545
jekyll is 1.4.3
pygments.rb is 0.5.0
When run jekyll server --trace, it shows this message:
C:\Users\Administrator> jekyll server --trace
Configuration file: none
Source: C:/Users/Administrator
Destination: C:/Users/Administrator/_site
Generating...
C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/ site.rb:145:in open': Permission denied - . (Errno::EACCES)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-1.4.3/lib/jekyll/site.rb :145:in entries'
Because Jekyll 1.4.3 is broken on Windows, this is a known issue.
v1.4.3 is broken on Windows #1948
What you can do is to install Jekyll 1.4.2 instead of using the latest one. Or use Linux/Mac, because Jekyll doesn't support Windows officially.
gem install jekyll --version "=1.4.2"

Resources