similar to: IRB help

Displaying 20 results from an estimated 2000 matches similar to: "IRB help"

2013 Oct 20
1
cannot load such file -- unicode (LoadError)
I''m new to RoR and working on a migration of project developed by another team. I''m using Rails version (3.2.13) and my bundle install works successfully. However while running "rails server", I get the error below. Any suggestions are most appreciated. Thanks! -------------- rails server output --------------
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my pc. Do I need to ran something in the ruby to use MySQL? C:\>rails new MySQLRestaurant --database=mysql C:\>cd MySQLRestaurant C:\MySQLRestaurant>rails generate scaffold review poster:string date:datetime ar ticle:text C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l
2013 Mar 14
7
No Migration Files are created
I''ve been working with Rails for 3 Months now, but haven''t experienced this problem until now. I''m currently working through Micharl Hartls Tutorial and everything worked fine so far, but suddenly (chapter 11) I can nolonger create Migration Files. when entering "rails g model Name field1:type" I don''t get the usual "create db/migrate...."
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer. I put in my prompt: bundle install, and this error appears: C:\rails\organily>bundle install Fetching gem metadata from https://rubygems.org/......... Using rake (0.9.2.2) Using i18n (0.6.0) Using multi_json (1.3.6) Using activesupport (3.2.3) Using builder (3.0.0) Using activemodel (3.2.3) Using erubis (2.7.0) Using journey
2012 Aug 28
16
rail s exiting
Hello everyone, I am fairly new to ruby on rails, and I come across this tutorial on treehouse where they help you make a simple version of facebook. anyway, I was writing codes, and I came across this error and I am not sure how to fix it. The error occurs after I type in rail s on the command prompt and as soon as try to look at how it looks on 127.0.0.1:3000, it gives me this error. the
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
m sorry its a totally newbie question, but m really stuck. please help if possible. after installing everything required to run ruby on rails when i write the command ''rails s'' in the command prompt it doesn''t start the server. rather it shows : C:\Sites\railsinstaller_demo>rails s C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run
2013 Apr 16
2
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys.. i got this type of error when i configured Gemfile then what to do?* gem "thinking-sphinx" gem ''ferret'' Updating git://github.com/mark-moseley/linecache Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Using rake (10.0.3) Using ClothRed (0.4.1) Using RedCloth (4.2.9)
2012 Mar 21
2
aws-s3 gem install error- bittorrent.rb
Hello, Am running build install on an existing project and I get this error: Installing aws-s3 (0.6.2) Errno::EACCES: Permission-denied - D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/bittorrent.rb An error occured while installing aws-s3 (0.6.2) and Bundler cannot continue, make sure that gem install aws-s3 -v ''0.6.2'' succeeds before bundling.
2012 Oct 09
0
[Win7 x64] Encoding::UndefinedConversionError after installing when using gem and rails
Hello, after installing the RailsInstaller i got the following error: C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in `exist?'': "\x81" to UTF-8 in conversion from Windows-1252 to UTF-8 (Encoding::UndefinedConversionError) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in `default_path''
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
I just installed rails using Rails installer. and when I ran the following code: > rails new blog > I got the following errors: F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re quire.rb:36:in `require'': 193: %1 is not a valid Win32 application. - F:/dev/r uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro r)
2007 Jul 08
2
transform excel data into graph
Hello everyone, I have a set of data in the following form, which are stored in an Excel file: nick john peter lesson1 0.465 0.498 0.473 lesson2 0.422 0.44 0.134 lesson3 0.45 0.35 0.543 lesson4 0.590 0.64 0.11 lesson5 0.543
2013 Jan 29
0
mysql installation in Windows 7
I have Windows 7. I am trying to get the gem installed for MySQL Server 5.5 So, I get the zip file for gem from Brian Mario’s repository on github mysql2, extract it in the new mysql2-0.3.12b5 folder and start the procedure as follows. As seen below, I get the error “file ''lib'' not found” at the end. I tried many times, got the same problem. Anyone has a solution to this?
2006 Feb 23
6
irb with rails
I was trying to access rails functions (number_with_precision) from an irb session. It can''t find the method. How do I load the libraries ? TIA LS -- Posted via http://www.ruby-forum.com/.
2005 Aug 25
4
how to use ruby debugger instead of irb from script/breakpointer
Hello - I would like to use the ruby debugger instead of irb for a breakpoint enabled by script/breakpointer in order to step through some code. How do I do that? Aaron
2006 Aug 29
2
"Broken pipe" and "no such file to load -- irb"
I just switched my rails app, which I had previously been running on my pc, to my linux server and have decided to use mongrel. However, since doing so I get an error when I first access the app saying "no such file to load -- irb". After I refresh this error goes away, but I keep getting the following errors in my logs, and I''ve noticed that certains things, like sessions and
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/
2006 Mar 12
2
Find all the methods on a object in an irb session?
How can I find all the methods on an object from withing irb? Thanks, Joe
2013 Apr 16
1
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
*Hi guys.. i got this type of error when i configured Gemfile then what to do?* gem "thinking-sphinx" gem ''ferret'' Updating git://github.com/mark-moseley/linecache Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Using rake (10.0.3) Using ClothRed (0.4.1) Using RedCloth (4.2.9)
2014 Jan 19
0
gem install fileutils error
Hello Guys I'm new in Ruby so I'm now trying to install fileutils by using the command [ gem install fileutils ] note: I'm using windows 7 :( always when i trying to install it i got this error C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb checking for Ruby version >= 1.8.5... yes checking for stdint.h... *** extconf.rb failed *** Could not create Makefile due to some
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both - After bundle install when I do a rails g foundation:install I get the following: C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local variable o r method `inheritable_attributes' for ActiveRecord::Base:Class (NameError)