Hi,
I’m a very noob ror programer (i’ve started yesterday), but for my live,
i’ve pass all the day going up & down, and in order to have a constant
learning, i want to install ruby on rails, mysql, mysql-front, and
RadRails on a 512mb PenDrive.
I’ve followed these steps:
- Download latest RubyOnRails windows installer.
- Execute it settign the path to the desired folder into yout pend
drive (i.e: G:\DATA\RUBYONRAILS) - Go to sleep.
- When installed, type this on command:
cd <PEN_DRIVE_UNIT>
gem install rails --remote -i G:\DATA\RUBYONRAILS
- Be able to say YES to all question while sleeping.
- Download a non-installable IDE for RoR, copy the folder to the
<PEN_DRIVE_UNIT> (i.e: RadRails)
Note: When i say: go to sleep, is because the extraction / gem
installation are veeery slow because of the usb port speed.
Also, i’ve developed a little app in C# .NET 2.0 to start Mysq,
Mysql-front and RadRails.
But the dream stops here. When i open RadRails and try to create a new
Rails project, i’ve got that message:
“rails” is not an intern or exter recognized command, program…
So i’ve configured it on:
Window / Preferences / Rails / Configuration
Not enought. Now when creating a rails project… :
“ruby” is not an intern or exter recognized command, program…
Ok. I’ve gone to Window / Preferences / Ruby / Installed Interpreters
And manually added “ruby” and the path on pen drive. Now, i have this
error:
H:/RUBYONRAILS/lib/ruby/site_ruby/1.8/rubygems.rb:301:in
report_activate_error': Could not find RubyGem rails (> 0) (Gem::LoadError) from H:/RUBYONRAILS/lib/ruby/site_ruby/1.8/rubygems.rb:238:in
activate’
from H:/RUBYONRAILS/lib/ruby/site_ruby/1.8/rubygems.rb:76:in
active_gem_with_options' from H:/RUBYONRAILS/lib/ruby/site_ruby/1.8/rubygems.rb:50:in
gem’
from H:\RUBYONRAILS\bin\rails:15
from -e:3:in `load’
from -e:3
And that goes over me…
Please can anybody give me a gift or help?