Advertisement
supercoder

Jets session

Jan 20th, 2022
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.38 KB | None | 0 0
  1. Tung! Thank you for the quick reply. Let me give you the steps I did. I'm running on MacOS 11.6.2, but I don't think that should make a difference.
  2.  
  3. I get the same error, see at the bottom.
  4. Let me know if you have any ideas! I really want to run with the Jets toolbox!!
  5.  
  6. I'm not sure how to do the fancy "Click to Expand and See Debugging Session".. let me know, but here is my session.
  7.  
  8. ❯ git clone git@github.com:tongueroo/jets-backup-route53.git
  9. Cloning into 'jets-backup-route53'...
  10. remote: Enumerating objects: 65, done.
  11. remote: Counting objects: 100% (3/3), done.
  12. remote: Compressing objects: 100% (3/3), done.
  13. remote: Total 65 (delta 0), reused 1 (delta 0), pack-reused 62
  14. Receiving objects: 100% (65/65), 48.20 KiB | 587.00 KiB/s, done.
  15. Resolving deltas: 100% (25/25), done.
  16.  
  17. ❯ cd jets-backup-route53/
  18.  
  19. ❯ rvm --create --ruby-version ruby-2.6.3@jets-backup-route53
  20. ruby-2.6.3 - #gemset created /Users/jgillies/.rvm/gems/ruby-2.6.3@jets-backup-route53
  21. ruby-2.6.3 - #generating jets-backup-route53 wrappers............
  22. Using /Users/jgillies/.rvm/gems/ruby-2.6.3 with gemset jets-backup-route53
  23.  
  24. ❯ gem install bundler:2.3.4
  25. Fetching bundler-2.3.4.gem
  26. Successfully installed bundler-2.3.4
  27. 1 gem installed
  28.  
  29. ❯ bundle install
  30. Fetching gem metadata from rubygems.org/..........
  31. Resolving dependencies...
  32. Fetching rake 13.0.6
  33. Installing rake 13.0.6
  34. Fetching aws-eventstream 1.2.0
  35. Fetching concurrent-ruby 1.1.9
  36. Fetching minitest 5.15.0
  37. Fetching zeitwerk 2.5.3
  38. Fetching builder 3.2.4
  39. Fetching erubi 1.10.0
  40. Fetching racc 1.6.0
  41. Fetching crass 1.0.6
  42. Fetching rack 2.2.3
  43. Fetching mini_mime 1.1.2
  44. Fetching public_suffix 4.0.6
  45. Fetching aws-partitions 1.549.0
  46. Installing zeitwerk 2.5.3
  47. Installing builder 3.2.4
  48. Installing minitest 5.15.0
  49. Installing aws-eventstream 1.2.0
  50. Installing concurrent-ruby 1.1.9
  51. Fetching jmespath 1.5.0
  52. Installing mini_mime 1.1.2
  53. Installing aws-partitions 1.549.0
  54. Installing public_suffix 4.0.6
  55. Fetching aws_config 0.1.0
  56. Installing jmespath 1.5.0
  57. Fetching memoist 0.16.2
  58. Installing crass 1.0.6
  59. Installing erubi 1.10.0
  60. Installing aws_config 0.1.0
  61. Installing memoist 0.16.2
  62. Fetching rainbow 3.1.1
  63. Installing racc 1.6.0 with native extensions
  64. Fetching thor 1.2.1
  65. Installing rack 2.2.3
  66. Installing rainbow 3.1.1
  67. Using bundler 2.3.4
  68. Fetching byebug 11.1.3
  69. Fetching matrix 0.4.2
  70. Installing thor 1.2.1
  71. Fetching regexp_parser 2.2.0
  72. Installing matrix 0.4.2
  73. Installing byebug 11.1.3 with native extensions
  74. Fetching cfn_response 0.2.0
  75. Installing cfn_response 0.2.0
  76. Installing regexp_parser 2.2.0
  77. Fetching diff-lcs 1.5.0
  78. Fetching dotenv 2.7.6
  79. Fetching gems 1.2.0
  80. Installing diff-lcs 1.5.0
  81. Installing dotenv 2.7.6
  82. Fetching hashie 5.0.0
  83. Installing gems 1.2.0
  84. Installing hashie 5.0.0
  85. Fetching rexml 3.2.5
  86. Fetching method_source 1.0.0
  87. Installing rexml 3.2.5
  88. Installing method_source 1.0.0
  89. Fetching recursive-open-struct 1.1.3
  90. Fetching text-table 1.2.4
  91. Fetching rspec-support 3.10.3
  92. Installing recursive-open-struct 1.1.3
  93. Installing text-table 1.2.4
  94. Installing rspec-support 3.10.3
  95. Fetching aws-sigv4 1.4.0
  96. Installing aws-sigv4 1.4.0
  97. Fetching mail 2.7.1
  98. Fetching addressable 2.8.0
  99. Fetching serverlessgems 0.1.6
  100. Installing addressable 2.8.0
  101. Installing serverlessgems 0.1.6
  102. Fetching aws-sdk-core 3.125.4
  103. Fetching rack-test 1.1.0
  104. Fetching shotgun 0.9.2
  105. Installing mail 2.7.1
  106. Installing rack-test 1.1.0
  107. Installing shotgun 0.9.2
  108. Fetching rspec-core 3.10.1
  109. Installing aws-sdk-core 3.125.4
  110. Installing rspec-core 3.10.1
  111. Fetching rspec-expectations 3.10.2
  112. Fetching rspec-mocks 3.10.2
  113. Installing rspec-expectations 3.10.2
  114. Fetching kramdown 2.3.1
  115. Fetching launchy 2.5.0
  116. Installing rspec-mocks 3.10.2
  117. Installing launchy 2.5.0
  118. Installing kramdown 2.3.1
  119. Fetching i18n 1.8.11
  120. Fetching tzinfo 2.0.4
  121. Installing i18n 1.8.11
  122. Fetching nokogiri 1.13.1 (x86_64-darwin)
  123. Installing tzinfo 2.0.4
  124. Fetching rspec 3.10.0
  125. Installing rspec 3.10.0
  126. Fetching activesupport 6.1.4.4
  127. Installing activesupport 6.1.4.4
  128. Installing nokogiri 1.13.1 (x86_64-darwin)
  129. Fetching aws-sdk-cloudformation 1.64.0
  130. Fetching aws-sdk-apigateway 1.73.0
  131. Fetching aws-sdk-cloudwatchlogs 1.50.0
  132. Fetching aws-sdk-dynamodb 1.70.0
  133. Fetching aws-sdk-kinesis 1.39.0
  134. Fetching aws-sdk-kms 1.53.0
  135. Fetching aws-sdk-lambda 1.77.0
  136. Fetching aws-sdk-route53 1.60.0
  137. Installing aws-sdk-cloudwatchlogs 1.50.0
  138. Installing aws-sdk-cloudformation 1.64.0
  139. Installing aws-sdk-kinesis 1.39.0
  140. Installing aws-sdk-apigateway 1.73.0
  141. Installing aws-sdk-dynamodb 1.70.0
  142. Installing aws-sdk-lambda 1.77.0
  143. Installing aws-sdk-kms 1.53.0
  144. Installing aws-sdk-route53 1.60.0
  145. Fetching aws-sdk-sns 1.50.0
  146. Fetching aws-sdk-sqs 1.49.0
  147. Installing aws-sdk-sns 1.50.0
  148. Installing aws-sdk-sqs 1.49.0
  149. Fetching aws-sdk-ssm 1.128.0
  150. Fetching aws-sdk-s3 1.111.1
  151. Fetching cfn-status 0.4.3
  152. Installing aws-sdk-ssm 1.128.0
  153. Installing cfn-status 0.4.3
  154. Installing aws-sdk-s3 1.111.1
  155. Fetching aws-mfa-secure 0.4.4
  156. Fetching globalid 1.0.0
  157. Fetching activemodel 6.1.4.4
  158. Fetching cfn_camelizer 0.4.9
  159. Installing aws-mfa-secure 0.4.4
  160. Installing globalid 1.0.0
  161. Installing cfn_camelizer 0.4.9
  162. Installing activemodel 6.1.4.4
  163. Fetching activejob 6.1.4.4
  164. Installing activejob 6.1.4.4
  165. Fetching activerecord 6.1.4.4
  166. Installing activerecord 6.1.4.4
  167. Fetching xpath 3.2.0
  168. Fetching rails-dom-testing 2.0.3
  169. Fetching loofah 2.13.0
  170. Installing xpath 3.2.0
  171. Installing rails-dom-testing 2.0.3
  172. Installing loofah 2.13.0
  173. Fetching capybara 3.36.0
  174. Fetching rails-html-sanitizer 1.4.2
  175. Fetching jets-html-sanitizer 1.0.4
  176. Installing rails-html-sanitizer 1.4.2
  177. Installing jets-html-sanitizer 1.0.4
  178. Installing capybara 3.36.0
  179. Fetching actionview 6.1.4.4
  180. Installing actionview 6.1.4.4
  181. Fetching actionpack 6.1.4.4
  182. Installing actionpack 6.1.4.4
  183. Fetching actionmailer 6.1.4.4
  184. Fetching railties 6.1.4.4
  185. Installing actionmailer 6.1.4.4
  186. Installing railties 6.1.4.4
  187. Fetching jets 3.1.1
  188. Installing jets 3.1.1
  189. Bundle complete! 8 Gemfile dependencies, 79 gems now installed.
  190. Use `bundle info [gemname]` to see where a bundled gem is installed.
  191.  
  192. ❯ echo "S3_BUCKET=ffn-route53-backup" > .env
  193.  
  194. ❯ jets deploy
  195. Deploying to Lambda backer-dev environment...
  196. The /tmp/jets/backer/cache folder exists. Incrementally re-building the jets using the cache. To clear the cache: rm -rf /tmp/jets/backer/cache
  197. => Compling assets in current project directory
  198. => Copying current project directory to temporary build area: /tmp/jets/backer/stage/code
  199. => Reconfiguring webpacker development settings for AWS Lambda.
  200. => Bundling: running bundle install in cache area: /tmp/jets/backer/cache.
  201. => cd /tmp/jets/backer/cache && env bundle install
  202. Using rake 13.0.6
  203. Using concurrent-ruby 1.1.9
  204. Using i18n 1.8.11
  205. Using minitest 5.15.0
  206. Using tzinfo 2.0.4
  207. Using zeitwerk 2.5.3
  208. Using activesupport 6.1.4.4
  209. Using builder 3.2.4
  210. Using erubi 1.10.0
  211. Using racc 1.6.0
  212. Using nokogiri 1.13.1 (x86_64-darwin)
  213. Using rails-dom-testing 2.0.3
  214. Using crass 1.0.6
  215. Using loofah 2.13.0
  216. Using rails-html-sanitizer 1.4.2
  217. Using actionview 6.1.4.4
  218. Using rack 2.2.3
  219. Using rack-test 1.1.0
  220. Using actionpack 6.1.4.4
  221. Using globalid 1.0.0
  222. Using activejob 6.1.4.4
  223. Using mini_mime 1.1.2
  224. Using mail 2.7.1
  225. Using actionmailer 6.1.4.4
  226. Using activemodel 6.1.4.4
  227. Using activerecord 6.1.4.4
  228. Using aws-eventstream 1.2.0
  229. Using aws-partitions 1.549.0
  230. Using aws-sigv4 1.4.0
  231. Using jmespath 1.5.0
  232. Using aws-sdk-core 3.125.4
  233. Using aws_config 0.1.0
  234. Using memoist 0.16.2
  235. Using rainbow 3.1.1
  236. Using thor 1.2.1
  237. Using aws-mfa-secure 0.4.4
  238. Using aws-sdk-apigateway 1.73.0
  239. Using aws-sdk-cloudformation 1.64.0
  240. Using aws-sdk-cloudwatchlogs 1.50.0
  241. Using aws-sdk-dynamodb 1.70.0
  242. Using aws-sdk-kinesis 1.39.0
  243. Using aws-sdk-kms 1.53.0
  244. Using aws-sdk-lambda 1.77.0
  245. Using aws-sdk-route53 1.60.0
  246. Using aws-sdk-s3 1.111.1
  247. Using aws-sdk-sns 1.50.0
  248. Using aws-sdk-sqs 1.49.0
  249. Using aws-sdk-ssm 1.128.0
  250. Using bundler 2.3.4
  251. Using cfn-status 0.4.3
  252. Using cfn_camelizer 0.4.9
  253. Using cfn_response 0.2.0
  254. Using dotenv 2.7.6
  255. Using gems 1.2.0
  256. Using hashie 5.0.0
  257. Using jets-html-sanitizer 1.0.4
  258. Using rexml 3.2.5
  259. Using kramdown 2.3.1
  260. Using method_source 1.0.0
  261. Using railties 6.1.4.4
  262. Using recursive-open-struct 1.1.3
  263. Using serverlessgems 0.1.6
  264. Using shotgun 0.9.2
  265. Using text-table 1.2.4
  266. Using jets 3.1.1
  267. Bundle complete! 8 Gemfile dependencies, 65 gems now installed.
  268. Gems in the groups 'development' and 'test' were not installed.
  269. Bundled gems are installed into `./vendor/gems`
  270. Bundle install success.
  271. Tidying project: removing ignored files to reduce package size.
  272. => rsync -a --links /tmp/jets/backer/stage/code/vendor/gems/ruby/2.6.0/ /tmp/jets/backer/stage/opt/ruby/gems/2.6.0/
  273. => Replacing compiled gems with AWS Lambda Linux compiled versions: /tmp/jets/backer/stage/opt
  274. Checking projects gems for binary serverlessgems...
  275. Your project requires compiled gems that are not currently available. Unavailable pre-compiled gems:
  276.  
  277. * racc-1.6.0
  278. * byebug-11.1.3
  279. * nokogiri-1.13.1
  280.  
  281. Your current serverlessgems source: api.serverlessgems.com/api/v1
  282.  
  283. Jets is unable to build a deployment package that will work on AWS Lambda without the required pre-compiled gems. To remedy this, you can:
  284.  
  285. * Use another gem that does not require compilation.
  286. * Create your own custom layer with the gem: rubyonjets.com/docs/extras/custom-lambda-layers/
  287. * No need to report this to us, as we've already been notified.
  288.  
  289. Compiled gems usually take some time to figure out how to build as they each depend on different libraries and packages.
  290. More info: rubyonjets.com/docs/serverlessgems/
  291.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement