Error in RubyMine : no ruby interpreter configured for project - ruby-on-rails

I installed RubyMine just now. It is the student free setup.
I am getting a warning/error: no ruby interpreter configured for project.
I opened it and tried to apply using both rbenv present, but warning/error doesn't goes off.
What should I do?

I solved it just by deleting .idea directory from the my project file and everything started working with no no debugger issue.

Related

Intellij doesn't recognise the Ruby interpreter properly

I've been struggling with setting the proper version of Ruby interpreter onto Intellij.
Error says :: Safe navigation operator requires at least Ruby 2.3
I understand what the error means here. It means "This feature is not available in your current Ruby version."
However I don't know how I can fix this in Intellij Build: 163.10154.41, event I set up correctly Ruby SDK.
The Ruby version used in this project is 2.3.1 with rbenv.
How could I fix this?
Removing {document_root}/.idea directory and import the project to IntelliJ again and then, it worked back when I met the same kind of issue before.
My solution is to remove the autodetected module from the project and then add a new Ruby module to the project (choose New Module, not Import Module).
Wiping out .idea and/or reimporting doesn't work (for me) because IntelliJ always imports the project/module incorrectly. Specifically, IntelliJ doesn't seem to recognize it as a Ruby module, and hence the project's Ruby SDK settings have no effect.

No ruby interpreter configured for the project

How to configure Ruby interpreter in RubyMine ? I have not understood what the website of Rubymine is trying to say. please help me
thanks!i have a project name "Untitled" and its class name is naqash.rb , but when i try to run ! it says an error , no SDK specified. so how i can solve that problem
Well since you are on windows 7 you need to install ruby so follow this http://rubyinstaller.org/downloads/
Then go back to preferences and see if your sdks is there.

railsinstaller 2.2.1 fails on windows

i downloaded the rails installer and tried to install, but i get the error in the screenshot. I have re-downloaded the file several times and installed times over, but without success.
what is the problem?
Can you please try with version 2.2.2? Additionally, any issues with the installer should be reported in Github Issues.
Evan

Rhostudio path Eclipse Mac Lion 10.7.3

I have a problem with Rhostudio, Mac OS X 10.7.3 Lion and Ecplise.
Rhostudio install as app as a plugin but it does not work.
If I create the project is blank. In the preferences tells me can not find the path of Rhodes.
On my Mac development in Ruby on Rails with Aptana Studio 3. It works perfectly and use Ruby 1.9.3 and RVM.
The gems are installed correctly.
What is my problem? What can I do?
I had the same issue on Mac OS X Lion 10.7.3; the project is blank because Rhostudio is not properly installed, the installation seems to had gone through but it failed.
I followed the instructions from here http://docs.rhomobile.com/rhostudio.tutorial#installing-rhostudio but when I ran the install gems script, a 'Please install building tools' message was coming out on the terminal. The script fails because it looks for the developer folder and does not find it, you can still run Rhostudio, but it doesn’t work properly. There are several things you could do, like installing a version of Xcode that would create the developer folder, but you don’t really need that.
This is what I did:
1. I cleaned all previous installations of Rhostudio.
I installed the latest Xcode, the latest version of Xcode does not create the developer folder, as you can see here: https://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_4_3.html#//apple_ref/doc/uid/1006-SW1
I then installed the Command-Line Tools; these are now optional and the instructions are on the same link of step two.
I repeated the basic installation steps from the tutorial and when it was time to run the install gems script I opened it with a text editor and ran every command manually from the command line, I skipped the validations that search for the developer folder and the Java installation. The developer folder doesn’t have to be there anymore but you must have Java installed.
Once I finished running every command the installation was complete. If you create a new project this time the folder should not be empty.
I configured Rhostudio according to the instructions and the framework I needed to work on and everything went smooth.
I hope that helps, and note that whenever you tried installing by running the Install Gems script the error was coming out to the terminal, based on that message you’ll find if something else is happening. The two initial validations can only output the error messages 'Please install building tools' or 'Please install java development kit'.

Ruby on Rails not working on Netbeans

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.

Resources