User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Ruby section within the Web Development category of DaniWeb, a massive community of 391,667 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,932 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Ruby advertiser: SELL YOUR PRODUCT TODAY !
Views: 3110 | Replies: 2
Reply
Join Date: Aug 2006
Location: me::house
Posts: 908
Reputation: linux is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 23
linux's Avatar
linux linux is offline Offline
Posting Shark

Portable Ruby and one more question

  #1  
Mar 17th, 2007
1) Is it possible to install Ruby (the compiler) onto a flashdrive and run it on another machine without adding the registry edits? Is there like a portable copy of the compiler that I can use? I need Ruby at school, but I can't install anything.


2) I think my Ruby is dead. I try to run a really simple program and Ruby hangs whenever I use gets()... For example:

name = gets("What is your name? ")
puts name

Inputted in SciTE makes the command line for Ruby pop up, then it freezes, only to let me exit Ruby and continue working. I can use puts() and other commands fine. What is wrong I NEED RUBY TO WORK!
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2006
Location: me::house
Posts: 908
Reputation: linux is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 23
linux's Avatar
linux linux is offline Offline
Posting Shark

Re: Portable Ruby and one more question

  #2  
Mar 18th, 2007
Hmm... I got both of them fixed, with a little work. I copied the whole directory for Ruby onto my flashdrive, and it works! And for the other, it was SciTE that was hanging it.
Toshiba M1151.49 GB DDR-2 RAM1.6 GHz Centrino Duo80GB HDDWindows XP Media Center Edition
Reply With Quote  
Join Date: Oct 2005
Location: Manchester, UK
Posts: 481
Reputation: pty is on a distinguished road 
Rep Power: 3
Solved Threads: 31
pty's Avatar
pty pty is offline Offline
Posting Pro in Training

Re: Portable Ruby and one more question

  #3  
Mar 19th, 2007
Originally Posted by linux View Post
Hmm... I got both of them fixed, with a little work. I copied the whole directory for Ruby onto my flashdrive, and it works! And for the other, it was SciTE that was hanging it.


Afraid I never tried to run Scite from a flash drive. Have you tried Notepad++? When I was at uni I ran that from my flash cos the text editor installed on the Windows workstations was annoying (so bad that most people just used notepad).
Note to self... pocket cup
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Ruby Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Ruby Forum

All times are GMT -4. The time now is 1:55 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC