I am getting following error while remote debugging through RubyMine IDE. $ bundle exec rdebug-ide –port 1234 — script/rails server Fast Debugger (ruby-debug-ide 0.4.9) listens on :1234 /home/amit/.rvm/gems/ruby-1.9.3-p125/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug-ide.rb:123:in `debug_load’ /home/amit/.rvm/gems/ruby-1.9.3-p125/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug-ide.rb:123:in `debug_program’ /home/amit/.rvm/gems/ruby-1.9.3-p125/gems/ruby-debug-ide19-0.4.12/bin/rdebug-ide:87:in `<top (required)>’ /home/amit/.rvm/gems/ruby-1.9.3-p125/bin/rdebug-ide:19:in `load’ /home/amit/.rvm/gems/ruby-1.9.3-p125/bin/rdebug-ide:19:in `<main>’ Uncaught exception: cannot load such file — script/rails I followed this link to install require gems for […]
First I have a file derived from the last command in Linux. But I have hard time to figure out how to extract and sort every IP address and last command for each user. This actually how the file looks like: frank pts/5 188.8.131.52 Thu Dec 13 21:47 still logged in enha pts/3 184.108.40.206 Thu […]
I am trying to create a voting picture system on rails 3. What I would like to have happen is have two pictures, and have people on the site vote for which one they like more. I know they have a thumbs_up gem, which creates a voting system quickly. Is there a way to either […]
Is there any ruby gem which can be used to see Facebook post in rails app, also allows to post through rails app. I tried this gem http://www.sitepoint.com/ruby-social-gems-facebook/ but it is not showing facebook page post.
How can I make an index route/action to see all the tags that I’ve created!, I’m using the gem at https://github.com/mbleigh/acts-as-taggable-on Thanks.
I’m working in a new Rails engine and I need to restart it while testing. Of I try Dummy::Application.initialize! it do not work because the application was already initialized, so Rails returned the same instance. I need to do so my engine after_initialize block runs again>
I would like to take information from another website. Therefore (maybe) I should make a request to that website (in my case a HTTP GET request) and receive the response. How can I make this in Ruby on Rails? If it is possible, is it a correct approach to use in my controllers?
I am using the gem savon to read a xml, brought the results correctly. When I show in my view all fields of xml it shows correctly, but when I want to show only one of these fields it of the error. “” I put down my code. class Code < ActiveRecord::Base attr_accessor :strDataInicial, :strDataFinal […]
I need to compare 2 different files and show the difference between those two files. I looked it up online and got this answer from https://github.com/samg/diffy but i am getting this error message NameError: uninitialized constant Diffy from (irb):11 from /usr/bin/irb:12:in `<main>’ Has someone already encountered this problem before? THX
i was wondering if exist a gem which in development env display render path of file (layout, view, partials..) at the top of each html example: find me in /posts/show.html.erb i’m working co-op with a designer (with 0 rails skills) and it’s our first project if not exist a gem like this, how can display […]