Can't open file for edit

This seems like a really dumb question but I have just bought and installed rubymine, having moved from Netbeans.

I have installed rubymine 3.1 and created a new project from existing sources. Ruby 1.9.92 p136, gem 1.5.3, rails 3.0.5. Ubuntu 10.10

The app runs fine, rubymine lists the directory tree but there doesn't seem to be a way to open a file and edit it. Double clicking the file does nothing. There is no open command on right click.

How do I do this?

6 comments
Comment actions Permalink

Ctrl-Enter or F4 works if i select a file in the Project window but double click does not work.

0
Comment actions Permalink

Most likely there is some exception in ~/.RubyMine30/system/logs/idea.log file which will show what is causing such a problem. Did you install any additional plugins? Renaming config/system directories and starting with all the default settings may fix the problem.

0
Comment actions Permalink

For RubyMine 3.1   ~/.RubyMine31/system/logs/idea.log.
For other OS or RubyMine versions see javascript:;

0
Comment actions Permalink

Hi,

I had the exact same problem.

I went back to version 3.0.1 where I again can open and edit files.

I have included system log.

/Michael

2011-03-31 16:37:29,438 [ 260059]  ERROR - penapi.actionSystem.impl.Utils - VM: Java HotSpot(TM) Client VM
2011-03-31 16:37:29,438 [ 260059]  ERROR - penapi.actionSystem.impl.Utils - Vendor: Sun Microsystems Inc.
2011-03-31 16:37:29,438 [ 260059]  ERROR - penapi.actionSystem.impl.Utils - OS: Windows 7
2011-03-31 16:37:29,438 [ 260059]  ERROR - penapi.actionSystem.impl.Utils - Last Action: ViewSource
2011-03-31 16:37:29,438 [ 260059]  ERROR - penapi.actionSystem.impl.Utils - update failed for AnAction with ID=WebBrowser.SAFARI
java.lang.AssertionError: No serializer registered for stub: ID=0; parent stub class=org.jetbrains.plugins.ruby.ruby.lang.psi.stubs.impl.containers.RClassStubImpl
 at com.intellij.psi.stubs.SerializationManagerImpl.deserialize(SerializationManagerImpl.java:204)
 at com.intellij.psi.stubs.SerializationManagerImpl.deserialize(SerializationManagerImpl.java:209)
 at com.intellij.psi.stubs.SerializationManagerImpl.deserialize(SerializationManagerImpl.java:209)
 at com.intellij.psi.stubs.SerializationManagerImpl.deserialize(SerializationManagerImpl.java:191)
 at com.intellij.psi.stubs.SerializedStubTree.getStub(SerializedStubTree.java:48)
 at com.intellij.psi.stubs.StubTree.readFromVFile(StubTree.java:139)
 at com.intellij.psi.stubs.StubTree.readOrBuild(StubTree.java:103)
 at com.intellij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:601)
 at com.intellij.psi.impl.source.PsiFileImpl.getStub(PsiFileImpl.java:584)
 at org.jetbrains.plugins.ruby.ruby.lang.psi.impl.RPsiFileBase.getStructureElements(RPsiFileBase.java:149)
 at org.jetbrains.plugins.ruby.ruby.lang.psi.impl.holders.utils.RContainerUtil.getClassByName(RContainerUtil.java:81)
 at org.jetbrains.plugins.ruby.rails.nameConventions.ControllersConventions.a(ControllersConventions.java:322)
 at org.jetbrains.plugins.ruby.rails.nameConventions.ControllersConventions.getControllerByViewFile(ControllersConventions.java:311)
 at org.jetbrains.plugins.ruby.rails.model.RailsView.fromFile(RailsView.java:43)
 at org.jetbrains.plugins.ruby.rails.model.RailsView.fromFile(RailsView.java:32)
 at org.jetbrains.plugins.ruby.rails.RailsWebBrowserUrlProvider.canHandleElement(RailsWebBrowserUrlProvider.java:97)
 at com.intellij.ide.browsers.WebBrowserUrlProviders.getProvider(WebBrowserUrlProviders.java:36)
 at com.intellij.ide.browsers.actions.BaseWebBrowserAction.update(BaseWebBrowserAction.java:80)
 at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:98)
 at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:160)
 at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:122)
 at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:82)
 at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:139)
 at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.run(ActionToolbarImpl.java:755)
 at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:486)
 at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:475)
 at com.intellij.openapi.wm.impl.FocusManagerImpl.d(FocusManagerImpl.java:459)
 at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:50)
 at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:390)
 at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:1366)
 at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:373)
 at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:801)
 at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$400(ActionToolbarImpl.java:58)
 at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$4.run(ActionToolbarImpl.java:819)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

0
Comment actions Permalink

Thanks,

Works now!

/Michael

0

Please sign in to leave a comment.