librelist archives

« back to archive

Debugging a Nesta site in RubyMine

Debugging a Nesta site in RubyMine

From:
Tommy Sundström
Date:
2013-05-11 @ 14:33
In order to debug Nesta, you can run Shotgun from within RubyMine.


Select Run > Edit Configuration… and fill in:

[Configuration]

Name: Shotgun (or whatever you prefer)

Ruby script: 
/Users/Tommy/.rvm/gems/ruby-1.8.7-p371@nesta/gems/shotgun-0.9/bin/shotgun 
(change to the path of your shotgun)

Working directory: /Users/Tommy/Sites/Nesta/anvandbart.se (change to the 
path to your site)

[Bundler]

Select ’Run the script in context of the bundle (bundle exec)    (Most of 
the time it works without doing this)



Now you can start the server using Run > Debug 'Shotgun' 


/Tommy

Re: [nesta] Debugging a Nesta site in RubyMine

From:
Graham Ashton
Date:
2013-05-12 @ 08:34
On 11 May 2013, at 15:33, "Tommy Sundström" <tommy.sundstrom@gmail.com> wrote:

> In order to debug Nesta, you can run Shotgun from within RubyMine.

Sounds nice. Have you tried it with mr-sparkle? I'm going to update the 
docs soon (possibly even today!) to make mr-sparkle the suggested dev 
server.

https://github.com/MicahChalmer/mr-sparkle

Background info on how it came about can be found in the Nesta list archives.