Comments (4)
Also, Dockerfile:
FROM convox/rails
COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
COPY vendor/cache /app/vendor/cache
RUN bundle --local --path vendor/bundle
COPY Rakefile /app/Rakefile
COPY config /app/config
COPY public /app/public
COPY app/assets /app/app/assets
RUN rake assets:precompile
COPY . /app
And docker-compose.yml file:
web:
build: .
labels:
- convox.port.443.protocol=tls
- convox.port.443.proxy=true
links:
- database
ports:
- 80:4000
- 443:4001
database:
image: convox/postgres
ports:
- 5432
from ruby-debug-ide.
Please try adding gem 'debase-ruby_core_source', '~> 0.9.1'
to the Gemfile. Does it help?
from ruby-debug-ide.
I'm having the exact same issue and debase-ruby_core_source isn't helping me. Did you ever solve this?
from ruby-debug-ide.
I also had the same issue. For me the annoying part is that everything worked fine when using docker for windows and docker for mac, but not when using docker for linux (ubuntu). This led me to believe it was a docker issue rather than an issue with ruby-debug-ide. However after an afternoon of banging my head against this I've finally worked it out:
Removing ruby-debug-ide gem from my Gemfile (and then running docker-compose) made it clear that the problem was actually in the 'debase' gem, rather than ruby-debug-ide. Further, removing the 'debase' gem from my Gemfile and re-adding ruby-debug-ide allowed docker-compose to finish correctly.
Finally, re-adding 'debase' to the Gemfile like so (I didn't previously have the version specifier):
gem 'debase', '~>0.2.2.beta10', require: false
and then again running docker-compose, finally got everything working.
So: the problem appears to have been in 'debase-0.2.1' which is the default installed if you haven't specified a specific version in your Gemfile. Using debase-0.2.2.beta10 solved the problem for me.
from ruby-debug-ide.
Related Issues (20)
- Debugger fails on apple m1 HOT 2
- Ruby Remote Debug Can Cause Arbitrary Remote Code Execution
- "daemon not healthy" on fresh install
- Undefined method 'index' for nil:NilClass @ /usr/local/bundle/ruby/2.6.0/gems/debase-0.2.4.1/lib/debase/context.rb:35:in `at_line' HOT 2
- Segmentation fault in Ruby 3.1.0 / RubyMine debugger HOT 6
- Nix incompatibility
- Can't debug Rails server old version 3.2.22.5, VSCode 1.64.2
- Uncaught exception - rdebug-ide fails to initialize superclass
- ruby 3,symbol not found in flat namespace '_RHASH_EMPTY_P'
- Support the "logpoint" breakpoint variant
- Question: How to use ruby-debug-ide with unicorn? How to use --attach-mode?
- --skip-wait-for-start makes certain files not to stop more than once HOT 1
- When started without breakpoints, only pauses code execution once
- How to start the debugger from Ruby? (Also: How to set a breakpoint in HAML?) HOT 2
- rdebug-ide is getting stuck when executing `notify_dispatcher_if_needed`
- Migrate tests to GHA
- irb 1.6.4
- Issue with bundle install with Rails 7.0 & Ruby 3.2 on Docker MacOS M1 HOT 2
- Debugger hits all breakpoints once then stops HOT 1
- Incompatibility with ruby 3.3.0 on Sonoma? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-debug-ide.