Eclipse and Ruby installation.. need a help - ruby

I can't install Ruby Eclipse Plugin. I just followed the guide from https://help.ubuntu.com/community/EclipseIDE
But this http://updatesite.rubypeople.org/releas URL doesn't work anymore, I think.
I use Windows 7.
Can you help me with Ruby Eclipse configuration?

You can install "Aptana eclipse plug-in" for Ruby in Eclipse. Please visit the following for details instructions:
http://www.aptana.com/downloads/start

The following link contains several Ruby Eclipse plugins.
I don't use Eclipse, but I read the best tool for Eclipse is Aptana. You might also want to give the DLTK a try (see this answer).

Most probably, http://updatesite.rubypeople.org/release URL doesn't exist anymore. You can install Ruby Eclipse Plugin manually.
Go to "Downloading and Installing Ruby plugin for Eclipse" section by visiting the following URL:
http://beans.seartipy.com/2006/08/12/develop-ruby-applications-using-eclipse-ide/
The steps mentioned there will guide you. Best of luck.

Related

Mac OS Intellij Error while running scala program

I am new to Intellij and Scala. I just now installed Intellij and while creating first project of hello world I get the following error when I compile Scala code on Intellij.
Error:
Cannot run program "/Applications/IntelliJ IDEA
CE.app/Contents/jdk/Contents/Home/bin/java" (in directory
"/Users/rahulghadge/Library/Caches/IdeaIC2017.3/compile-server"):
error=2, No such file or directory
I tried to google it and check in my contacts if someone faced it before. Nothing helped.
Please advise.
I figured out it is scala and jdk version compatibility issue. I had jdk_1.8.0_121.jdk but i had to install jdk_1.8.0_161.jdk on my mac. Once this was done, I added it in Intellij File -> Project Structure -> SDKs. And above mentioned compile error was resolved.
I found out below mentioned link particularly useful as it discusses about same error but solution is different version of jdk to be installed as per Scala version in use. Please refer that for step-by-step guide with screenshots for more details.
https://dotnetvibes.com/2018/01/03/intellij-idea-error-cannot-run-program-no-such-file-or-directory/
Thanks.

Gherkin highlighting and behat integration with Netbeans 8.0

Is there anyone who has a decent working solution to integrate Netbeans 8.0 with behat, in terms of code highlighting and code-completion.
I saw that there exists the Cetriolo plugin which is unfortunately not available for Netbeans 8.0.
Has anyone found a workaround on this?
I would suggest this plugin for NetBeans that works also for version 8.x
http://plugins.netbeans.org/plugin/17939/cucumber-features
Some more details to #Ferie's answer:
I indeed could not install Cetriolo on Netbeans 8.2.
Instructions to install Cucumber Features manually (since automatic installation is not available):
Download the .nbm file by clicking on the "Download" button on http://plugins.netbeans.org/plugin/17939/cucumber-features
In Netbeans, go to Tools > Plugins > Downloaded > Add Plugins... and open the .nbm file.
Click Install
After restarting Netbeans, you should see syntax highlighting in .feature files.
Here's a feature request for Netbeans to include Behat support out-of-the-box:
https://netbeans.org/bugzilla/show_bug.cgi?id=226804

Apache Flex SDK Mavenizer: build the converter

I'm trying to comple the Apache Flex SDK mavenizer tool, I need this tool to convert the Apache Flex Sdks in package suitable for the Maven repository .
I downloaded the git repository from
https://git-wip-us.apache.org/repos/asf/flex-utilities.git
I followed the instruction in the README.txt that are similar to the Building the Mavenizer tutorial: I clone the repository, I entered in the mavenizer directory and I lunched mvn package.
The maven script ran without errors but I couldn't find any jar in the man target directory.
Each module were correctly built but not the main jar.
So I coulnd't execute the converter
java -jar [path-to-the-maveinzer-jar]/mavenizer.jar "[sdkhome]" "[fdktarget]"
Could someone help me? Has anyone run into the same problem?
I'm happy to share here the answer they gave me in the apache flex users forum.
Actually there was a problem!
Ups sorry for that ... I didn't update that page for quite some time.
The problem is that you checked out the old version. The new version
is in the develop branch. As soon as the mavenizer is officially
released, master will contain the updated version.
I did write down a little more detailed howto under:
https://cwiki.apache.org/confluence/display/FLEX/Quick+Start+Guide:+Building+Apache+Flex+applications+using+Maven
(I just re-checked and fixed one problem)
I Hope that it could be useful !

Failure while installing ruby plugin in webstorm

After enabling the ruby plugin in WebStorm it starts with the folowing error message:
Plugin org.jetbrains.plugins.ruby failed to initialize and will be disabled:
com/intelij/debugger/settings/NodeRenderSettings
Please restart JetBrains WebStorm.
Anyone knows what happens here?
WebStorm has no support for Ruby plug-in, it's designed only for IntelliJ IDEA Ultimate. It's a known issue of the plugins repository that incompatible plug-ins are allowed to be installed, we are working on it.
See this solution, it applied for webstorm too.
Is it possible to get Ruby syntax highlighting in PHPStorm?
But it for highlighting only.
It's worked for me.

problem with rubygems in windows

I built Ruby 1.9 from scratch in Windows using MinGW, now I am trying to set up the environment and am having great difficulties getting the 'gem' command to work.
First not even 'irb' would work, so i added a bunch of paths to the RUBYLIB environment variable and now that works ok. But whenever i run 'gem' i get this error:
http://gist.github.com/291135
Anyone have any idea what i'm doing wrong?
NOTE: i have to use MinGW and compile from scratch as I am intending to build c extensions in windows.
thanks
Without having the exact output of the errors you're getting is not simple to determine the root of the failure.
But to help you out, I would recommend you install RubyInstaller package for 1.9 and also install the Development Kit on top of it.
You can get more instructions about this in the website here, and the wiki
Hope this helps.

Resources