Download the integration pack: http://railsinstaller.org/en the rest of the little things other tutorials can also be found, here is not much to say.
After installation, open the Rbreadline.rb file under ruby2.1.0\lib\ruby\site_ruby\2.1.0 in the installation directory, which can be opened using Notepad. Then change require ' DL ' to require ' findle '
Open the command line and execute the following command
$ gem Sources--remove https://rubygem
In my previous blog post, I documented how Ruby operates the environment configuration of the MongoDB database in a Windows environment. The last step describes the driver package for installing MongoDB. Using the Gem Online installation method. The purpose of this article is to use GEMS for offline installation of GEM kits when the target machine or environment cannot connect to the Internet.1. in the http
Discover SharpDevelop also supports Ruby, especially if you can directly use the WinForm control directly in the require"mscorlib"require"System.Windows.Forms, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089"require"System.Drawing, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a"classMainForm defInitialize () Self. InitializeComponent ()EnddefInitializeComponent () @button1 = System::
Conversion from Baidu -- dk
Gem often encounters installation or upgrade in Windows
Please update your path to include build tools or download the devkitfrom 'HTTP: // rubyinstaller.org/downloads' and follow the instructionsat 'HTTP: // github.com/oneclick/rubyinstaller/wiki/development-kit'
This is because devkit is not installed.
In this case, you need to download the devkit package. When I was downloading
This article mainly introduces the Ruby connection using Windows SQL Server database code instance, this article directly gives the implementation code, and gives two implementations and Access database implementation code, the need for friends can refer to the
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 This is the
require ' win32ole ' class SQL Server # This class manag
Ruby connection uses the SQL server database code instance in windows, rubysql
require 'win32ole'class SqlServer # This class manages database connection and queries attr_accessor :connection, :data, :fields def initialize @connection = nil @data = nil end def open # Open ADO connection to the SQL Server database connection_string = "Provider=SQLOLEDB.1;" connection_string
The test code
1. Ruby's most powerful web framework Ruby on Rails. So you can install Railsinstaller directly.Address: http://www.railsinstaller.org/en. The installation process is checked by default to add an environment to path.2. Change the gem image to http://ruby.taobao.org/$ gem Sources--remove https://rubygems.org/$ gem sources-a https://ruby.taobao.org/ $ gem Sources-L* * * * Current SOURCES * * *https://ruby.taobao.org Install Rails3. Installation of RI
In the previous essay Ruby on Rails development from scratch (Windows) (ii)-Create project and first Hello World, we described how to use instantrails to create a project and write a simple HelloWorld page, Today on the basis of the last, write a simple page jump.
1. Change the contents of the Say_controller.rb file in the Appcontrollers directory to the following:
Class Saycontroller
We see that compa
Tags: mysql gem ruby xampp windowsYou may need to generate LIBMYSQLCLIENT.A from Libmysql.dll before: sourceCD C:\xampp-1.8.3\mysql\libC:\DevKit-tdm-32-4.5.2-20111229-1559-sfx\devkitvars.batPexports.exe Libmysql.dll > Libmysql.defSource: C:\strawberry\c\bin\pexports. EXE Fortunately installed Perl, or do not know where to find this pexports tool under theDlltool--input-def libmysql.def--dllname libmysql.dll--output-lib libmysqlclient.a-kC:\redmine-2.6
In the previous Ruby on Rails development from scratch (Windows) (iii)-Implementation of the jump between pages, we created two pages for the jump migration, this time we write a single form of maintenance of the TIM Delete Check the example.
1. This time we recreate a project depot, and follow the steps in the previous article to create a depot project.
2. Create a database.
You can use the Rails comman
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.