
CMentch957560 (Community Member) asked a question.
I have followed the packaging instructions for Ruby on Rails code. We already use rvm for Ruby and gemset management locally.
https://help.veracode.com/reader/4EKhlLSMHm5jC8P8j3XccQ/7vzwF03eebv6ItAQWB806w
We use Ruby 2.3 and RoR 4.2.11.1. Both are within supported versions for Veracode. Veracode gem installed 1.0.0.alpha19.
This is the exception I am getting:
Unable to require rails: undefined method `this' for #<Gem::Specification:0xadf7dc railties-4.2.11.1>
Any help to resolve this issue? Is there another way to package and upload our code?
.png)
Hi @CMentch957560 (Community Member) ,
Please ensure you are able to run the application using 'rails server'.
If this does not resolve the error I would recommend you schedule a consultation call to discuss.
You can check out this knowledge article (https://community.veracode.com/s/article/How-to-schedule-a-consultation-call) on how to schedule a consultation call with us.
Thank you,
Boy Baukema
Thanks. Yes, our code runs "rails server" without a problem, but still fails with the veracode gem. I will look into a consultation.