You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having an issue when deploying a branch to Heroku's review apps.
The key errors I see are: Bundler::GemRequireError: There was an error while trying to load the gem 'mjml-rails' Gem Load Error is: undefined method chomp' for nil:NilClassNoMethodError: undefined method chomp' for nil:NilClass /tmp/.../.../vendor/bundle/ruby/2.1.0/gems/mjml-rails-2.4.1/lib/mjml.rb:25:in discover_mjml_bin'
I've set heroku to run the nodejs buildpack first.
On the CI platform, I have npm install as the first build instruction, but it feels like it's not triggering it. The strange thing is that it works on production.
Hope you can point out where I'm going wrong. 😃
The text was updated successfully, but these errors were encountered:
@sianglim Are you sure npm is installing okay? Because npm bin is returning nil, which is why chomp is failing. So perhaps try some logging to see if any basic npm commands are running.
Hi @sighmon,
I'm having an issue when deploying a branch to Heroku's review apps.
The key errors I see are:
NoMethodError: undefined method
Bundler::GemRequireError: There was an error while trying to load the gem 'mjml-rails'
Gem Load Error is: undefined method
chomp' for nil:NilClasschomp' for nil:NilClass
/tmp/.../.../vendor/bundle/ruby/2.1.0/gems/mjml-rails-2.4.1/lib/mjml.rb:25:indiscover_mjml_bin'
I've set heroku to run the nodejs buildpack first.
On the CI platform, I have
npm install
as the first build instruction, but it feels like it's not triggering it. The strange thing is that it works on production.Hope you can point out where I'm going wrong. 😃
The text was updated successfully, but these errors were encountered: