Ruby on Rails Thursday, August 2, 2012

I created a new Rails 3.2.6 engine via a command like this:


$ rails plugin new $engine_name --skip-bundle -d $database_type -T --dummy-path=spec/dummy --full --mountable

Then, I set it up with RSpec 2.11.0, and included the "pry-rails" gem as a dependency:

$ grep pry-rails $engine_name.gemspec s.add_development_dependency 'pry-rails', '~> 0.1.6'

However, when I start the Rails console from inside the dummy application, Pry doesn't seem to be working:

$ (cd spec/dummy/; rails console)
Loading development environment (Rails 3.2.6)
irb(main):001:0>

Has anyone successfully made "pry-rails" to work with an engine without resorting to an horrible hack?

Thanks,
Pete

PS — I submitted an issue to the "pry-rails" GitHub site, just in case.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/4ji5HGg09CoJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment