Open rubtk opened 7 years ago
I have solved this problem patching rdebug-ide gem. This is not a solution, but at least now i can work.
Same problem for me. Online is ok, but when running offline get the same error.
@rubtk How did you change ruby-debug-ide?
My way around it was to pip install debase
then clone the git repo https://github.com/ruby-debug/ruby-debug-ide
then edit the Gemfile to comment out parts making it look like this
source "http://rubygems.org"
# @param [Array<String>] versions compatible ruby versions
# @return [Array<String>] an array with mri platforms of given versions
def mries(*versions)
versions.flat_map do |v|
%w(ruby mingw x64_mingw)
.map { |platform| "#{platform}_#{v}".to_sym unless platform == "x64_mingw" && v < "2.0" }
.delete_if &:nil?
end
end
#gem "ruby-debug-base", :platforms => [:jruby, *mries('18')]
#gem "ruby-debug-base19x", ">= 0.11.32", :platforms => mries('19')
if RUBY_VERSION && RUBY_VERSION >= "2.0"
gem "debase", "~> 0.2.2" #, :platforms => mries('20', '21', '22', '23', '24', '25')
end
gemspec
group :development do
gem "bundler"
end
group :test do
gem "test-unit"
end
Then run rake install
I'm using Ruby 3.7 on Windows 10.
@lindhor ruby 3.7?
Hello! I am newbie to ruby and wanna to teach ruby at my Windows Workstation. I having problems with installing Ruby-debug-ide, coz of debase gem too. I have downloaded and installed MSYS2 and last GCC (using pacman) packages and successfully installed gems debase and debase-ruby_core_source. But when i tried to install ruby-debug-ide i have no luck:
As you can see, i have debase and debase-ruby_core_source installed. I can not update my gems from remote repository, coz i am working offline. I am working with msys2 and ruby 64 bit.