JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.31k stars 54 forks source link

Use RbConfig.ruby #40

Closed JoshCheek closed 9 years ago

JoshCheek commented 10 years ago
RbConfig.ruby  # => "/Users/josh/.rubies/ruby-2.1.1/bin/ruby"

Given this, we can default --shebang to RbConfig.ruby Which then implies that we can set all editor configuration to just ruby and rely on their existing env vars. (will still have to explain how to make the ruby_executable, if this doesn't work for them)

JoshCheek commented 9 years ago

Done on v3 branch https://github.com/JoshCheek/seeing_is_believing/commit/36f0abe5640b3892a727839d23e7de2178fb4754