Stuart Batty
2006-Mar-31 15:50 UTC
[Rails] Radrails: workspace in use, choose a different one
I''ve just begun using Radrails and am experiencing a puzzling error. When I set my workspace to my home directory/some subdirectory, Radrails starts correctly. I would like to set the workspace to /var/rails where I have all of my existing rails apps but Radrails fails to start with the error: workspace in use, choose a different one. Any ideas? I want to edit the code in the directory in which it runs, thereby avoiding copying the modded code to the executable directory. Thanks -- View this message in context: http://www.nabble.com/Radrails%3A-workspace-in-use%2C-choose-a-different-one-t1375379.html#a3691764 Sent from the RubyOnRails Users forum at Nabble.com.
Chris Hall
2006-Mar-31 16:32 UTC
[Rails] Radrails: workspace in use, choose a different one
try removing/renaming the /var/rails/.metadata/.lock file and see if that corrects it. if that doesn''t do anything, take a look in the current workspace .metadata/.log file for a possible reason. hope that helps. Chris On 3/31/06, Stuart Batty <stuart.batty@gmail.com> wrote:> > > I''ve just begun using Radrails and am experiencing a puzzling error. When > I > set my workspace to my home directory/some subdirectory, Radrails starts > correctly. I would like to set the workspace to /var/rails where I have > all > of my existing rails apps but Radrails fails to start with the error: > workspace in use, choose a different one. Any ideas? I want to edit the > code > in the directory in which it runs, thereby avoiding copying the modded > code > to the executable directory. > > Thanks > -- > View this message in context: > http://www.nabble.com/Radrails%3A-workspace-in-use%2C-choose-a-different-one-t1375379.html#a3691764 > Sent from the RubyOnRails Users forum at Nabble.com. > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060331/e6412d3e/attachment-0001.html
Stuart Batty
2006-Mar-31 20:56 UTC
[Rails] Radrails: workspace in use, choose a different one
Thanks for the tips. However there isn''t a .metadata directory in /var/rails. I''ve never been able to set that as a workspace so it''s not surprising I guess. I''ve looked at the .metadata/.log file in my current workspace but I can''t understand it. -- View this message in context: http://www.nabble.com/Radrails%3A-workspace-in-use%2C-choose-a-different-one-t1375379.html#a3696671 Sent from the RubyOnRails Users forum at Nabble.com.
Chris Hall
2006-Mar-31 21:19 UTC
[Rails] Radrails: workspace in use, choose a different one
try deleting the .lock file in your current workspace (with radrails NOT running), then start radrails and try to change the workspace. On 3/31/06, Stuart Batty <stuart.batty@gmail.com> wrote:> > > Thanks for the tips. However there isn''t a .metadata directory in > /var/rails. > I''ve never been able to set that as a workspace so it''s not surprising I > guess. I''ve looked at the .metadata/.log file in my current workspace but > I > can''t understand it. > > -- > View this message in context: > http://www.nabble.com/Radrails%3A-workspace-in-use%2C-choose-a-different-one-t1375379.html#a3696671 > Sent from the RubyOnRails Users forum at Nabble.com. > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060331/531801f7/attachment.html
Stuart Batty
2006-Apr-07 02:20 UTC
[Rails] Radrails: workspace in use, choose a different one
I''m still having problems with this. I''ve searched everywhere and can''t find a solution that fits. I''ve just installed the latest version of Radrails and deleted the old workspace directory. I''m able to set various directories in my home directory as the workspace without error but I can''t set the /var/rails directory or any of it''s subdirectories as the workspace. I get the "workspace in use" error. I''ve tried creating a sym link from my home directory to /var/rails but that doesn''t work either. I''ve searched for a .metadata directory in every directory I''ve tried to unsuccessfully set as the workspace and have yet to find one. It doesn''t appear to have anything to do with a .lock file. When I set the workspace to a directory in my home directory it successfully creates the .metadata directory and the .lock file. I keep all of my rails apps in /var/rails/ and use virtual servers in apache so I would like to be able to edit the files directly from the /var/rails directory. Does anyone have any ideas? I''m running Ubuntu 5.10 -- View this message in context: http://www.nabble.com/Radrails%3A-workspace-in-use%2C-choose-a-different-one-t1375379.html#a3796622 Sent from the RubyOnRails Users forum at Nabble.com.
Stuart Batty
2006-Apr-07 02:38 UTC
[Rails] Radrails: workspace in use, choose a different one
Update: I was able to get the workspace set to /var/rails. What I did was set the workspace to /tmp then I copied the .metadata directory to /var/rails then deleted the .lock file. I had to chown -R the .metada directory to stuart:stuart (my username:group) in order for Radrails to be able to write the .lock file. I can now open and close Radrails and set /var/rails as the workspace. However, I can''t create a new project. When I click on the "Finish" button, the progress bar just flashes and nothing happens. The new project dialog just stays open and nothing happens. I use eclipse for java dev so I''m no noob to the interface. I just can''t get this darn thing to work. How about this problem? Any ideas? -- View this message in context: http://www.nabble.com/Radrails%3A-workspace-in-use%2C-choose-a-different-one-t1375379.html#a3796778 Sent from the RubyOnRails Users forum at Nabble.com.
Stuart Batty
2006-Apr-07 02:52 UTC
[Rails] Radrails: workspace in use, choose a different one
Never mind me guys, it seems I''m finally getting some where. I finally chown''d all the directories in /var/rails so eclipse could write to them. That seemed to work. Thanks for the previous help. -- View this message in context: http://www.nabble.com/Radrails%3A-workspace-in-use%2C-choose-a-different-one-t1375379.html#a3796891 Sent from the RubyOnRails Users forum at Nabble.com.