similar to: Syntax highlighting in IRB || Script/Console

Displaying 20 results from an estimated 500 matches similar to: "Syntax highlighting in IRB || Script/Console"

2010 Sep 20
2
For Your Own Info: Rails 2.3.2 is incompatible with Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17)
Railers, I am running an application on Rails 2.3.2. For some reason within our organization, we wish to remain on this version of Rails. For BDD/Testing, we use Cucumber. So I installed Cucumber (0.8.5), Capybara (0.3.9) and Selenium-webdriver (0.0.17). But when I run Cucumber on any feature, I get an error saying *" wrong number of arguments (2 for 1) (ArgumentError)"*, (Check here
2010 Aug 22
5
Help me... how to convert amchart to pdf
Hi Guys I need help.. I want to making 1 controller for covert html to pdf.. But that html have amchart (swf). When I tried convert, the swf not loadded... Any body can help me Please???? -- Senior Rails Developer Anton Effendi - Wu You Duan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2009 Sep 30
5
A rails plugin to generate css sprite image automatically
Hi guys, I have written a rails plugin/gem to generate css sprite image automatically. The project repository is here: http://github.com/flyerhzm/css_sprite It is based on RMagick and you need only define a rule from what source images to a destination image, as follows: forum_icon_vertical.gif: # destination image file sources: # source image file list - good_topic.gif
2009 Nov 03
1
Gem::RemoteFetcher::FetchErro when installing rails
I am trying to install rails on Ubuntu 8.10, and met following errors. Please help me get through.Thanks. root@pierr-desktop:~# gem install rails ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response 500 (http://gems.rubyforge.vm.bytemark.co.uk/gems/actionpack-2.3.4.gem) #other information root@pierr-desktop:~# ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
2012 May 16
0
Announce: Puppet 2.7.15rc1 Available
Puppet 2.7.15rc1 is a maintenance release candidate for Puppet in the 2.7.x series. Downloads are available at: * Source http://downloads.puppetlabs.com/puppet/puppet-2.7.15rc1.tar.gz RPMs are available at http://yum.puppetlabs.com/el or /fedora Debs are available at http://apt.puppetlabs.com Mac packages are available at http://downloads.puppetlabs.com/mac/puppet-2.7.15rc1.dmg See the
2009 Nov 03
0
Gem::RemoteFetcher::FetchError error when do gem install rails
I am trying to install rails on Ubuntu 8.10, and met following errors. Please help me get through. The same error happens when do gem install heroku. Thanks for your help. root@pierr-desktop:~# gem install rails ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response 500 (http://gems.rubyforge.vm.bytemark.co.uk/gems/ actionpack-2.3.4.gem) #other information
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end: Finished in 0.000276 seconds. 0 tests, 0 assertions, 0 failures, 0 errors My Gemfile is: source ''http://rubygems.org'' gem ''rack'' gem ''rails'', ''3.0.9'' gem "acl9", ''0.12.0'' gem "fastercsv"#, :version =>
2010 Jun 14
2
stylesheet_link_tag
I know that the following statement loads the scaffold stylesheet, but what exactly does stylesheet_link_tag do here? <%= stylesheet_link_tag ''scaffold'' %> Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2012 Oct 17
1
IronRuby igem not working
Hi All, When trying to download the following gems from the cucumber wiki page, I get the following error: https://github.com/cucumber/cucumber/wiki igem install cucumber ?no-ri ?no-rdoc igem install iron-term-ansicolor ?no-ri ?no-rdoc ERROR: Could not find a valid gem ''slimgems'' (>= 0) in any repository ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
2010 Sep 07
1
unicorn_rails and rails 2.3.8
First off, I love unicorn. Thanks to all who have worked on it. For the first time, I am trying to run a rails 2.3 app with unicorn. I don''t understand what is not set correctly. I have rails 2.3.8 and dependencies installed. I am sure it is something simple.... See output below. Much thanks! Matt config/environment.rb ... RAILS_GEM_VERSION = ''2.3.8'' unless defined?
2009 Jun 19
4
sqlite3....Ugghhh`
Hi all, I have been reading and trying all the google links/forums for 2 nights now on how to fix my issue with getting sqlite3 installed so I can use rails. Im running SLED 11. plese help! thank you! $ uname -a Linux linux-7lbv 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux $ gem install sqlite3-ruby Building native extensions. This could take a while... ERROR:
2010 Dec 08
1
Help on install act_as_ferret on windows XP
Hi There! Im trying to install act_as ferret on win xp, with this environment: winXP ruby : 1.8.7 rails: 2.3.8 gem list: abstract (1.0.0) actionmailer (3.0.1, 2.3.8, 1.3.3) actionpack (3.0.1, 2.3.8, 2.3.2, 1.13.6, 1.13.3) actionwebservice (1.2.6, 1.2.3) activemodel (3.0.1) activerecord (3.0.1, 2.3.8, 2.3.2, 1.15.6, 1.15.3) activeresource (3.0.1, 2.3.8) activesupport (3.0.1, 2.3.8, 2.3.2, 1.4.4,
2010 Sep 23
1
undefined method `protect_against_forgery?' for #<ActionView
Hi guys This is a pretty tricky one. I get a "undefined method `protect_against_forgery?'' for #<ActionView::Base:0x569a3d4>" error when trying to generate a partial from ''outside'' the web site. I do this as I have a rake task that checks for changes periodically in the background, and if it then sees a change it rebuilds the partial and posts the result
2011 Nov 02
3
form_for text_field
I have a form ... html ..... <% form_for @person do |f| %> ... html ..... <%= f.text_field :last_name %> ... html ..... <% end %> When last_name field of @person doesn''t contains french special symbols like ''é'', all characters are displayed in the input control (f.text_field :last_name ). Else only symbols before french special symbol are
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All Need some brilliants minds here :) I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... ) I''ve move my gems from .gems to Bundler, but I''m having some issues with Factory_girl when I rake spec "uninitialized constant Factory" I''m following the instructions from http://gembundler.com/rails23.html. Basically: - grab all config.gem and place
2009 Jul 20
9
rake error
When I run rake test:units I get this error: 292 tests, 350 assertions, 2 failures, 13 errors rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/ usr/loc...] This error just showed up yesterday --- I have no idea how I caused it. Here is my gem list in case that helps: actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2)
2010 Aug 31
6
ajax and partials
Hello all, I am still very new to programming and wonder if I could get some help. I have tried to figure this out myself but still having trouble with some of the concepts. I’ll do my best to explain the problem and include the code. I may be completely off track, so ANY direction offered would be deeply appreciated. I have a question model / object which consists of a question, answers, and
2012 Feb 14
6
cannot load such file -- openssl (again)
This problem has been discussed a number of times, but none of the given solutions seems to work for me. Problem: Trying to generate the infrastructure for testing with Cucumber gives the following error ~/.../OTK-register$ rails generate cucumber:install /home/tpollak/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in
2006 Jun 13
0
script/console and IRB readline failure
Long input lines are confusing the readline on my script/console and irb sessions. I hit back-arrow and suddenly the cursor goes up to the next line. Thereafter the previous-line fails to work, giving me just an ampersand (&) instead of the previous line to re-edit. WinXP SP2. Warren Fred -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 23
2
Using fixtures from IRB
Folks, I have the standard setup with auto-generated unit tests and fixtures. I edited the fixtures and the tests but would now like to test associations from irb. How do I do this? I''m not sure how to load my fixtures into irb, for example. Once they are loaded I would create objects, save them to the db and pull things out. Thanks, Joel -- http://wagerlabs.com/