I have been running my cucumber tests on intellij with ruby version 2.5.3 without an issue. I have upgraded ruby version to 3.1.2 and now getting errors I cant fix. I have a screenshot of the edit configurations and the output when I run a test. Any idea what may be wrong, seems like this should be a like for like switch.
Related
I have recently bought a macbook and tried to install Gradle with brew install gradle
When I do gradle -v I get my Gradle specifications with no problem, bit when I try to run a Gradle task on my project I got this error:
org.gradle.api.tasks.SourceSetOutput.getClassesDir()Ljava/io/File;
On windows I usually compile the project by doing ./gradlew task_name, but the ./gradlew isn't working here on Mac OS.
What Im I doing wrong?
SourceSetOutput.getClassesDir() was deprecated in Gradle 4 and removed in Gradle 5. It's now SourceSetOutput.getClassesDirs(). I'm guessing you are running a newer version of Gradle on the macbook than you were running on the Windows box. A simple fix is to downgrade the Gradle version.
If you want to actually fix your build to work with Gradle 5+ I suggest you run with --stacktrace on the command line to find out what's using the old API (ie if it's your Gradle script or one of your plugins).
Perhaps a fix is as simple as upgrading one or two of your plugins to a new version which supports Gradle 5+
I am using Hudson 3.1.0 version and sonar 3.7.4 version. SInce yesterday I am getting this weird error while doing sonar analysis:
This was working fine until yesterday. sonar-maven-plugin-3.3.0.603 version is used.Can somebody help here?
You are using a version of the SonaQube Scanner for Maven that is too recent (3.3.0.603). You should lock this version (in your POM) to an older version to make sure this keeps on working correctly.
As a side note, please consider upgrading to more recent software:
SonarQube 3.7.4 is 4 years old and no more supported (which means nobody will help you in case of trouble)
Hudson is kind-of dead - the best option for you is to move on Jenkins
I am trying to start my first build on Jenkins, but it failed, since I am a beginner, even I got those console output, still don't know how to solve the problem, anyone can help me?jenkins version: 1.6.0.4 JDK: 1.8.0 maven:3.5.0
enter image description here
It is a bug opened with maven 3.5.0
https://issues.jenkins-ci.org/browse/JENKINS-43446
Downgrading the maven to any old stable version, i.e., 3.2.5 or 3.3.1, would make it work.
I get this error
Cannot complete the install because one or more required items could not be found. Software being installed: Heroku Eclipse Plugin 1.0.0 (com.heroku.eclipse.feature.feature.group 1.0.0) Missing requirement: Heroku Eclipse Plugin 1.0.0 (com.heroku.eclipse.feature.feature.group 1.0.0) requires 'org.eclipse.m2e.feature.feature.group 1.0.100' but it could not be found
I have eclipse Juno.
Let me know if I can support you with any other info to help resolve this issue.
I have Ubuntu 12.04LTS
I got this same error message. Disabling my McAfee and then restarting fixed the problem for me. I'm thinking it was a firewall issue.
I had the similar problem. Please check your eclipse version. Heroku says it needs,
Eclipse v 3.7 or higher (Java or Java EE edition)
The following version works for me, Indigo (v 3.7)
This (org.eclipse.m2e.feature.feature.group 1.0.100) is referring to a plugin that is missing - the Maven Integration for Eclipse. Search the Eclipse Marketplace for that plugin. Once it's installed, try installing the Heroku plugin again. This worked for me on Indigo. It's weird that this isn't listed as a requirement.
I installed RadRails as a plugin to eclipse, and I set the interpreter to C:\ruby, the location of my ruby installation. I've also installed RubyGems 1.3.5 via the ruby setup.rb script.
When I run the following, however, I get syntax errors in eclipse, although running works.
test = {
raw: '1',
symbols: '2'
}
p test
Furthermore, when I start eclipse, a prompt asks me to install a number of gems. When I continue, I receive a number of unexpected tCONSTANT, expecting $end errors. Has anyone run into this, and is there a viable solution?
Assuming you've installed the latest version of RadRails, it seems as if 1.9 is not yet supported.
The quick and easy solution is to not use Eclipse and RadRails. Personally, the only Windows IDE I've been remotely pleased with is RubyMine. If you're on a Mac, the choice is much simpler: TextMate.