The 'script/console' command does not work
Bug #69797 reported by
Caleb Perkins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rails (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When running 'script/console' from any Rails application directory, the terminal window will say there is an error in the /usr/share/
irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb'
with
irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb1.8'
for Ruby 1.8 or irb1.9 for Ruby 1.9 corrects the problem.
How to reproduce:
1. Open the terminal and cd to the root of a Rails application.
2. Type script/console
To post a comment you must log in.
The 'irb' command is provided by the irb package (separate from the irb1.8 package), which is (approriately) a 'recommends' package for rails, since most rails features will function without it.