irb
curb + mechanize = segfault?
I get the following output from irb (v 0.9.5) when I require mechanize and then curb: $ irb >> require \'mechanize\'[详细]
2023-02-20 13:14 分类:问答automatically load project's environment to irb
Rails has useful command rails console, which downloads all necessary data and then we can interact with rails project in irb. Is there the same technique for Ruby project (built on Ruby language)? By[详细]
2023-02-19 19:35 分类:问答Can not find gems running "ruby <my_script>.rb" – but works in IRB
I am experiencing issues when I am trying to run my .rb-file with the Ruby-command trying to access a gem. The gem i am trying to use is Ruby-Whois. I have an example script below that when I try to e[详细]
2023-02-14 03:45 分类:问答Problem with keyboard mappings using IRB and Rails Installer under Windows
I\'m having a problem setting up the Rails Installer package under Windows - when IRB has been fired up, it seems to zap the default keyboard mappings which breaks the backspace function.[详细]
2023-02-13 18:31 分类:问答Run ruby IRB for Ruby on rails from Aptana studio and/or radrails?
I was a happy Ruby on Netbean开发者_如何学Cs (6.9) user until I learned that NB (Oracle) will no longer be supporting Ruby, in future releases.So, I\'m trying out Aptana w RadRails plugin. so far the[详细]
2023-02-12 20:37 分类:问答Is there another location Rails is looking for my irbrc config?
I have my .irbrc located in my ~/.irbrc. I noticed that when I run \'rails console\' on a Rails 3.x application, it says that its looking for a gem.[详细]
2023-02-10 10:19 分类:问答Why isn't current directory on my Ruby path? [duplicate]
This question already has answers here: Why does Ruby 1.9.2 remove "." from LOAD_PATH, and what's the alternative?[详细]
2023-02-10 01:42 分类:问答Ruby Equivalent of Python "_"
In Python, you can use the _ field to grab the last computed value. That\'s really useful in IDLE. Does Ruby have an equivalent for IRB?[详细]
2023-02-07 03:32 分类:问答Weird problem with Ruby marshal module
This is a weird issue. I have a mashalled object(cookie), an array with 2 objects which has been base64 encoded. I decode this using decode64 and marshal.load it and get the array back fine.[详细]
2023-02-05 05:40 分类:问答How to suppress Rails console/irb outputs
I was testing some DB entries in our produ开发者_如何学编程ction server in Rails Console where almost all the commands were producing a huge number of lines of output and causing the ssh channel to ha[详细]
2023-02-04 23:51 分类:问答