{"action":"created","issue":{"url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/24","labels_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/24/comments","events_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/24/events","html_url":"https://github.com/bertramdev/sass-grails-asset-pipeline/issues/24","id":56448141,"number":24,"title":"JRuby can't install gems","user":{"login":"dpcasady","id":1341762,"avatar_url":"https://avatars.githubusercontent.com/u/1341762?v=3","gravatar_id":"","url":"https://api.github.com/users/dpcasady","html_url":"https://github.com/dpcasady","followers_url":"https://api.github.com/users/dpcasady/followers","following_url":"https://api.github.com/users/dpcasady/following{/other_user}","gists_url":"https://api.github.com/users/dpcasady/gists{/gist_id}","starred_url":"https://api.github.com/users/dpcasady/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpcasady/subscriptions","organizations_url":"https://api.github.com/users/dpcasady/orgs","repos_url":"https://api.github.com/users/dpcasady/repos","events_url":"https://api.github.com/users/dpcasady/events{/privacy}","received_events_url":"https://api.github.com/users/dpcasady/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-02-03T22:29:53Z","updated_at":"2015-03-04T15:41:47Z","closed_at":null,"body":"When running `grails war` on a fresh project—with `asset-pipeline:2.1.1` and `sass-asset-pipeline:2.0.4`, only changing the default stylesheets at `assets/stylesheets/` from .css to .scss—I get an error when processing scss assets, specifically when trying to install the necessary gems.\r\n\r\nIt looks to be a conflict between different versions of the bouncy castle bcprov jar—possibly between grails itself and jruby although I'm not sure.\r\n\r\nI don't have jruby installed anywhere else. This is with grails 2.4.4 and Java 1.7.0_25.\r\n\r\n    ERROR:  Loading command: install (LoadError)\r\n        load error: jopenssl/load -- java.lang.VerifyError: class org.bouncycastle.asn1.x500.X500Name overrides final method equals.(Ljava/lang/Object;)Z\r\n    ERROR:  While executing gem ... (NoMethodError)\r\n        undefined method `invoke_with_build_args' for nil:NilClass\r\n    LoadError: no such file to load -- sass\r\n                  require at org/jruby/RubyKernel.java:1085\r\n                  require at file:/Users/lusca/.m2/repository/org/jruby/jruby-complete/1.7.11/jruby-complete-1.7.11.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55\r\n                  require at file:/Users/lusca/.m2/repository/org/jruby/jruby-complete/1.7.11/jruby-complete-1.7.11.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:53\r\n                   (root) at <script>:4\r\n                   <init> at SassProcessor.groovy:56\r\n          processedStream at AbstractAssetFile.groovy:86\r\n             fileContents at DirectiveProcessor.groovy:291\r\n      loadContentsForTree at DirectiveProcessor.groovy:122\r\n      loadContentsForTree at DirectiveProcessor.groovy:117\r\n                  compile at DirectiveProcessor.groovy:60\r\n                  compile at AssetCompiler.groovy:91\r\n                   doCall at War:78\r\n                   doCall at GantBinding.groovy:185\r\n          withTargetEvent at GantBinding.groovy:90\r\n                   doCall at GantBinding.groovy:185\r\n                   doCall at _Events.groovy:5\r\n           packageWarOnly at GrailsProjectWarCreator.groovy:338\r\n               packageWar at GrailsProjectWarCreator.groovy:117\r\n                   doCall at _GrailsWar.groovy:43\r\n                   doCall at GantBinding.groovy:185\r\n          withTargetEvent at GantBinding.groovy:90\r\n                   doCall at GantBinding.groovy:185\r\n                   doCall at War.groovy:38\r\n                   doCall at GantBinding.groovy:185\r\n          withTargetEvent at GantBinding.groovy:90\r\n                   doCall at GantBinding.groovy:185\r\n                   doCall at Gant.groovy:381\r\n                   doCall at Gant.groovy:415\r\n       withBuildListeners at Gant.groovy:427\r\n                 dispatch at Gant.groovy:415\r\n           executeTargets at Gant.groovy:591\r\n           executeTargets at Gant.groovy:590\r\n          parseAndExecute at InteractiveMode.groovy:339\r\n\r\nEverything works fine if I just do a `grails run-app` and the gems are installed successfully. The error does also occur if you comment out the `grails.project.fork` block in BuildConfig.groovy and run, which leads me to believe that some grails dependencies may be leaking into the application classpath.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/comments/77181277","html_url":"https://github.com/bertramdev/sass-grails-asset-pipeline/issues/24#issuecomment-77181277","issue_url":"https://api.github.com/repos/bertramdev/sass-grails-asset-pipeline/issues/24","id":77181277,"user":{"login":"ctoestreich","id":691357,"avatar_url":"https://avatars.githubusercontent.com/u/691357?v=3","gravatar_id":"","url":"https://api.github.com/users/ctoestreich","html_url":"https://github.com/ctoestreich","followers_url":"https://api.github.com/users/ctoestreich/followers","following_url":"https://api.github.com/users/ctoestreich/following{/other_user}","gists_url":"https://api.github.com/users/ctoestreich/gists{/gist_id}","starred_url":"https://api.github.com/users/ctoestreich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctoestreich/subscriptions","organizations_url":"https://api.github.com/users/ctoestreich/orgs","repos_url":"https://api.github.com/users/ctoestreich/repos","events_url":"https://api.github.com/users/ctoestreich/events{/privacy}","received_events_url":"https://api.github.com/users/ctoestreich/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T15:41:47Z","updated_at":"2015-03-04T15:41:47Z","body":"If you end up embedding the gems it wouldn't be the worst thing in the world if it avoids these kinds of issues.  :+1:"}}