Installed rubyinstaller-1.8.7-p358.exe, then tried to install jammit, but the config.gem command isn’t being recognized. Interestingly I have no file called environment.rb on my drive.
Also I’ve never used ruby 😀
H:\>gem install jammit Fetching: Platform-0.4.0.gem (100%) WARNING: Platform-0.4.0 has an invalid nil value for @cert_chain Fetching: open4-1.3.0.gem (100%) Fetching: POpen4-0.1.4.gem (100%) Fetching: yui-compressor-0.9.6.gem (100%) Fetching: jammit-0.6.5.gem (100%) Successfully installed Platform-0.4.0 Successfully installed open4-1.3.0 Successfully installed POpen4-0.1.4 Successfully installed yui-compressor-0.9.6 Successfully installed jammit-0.6.5 5 gems installed Installing ri documentation for Platform-0.4.0... Installing ri documentation for open4-1.3.0... Installing ri documentation for POpen4-0.1.4... Installing ri documentation for yui-compressor-0.9.6... Installing ri documentation for jammit-0.6.5... Installing RDoc documentation for Platform-0.4.0... Installing RDoc documentation for open4-1.3.0... Installing RDoc documentation for POpen4-0.1.4... Installing RDoc documentation for yui-compressor-0.9.6... Installing RDoc documentation for jammit-0.6.5... H:\>config.gem "jammit" 'config.gem' is not recognized as an internal or external command, operable program or batch file. H:\>
First you need to create a Rails app before you can do:
config.gemis not a command rahter it is an entry in theenvironment.rbfile.To create a rails app go to your source folder and do:
It will create a barebones rails app in a folder with the name that you chose for the app. Inside that folder you will find a config folder and in that folder you will see ‘environment.rb`