Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with passenger missing #4

Open
CarlGraff opened this issue Aug 28, 2016 · 1 comment
Open

Problem with passenger missing #4

CarlGraff opened this issue Aug 28, 2016 · 1 comment

Comments

@CarlGraff
Copy link

When I run Project TargetEnvironment in Jenkins I get an error message about passenger missing:
devopsintheclouds_passenger_missing.txt

Scenario: Is Passenger installed? # /usr/share/tomcat6/.jenkins/jobs/TargetEnvironment/workspace/test/features/target.feature:9
When I run "gem list" # test/features/step_definitions/common-steps.rb:27
Then I should see "passenger" # test/features/step_definitions/common-steps.rb:37
expected "bigdecimal (1.2.0)\nbundler (1.12.5)\njson (1.8.2)\npsych (2.0.0)\nrake (11.2.2)\nrdoc (4.1.0)\n" to include "passenger"
Diff:
@@ -1,2 +1,7 @@
-passenger
+bigdecimal (1.2.0)
+bundler (1.12.5)
+json (1.8.2)
+psych (2.0.0)
+rake (11.2.2)
+rdoc (4.1.0)
(RSpec::Expectations::ExpectationNotMetError)
/usr/share/tomcat6/.jenkins/jobs/TargetEnvironment/workspace/test/features/target.feature:11:in `Then I should see "passenger"'

I really like the book and I will learn a lot but if I have to stop and troubleshot this it may take days. I would be a shame for the hundreds of hours spent creating this tutorial for it not to work because of what I believe is an issue with Ruby or Ruby Gem versioning not being quite correct.

I for one would really love to be able to follow this from beginning to end and will try and troubleshoot on my own but it may take me days to resolve. Hopefully you can resolve this quickly and make a patch.

Thanks,
Carl
[email protected] 619-414-0291

@CarlGraff
Copy link
Author

I think this is the crux of the problem - I am not sure if an AMI using a newer Ruby version would help of if perhaps the template can actually update ruby to a newer version. There are are other workarounds but I will have to get much more adept at modifying templates to incorporate them into the existing template:

[ec2-user@ip-172-31-27-107 ~]$ gem install passenger
Fetching: rake-11.2.2.gem (100%)
Successfully installed rake-11.2.2
Fetching: rack-2.0.1.gem (100%)
ERROR: Error installing passenger:
rack requires Ruby version >= 2.2.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant