Searching on the jetbrains website, I came up with this: https://www.jetbrains.com/ruby/help/configuring-ruby-sdk.html. However, I don't have the Ruby SDK pane. I have set the project to have the Project SDK for the version of Ruby installed, the Modules->Dependencies has the version of Ruby selected, but each time the project loads, it prompts me to set the framework to JRuby. It's not a JRuby project. Granted, I don't have RubyMine, but I thought that that was the purpose of Ultimate, to be an all-in-one.
Maybe a late response, but here's answer anyway. I stumbled upon the same issue while evaluating the Ultimate version.
To fix the "JRuby on Rails framework detected" issue, just create a new project "from existing sources". Follow the steps in the wizard and "Ruby on Rails" framework will be detected correctly - no more JRuby...
Hope it helps!
Related
So, I"m using intellij idea community addition for ruby on rails development. I installed intellij, ruby, etc. on my computer. However, when I try to install the ruby on rails plugin in intellij after clicking on opening the plugin manager and clicking "install intellij plugins" there is no plugin from the list which is called "ruby plugin." I tried several of the plugins from this website :https://plugins.jetbrains.com/plugin/1293?pr=
....selecting the "install from disk" option. None of them worked.
help please.
Ruby development is only supported in IntelliJ IDEA Ultimate, not in the Community Edition.
I'm trying to run a Grails Application from the Grails In Action website. I've imported the 'hubbub' project into the GGTS app and have encountered build errors. The project was originally built with Grails 2.3.7 whereas I have version 2.4.4 on my system. Based on another Stack Overflow question I've changed the 'app.grails.version' in the application.properties file to grails version 2.4.4 which prompted a flurry of downloads in the command prompt terminating in a series of errors regarding problems with plugins. I can't run the app because I'm told that "Project 'hubbub' is missing required source folder: grails-app/utils". If I try to change 'app.grails.version' back to 2.3.7 I'm told that I need to configure a Grails installation of 2.3.7.
Am I doing something wrong here in trying to upgrade this Grails project? Or do I really have to install Grails 2.3.7 in order to get this to work?
(Sorry, I haven't posted the errors regarding plugin downloads but I can't seem to recreate them).
Thanks in advance!
Grails 2.4 is a big change over 2.3, mostly due to the use of the asset pipeline instead of resources.
Also simply changing the version in application.properties isn't enough, you also need to actually run the matching Grails framework.
See here for upgrading an app from 2.3 to 2.4: http://grails.github.io/grails-doc/2.4.x/guide/upgradingFrom23.html . From experience upgrading Grails apps from older versions must be done manually. One reason is that the upgrade command is obsolete and has been removed. Read the docs for breaking changes and address each change individually in the code. Upgrading patch levels are no problem (usually), but upgrading minor and major versions often are a lot of work.
Since you are learning, I would stick to 2.3.7 for your exercise (meaning that you must run 2.3.7, which you aren't doing). What you'll learn will remain valid. Do use 2.4.4 when building your own project from scratch.
If your project only missing grails-app/utils, try just to create it.
Take a look in your Project Properties -> Build Path. There are all the source folder defined. It can be helpful
I have recently installed the Aptana plugin for Eclipse as I wish to learn Ruby and Ruby on Rails, it doesn't seem to have changed anything. Usually when I install a plugin of the sort, there will be new project types under the "New Project" menu, but none appeared. I checked tutorials online and they suggest that there should be new project types as seen in the image below, taken from a tutorial.
Instead, I see the same options I did before.
I wondered if the plugin didn't install, but when I try to install it again, It says it's already installed. I am using Eclipse Juno Service Release 2 with a 64-bit Windows 7 operating system and the version of the plugin from the URL given on the Aptana website (http://download.aptana.com/studio3/plugin/install). Any help would be much appreciated.
I don't know why that's happening. Here's a suggestion for how to get around it.
You might be better off installing and running the standalone Aptana Studio product. It would be a separate installation on your desktop, and thus wouldn't have the same settings as any Eclipse installation you already had, and would be more space on your hard drive. But probably there isn't much you would share between Ruby/Rails development and other development, and it's not that much space.
I've done it both ways - installed Aptana into an Eclipse I've already got, and installed the standalone version - and now I would only do standalone.
I don't know what was wrong in the first place, but after I installed the Aptana plugin, I installed the PyDev plugin. I think this removed the Aptana plugin because of conflicting dependencies (I don't know why it wouldn't tell me, though). I tried installing the Aptana plugin again and it told me there was a conflicting dependency with the PyDev plugin, so I uninstalled it and reinstalled the Aptana plugin. It works now.
I thought I'd give Grails and IntelliJ a look. However, I'm struggling at the first hurdle.
When I go to select the "Groovy SDK" I'm choosing my installation directory - in this case, Grails 2.2.0 - but the OK button on the IDE stays grayed-out. If I choose another of my installation directories - Grails 1.3.7 - the OK button is activated but I get an error message saying my groovy installation is broken.
Does anyone know what I'm missing?
I'm using IntelliJ 12 Community Edition and trying to use Grails 2.2.0.
Thanks.
Please checkout this IntelliJ IDEA Features page, and you will see that some web technologies, like Grails, are only supported in the Ultimate Edition. I would recommend upgrading to the Ultimate Edition, since it has excellent Grails support.
As an alternative, use can use a free IDE which has Grails support: STS, GGTS.
Community Edition doesn't support Grails development. Note that it is asking for a Groovy SDK (which is supported), not a Grails SDK.
I am trying to run RoR on Netbeans 7. I installed everything as given in the documentation. I have Ruby 1.9.2 and Rails 3.0.9 installed on my PC.
Also I have the plugins installed with the Netbeans 7.0
But when I try to create a new project, the progress hangs on 25% and Netbeans stops responding. I have to use task Manager to close the IDE. What is wrong in the scenario? Thank you.
Well help on this will be limited because netbeans no longer supports Rails:
http://netbeans.org/community/news/show/1507.html
Good news though, you don't need netbeans to create a rails project. Just open up your terminal and run:
rails new APP_NAME
Each time I have seen this happen Netbeans is happily awaiting input. When you create the project in Netbeans it executes rails new APP underneath and if that process asks a question, then Netbeans will hang. Check the Netbeans output window (if it's open). You can verify this by creating the rails app on the command line. Once you do that, open the directory with Netbeans and it should recognize the project as a Rails project.