Questions tagged [rinari]

Rinari is an Emacs minor mode that is aimed towards making Emacs into a top-notch Ruby and Rails development environment.

Rinari is an Emacs minor mode that is aimed towards making Emacs into a top-notch Ruby and Rails development environment.

https://github.com/eschulte/rinari

10 questions
10
votes
2 answers

emacs-rails vs rinari?

I'm just coming back to rails coding after a long hiatus. I was using rinari previously but noticed that there's a new version of emacs-rails. Is anyone using either? Any preferences for one over the other? What are people using for their rails…
nimms
  • 387
  • 4
  • 8
2
votes
2 answers

How do I run capistrano with rinari in a system with rvm?

This happens when I try to run rinari-cap: ~/.rvm/rubies/ruby-1.8.7-p330/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require': no such file to load -- rvm/capistrano (LoadError) Something similar happens in eshell I already…
Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94
1
vote
1 answer

Emacs Rinari won't load at startup

Hey, I wanted to try out some rails. And since I don't want to use any fancy IDE. I thought I could try rails out using emacs with Rinari. Anyway I got some problem which I couldn't find any solution on google for it. Basically I have a clean .emacs…
starcorn
  • 8,261
  • 23
  • 83
  • 124
1
vote
2 answers

Using shell versus eshell whenever an Emacs action needs to spawn a shell in a new buffer

I'm using Rinari for Rails development in Emacs. M-x shell will open a new buffer that is correctly PATH'd for my environment (zsh). M-x eshell uses all the incorrect PATH's and I haven't been able to get it to play nicely with anything. There's a…
mwilliams
  • 9,946
  • 13
  • 50
  • 71
1
vote
2 answers

Unable to run rinari-web-server

When I run rinari-web-server I am getting this error: /home/pedrorolo/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- bundler/setup (LoadError) from…
Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94
0
votes
1 answer

How to make M-p and M-n work on rinari-console

M-p and M-n do not seem to work in rinari-console, when they should iterate the previously-issued commands list. Does anyone know how to fix this?
Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94
0
votes
1 answer

Emacs: Rinari. How to make haml files also open in rinari-minor-mode

When using rinari, rinari-minor-mode is enabled when editing any .rb file. Though, when opening .haml files rinari-minor-mode is disabled. How do I make emacs also automatically enable rinari-minor-mode when editing .haml files?
Pedro Rolo
  • 28,273
  • 12
  • 60
  • 94
0
votes
1 answer

Set the stack trace limit in rinari-console

As can be seen from this question the back trace limit in Rails console is set by passing a new value to context.back_trace_limit. While this can be set in the .irbc file, I'd much rather Emacs set it for me, since I don't normally use irb outside…
Dmitri
  • 2,658
  • 2
  • 25
  • 41
0
votes
1 answer

Emacs rinari-console in sandbox mode

Is there any way to to tell rinari-console to run in sandbox mode? M-x rinari-console seems to be the only comand, and I don't know how to pass the ---sandbox flag to it. This should be simple, but my google-fu is completely failing.
Dmitri
  • 2,658
  • 2
  • 25
  • 41
0
votes
4 answers

How can I source this shell script before starting a rinari console?

In my project, we have a shell script that sets default values for some environment variables. When I try to run rinari-console, I receive an error because the script has not been sourced. Is there a way to make sure rinari sources it, so that when…
Geo
  • 93,257
  • 117
  • 344
  • 520