Hello, I'm trying to install Rails (command: gem install rails) after I
instaled Ruby in to Windows. Unfortunately, I encounter this error
message (temporary disc space is set in to C: HDD):
ERROR: While executing gem ... (Errno::ENOSPC)
No space left on device -
H:/.gem/specs/gems.rubyforge.org%80/quick/Marshal.
4.8/rails-2.3.5.gemspec
What to do? How successfully run this command? Thanks
H: is some network drive which I could access only in specific location
(I'm not there right now). Additionally - it has only few megabytes of
free space. In result I can't use H: as my temporary drive for rails
instalation.
I would like to force gem to choose C: as a temporary drive, but HOW...
which command to use? I didn't find anything usable in gem helps.
Hi Rajeev, thanks. You helped me a lot. Now I have running Instant
Rails, but how to force it to work together with some IDE (Aptana,
Netbeans)? Error messages like "wrong gems, cannot launch mongrel server
etc." appear when I'm trying to run sample application inside these
tools.
I disagree there are some very very good editors for Rails, and having
rails and ruby directly installed instead of using instant rails is
way better option.
Jan,
You should try rubymine, is a great editor for the installation
problem you where having what version of windows are you using ?
Hi Rajeev, thanks. You helped me a lot. Now I have running Instant
Rails, but how to force it to work together with some IDE (Aptana,
Netbeans)? Error messages like "wrong gems, cannot launch mongrel server
etc." appear when I'm trying to run sample application inside these
tools.
I am using Netbeans all the time, but never come to mind using build in
application server.
I simply start DOS (command) window, cd to root directory of your app
and run:
ruby script\server
This will run webrick or mongrel if it is installed.
Hello guys, thanks for all your advices, I really appreciated them. I
decided to stay with Notepad++ as an editor for now. I moved forward,
but...
I created my own application directory (command: rails myapp) and I can
see ruby welcome page when I put localhost:3000 in to browser. Now, I
don't know how to force ruby to take in to mind my .rb file with sample
code (puts "Hello world!") which I saved in to myapp directory
structure. Sorry for really newbie question, but I've just started.